open -a app-name
or open -a 'Application Name'
in Preferences -> Outputs -> File formats -> filetype -> Viewer.envelope
as the command; it will parse the address from the letter and print an envelope, including the USPS barcode.$HOME/Library/Scripts/
).auto
for the editor), and then add converters:OmniGraffle -> PDF (ps2pdf)
converter: osascript replace/with/path/to/og-export.scpt `pwd`/$$i `pwd`/$$o pdf
OmniGraffle -> EPS
converter: osascript replace/with/path/to/og-export.scpt `pwd`/$$i `pwd`/$$o eps
OmniGraffle -> PNG
converter: osascript replace/with/path/to/og-export.scpt $$i $$o png
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). 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. Here we will use the PDF (graphics) ->EPS
item as a template. When you choose this item, the bottom boxes are filled and you can read a command that starts with pdftops...
in the converter box. 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...
command by:sips --resampleWidth 600 --setProperty format png $$i --out $$o
resampleWidth
value if the generated bitmaps look too small on your screen (please first check that Lyx shows them at 100% of their size). 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
. If you open a new file containing PDF graphics, they should be much better looking and crispier now. 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.open -a Skim.app $$i
in the viewer setting. Then click Save.usepackage{pdfsync}
in the preamble of your LyX files.~/MacOSX/environment.plist
file. For details, see the environment.plist page. Alternatively, you can change the viewer for postscript or dvi with DISPLAY=:0.0 gv
or DISPLAY=:0.0 xdvi
. Note that X11 must be running first for either of these to work.Application Support
, but other programs often cannot deal with spaces in paths). You may need to fix the lyxpipe path in both LyX and JabRef in Mac OS X.Preferences>External Programs
and in 'Path to LyX pipe' enter /Applications/LyX.app/Contents/Resources/lyxpipe
. Close JabRef.LyX>Preferences>Paths
, and in 'LyXServer pipe' enter /Applications/LyX.app/Contents/Resources/lyxpipe
. Reconfigure. Close LyX.~/.lyx
; (2) recreate the ~/.lyx
directory by entering in a terminal session, 'mkdir ~/.lyx
'; and (3) restart LyX.