

However, some set-up is needed before this functionality is available.īy default, LyX will generate PDF files. LyX allows, using a suitable viewer such as Skim.app, to navigate quickly between a particular place in a LyX document to the corresponding place in the rendered PDF document (forward search) and from a particular place in the PDF back to the corresponding place in the LyX document (reverse or inverse search). If you want to change these values later, you should come to the same screen, select this converter, change the parameters in the converter box, and click Modify before leaving this screen.īeyond basics PdfSync and SyncTeX - Forward Search and Reverse Search If you open a new file containing PDF graphics, they should be much better looking and crispier now. When you finish setting these parameter, click Add button next to the top converters list (if not, you will loose the new converter), then click Save.

You can also increase the resampleWidth value if the generated bitmaps look too small on your screen (please first check that Lyx shows them at 100% of their size). Sips -resampleWidth 600 -setProperty format png $$i -out $$o We will first change the EPS item on the right to PNG (you should have this possibility in the combo that opens when you click on EPS), and change the converter command as consequence, by replacing the complete psdtopdf. When you choose this item, the bottom boxes are filled and you can read a command that starts with pdftops. Here we will use the PDF (graphics) ->EPS item as a template. To create this converter, you should open the Preference menu item in the LyX menu, and go to the File handling tab, then the Converters item. A quicker and better solution would be to include a converter that uses the sips program that comes with OSX (it is a command line tool that you can use in the Terminal for converting a graphic file between different formats). Lyx converts PDFs to PNG to show them in this window, and the default conversion method can choose quite a low definition for these bitmaps. When you include a PDF graphic in a LyX file, it will appear crisp in the typeset PDF file of your document, but the version you see in the LyX window can be quite ugly. This problem will hopefully be solved in the future (see this bug for details).

OmniGraffle -> EPS converter: osascript replace/with/path/to/og-export.scpt `pwd`/$$i `pwd`/$$o eps.OmniGraffle -> PDF (ps2pdf) converter: osascript replace/with/path/to/og-export.scpt `pwd`/$$i `pwd`/$$o pdf.In order to use it, go to LyX preferences, add an OmniGraffle file format (just type auto for the editor), and then add converters:.Put og-export.scpt somewhere on your disk (e.g.As it doesn't have a command line mode, you can use an AppleScript in order to insert ".graffle" files directly into LyX.
#LATEX FOR MAC OS X MAC OS X#
OmniGraffle is a great software for creating diagrams under Mac OS X (in particular, it works very well with LaTeXiT so that you can easily insert math formulae into diagrams).
