For figures in the book that include LaTeX, it is no longer possible
to use psfrag (since it doesn't work with pdflatex). This is a bit of
a problem since the alternative to embed the LaTeX as part of the PDF
may result in a variations in font sizes throughout the book depending
on what is used when the figure is generated.

The good news is that this has been solved in the latest version of
Inkscape. Short instructions (that should be followed for all figures
in the book that embed LaTeX):

1. Upgrade to Inkscape 0.48 (available in Ubuntu 10.10, maybe earlier)

2. Read instructions:

  
http://wiki.inkscape.org/wiki/index.php/Release_notes/0.48#New_LaTeX_export_for_PDF.2FEPS.2FPS
  http://mirror.ctan.org/info/svg-inkscape/InkscapePDFLaTeX.pdf

3. Just type regular LaTeX in Inkscape (font and size does not
   matter), including $$

4. Replace all calls to

  \includegraphics[width=\largefig]{chapters/foo/pdf/figure.pdf}

by

  \def\svgwidth{\largefig}
  \import{chapters/foo/pdf/}{figure.pdf_tex}

Works like a charm.

--
Anders

_______________________________________________
Mailing list: https://launchpad.net/~fenics-authors
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~fenics-authors
More help   : https://help.launchpad.net/ListHelp

Reply via email to