From: Peter Davis <pfd@pfdstudio.com>
To: Eduardo Mercovich <eduardo@mercovich.net>
Cc: emacs-orgmode@gnu.org
Subject: Re: Graphics to HTML, LaTeX/PDF and DocBook?
Date: Thu, 13 Oct 2016 10:35:55 -0400 [thread overview]
Message-ID: <1476369355.2751508.754854177.7C08CEB0@webmail.messagingengine.com> (raw)
In-Reply-To: <87inswjq0s.fsf@biologica.mercovich.net>
On Thu, Oct 13, 2016, at 10:13 AM, Eduardo Mercovich wrote:
> Hi Peter.
>
> >> > I have a document with a number of embedded dot graphics [...]
>
> > I've decided to bite the bullet and install InkScape. However, I'm
> > having a hard time figuring out how to integrate this with org-mode.
> > [...]
>
> I export from Inkscape to pdf and include the pdf file. Would that work
> for you?
>
> HTH...
Hi, Eduardo,
I'm creating the SVGs right in org-mode, using GraphViz dot, like this:
#+BEGIN_SRC dot :file mygraph.svg :cmdline -Kdot -Tsvg
...
#+END_SRC
org-mode then passes this through Inkscape with the command:
inkscape -z -C -f./mygraph.svg -A./mygraph.pdf --export-latex
This appears to be working, as I'm getting a .pdf_tex in the same
directory as my org file. However, LaTeX's \includesvg{} seems unable to
find the .pdf_tex file.
Interestingly, I managed to get the document to output to PDF by
manually running the inkscape command on each of the svg files. org-mode
seems to be trying to do this, but for some reason it's not working.
Now, however, my text doesn't fit in the boxes. I wonder if there's a
way to make it all \footnotesize in the .pdf_tex files.
Thanks,
-pd
--
Peter Davis
www.techcurmudgeon.com
next prev parent reply other threads:[~2016-10-13 14:36 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <19e18ad2e24f40e5b94d6f695f1d9910@HE1PR01MB1898.eurprd01.prod.exchangelabs.com>
2016-10-04 13:40 ` Graphics to HTML, LaTeX/PDF and DocBook? Eric S Fraga
2016-10-04 16:19 ` Peter Davis
2016-10-13 14:13 ` Eduardo Mercovich
2016-10-13 14:35 ` Peter Davis [this message]
2016-10-18 15:13 ` Eduardo Mercovich
2016-10-18 17:12 ` Peter Davis
2016-10-04 13:03 Peter Davis
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1476369355.2751508.754854177.7C08CEB0@webmail.messagingengine.com \
--to=pfd@pfdstudio.com \
--cc=eduardo@mercovich.net \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).