4

Do you know how to export an Artist-mode drawing using the Org-mode export feature?

  • Unfortunately, I don't know that, but whenever I need to do some vector graphics in Org, and then export that to PDF, I use Tikz LaTeX package. Of course this is different from ASCII art, but maybe that's what you actually wanted? PS. If I had to export artist-mode drawing, I'd just make it a verbatim latex environment. – wvxvw Jul 19 '15 at 11:43
  • Org mode supports ditta export, which is a particular case of ascii art. – Juancho Jul 19 '15 at 20:07
4

You can use "example blocks" to do this... Example blocks are small pieces of document that are outputted literally in monospaced text, regardless of export mode.

You can create these easily by typing "<e" in an Org mode buffer and then hitting [Tab] like this:

If you put your cursor in the block and hit C-c ', you can get into a dedicated buffer to edit the contents of the block. In here you can M-x artist-mode and draw something. I'm not much of an artist, but you should see a buffer like so:

Hit C-c ' again when you are done and your buffer should now have your art in it:

Add some header arguments to set up your LaTeX export:

C-c C-e to export like you usually would.

And voila! You have a PDF you can donate to your local art museum to capture the hearts of your many dedicated fans and bring tears to critics' faces!

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.