Edit Links |
Mac /
LyX for Mac OS XThis is a HOWTO for LyX/Mac, a full-featured native implementation of LyX on the Mac OS X.
This document is based on LyX/Mac 1.4.0 or greater; if you are using an earlier version, the upgrade is easy to install and offers considerable new functionality. If for some reason you want to stick with an earlier version, you may want to look at this page devoted to LyX/Mac-1.3.x. New users of LyX/Mac may want to follow the (somewhat outdated) Walkthrough. New!2008/11/14: LyX-1.6.0 has now been released as a Universal binary. And LyX-1.5.7 has been released as the final release of the 1.5 series. LyX-1.5.7 can open files saved in the LyX-1.6 file format. DownloadLyX/Mac is available as a binary for Mac OS X 10.3.9 and later. (Note additional prerequisites below.) The download page is here. LyX/Mac is also available via fink as a native program and in an X11 version, although fink's releases are probably of earlier versions than the ones listed above. If you prefer to build LyX/Mac yourself, instructions are included in the LyX source. Note: All users should run the LyX Installer.app included with the LyX/Mac binary distribution. (On multi-user systems, the script needs to be run once in each account.) The script will clean up old versions of preferences files and remove old fonts, which are no longer needed for LyX/Mac 1.3.4 and greater. It also moves your LyX user's directory to ~/Library/Application Support/LyX-1.5, where it is more easily accessed should you need to add or modify .bind files or templates, for example. (See Known Issues below for a potential pitfall here.)
Users new to LyX/Mac may find useful this installation walkthrough for help installing teTeX. A French tutorial is also available. For users who prefer emacs-like modifier key bindings, there is additional information on customizing these keys, including patched binary versions. Notes on LyX-1.6LyX-1.6 is a significant upgrade; you might want to look at this overview of changes in LyX-1.6 generally. In addition to these changes to LyX generally, there have been a few changes to LyX/Mac. In particular:
PrerequisitesYou need a TeX installation. There are four options for this:
To use other implementations of teTeX which do not install the binaries in NOTE: If you wish to use xFig generated fig files with latex commands in Lyx, then use the i-Installer to install xFig (and its required packages). Remember to reconfigure Lyx after the installation. Change Language of LyX's Menus and DialogsTo change the GUI language, you'll need to modify your Useful Helper ProgramsPreviewersLyX/Mac uses the system default viewers, and should require no configuration for PDF and HTML. If you have MacDviX or MacGhostView installed, LyX will use them to preview DVI and Postscript. Another good previewer for .dvi, .ps, and .pdf files is TeXShop, which is also an excellent stand-alone TeX editor. Although it's still in beta, TeXniscope is a fine, free DVI viewer. To specify a non-default GUI viewer use
open -a app-name or open -a 'Application Name' in Preferences -> Outputs -> File formats -> filetype -> Viewer.
Spellcheckers
Bibtex tools
EnvelopesTo print envelopes, install envelope in /usr/local/bin and make it executable. While you're writing a letter in LyX, do File -> Export -> Custom -> ASCII and give OmniGraffle converterOmniGraffle 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). As it doesn't have a command line mode, you can use an AppleScript in order to insert ".graffle" files directly into LyX.
Beyond basicsMore on PreviewingFor on-screen preview of math with latex-preview (as in the screenshot), make sure you have ghostscript installed and set the Instant Preview option under Preferences -> Look & feel -> Graphics. Interaction with X11. Xfig or X-windows previewers like xdvi or gv can be used with LyX/Mac if you modify your Reverse DVI search, which allows the cursor in LyX automatically to jump to the point where you OPTION-click (ALT-click) in the previewed DVI file, can be enabled with recent versions of teTeX and MacDviX or xdvi:
(Modify as needed if you install LyX somewhere other than the Applications folder.)
PdfSyncPdfSync is similar to reverse DVI search but is for the (now more common) method of directly producing pdf files. If you use the program Skim as your previewer you can COMAND-SHIFT-click in the previewed pdf file which causes the cursor to move to that point in LyX.
XeTeXXeTeX is "a typesetting system based on a merger of Donald Knuth's TeX system with Unicode and Mac OS X font technologies." In other words, it will let you use any of your standard Mac OS X fonts with TeX/LaTeX. For more information, check out the LyX/Mac XeTeX page. Version ControlVersion control is useful for managing large documents, or documents with multiple authors. In order to implement it, you need to have RCS (Revision Control System) installed. This is a standard part of Xcode. The simplest way to get version control working, is to install the Xcode Tools package contained on the OS X install DVD. See the Mac Version Control page for more information. PipesBibDeskThere is now a newly modified version of Mark Reid's SendToLyX.scpt to allow BibDesk to send bibliographical citations to LyX. To use it, download the file to your disk, and move it to Name in Path Problem (JabRef)Programs such as JabRef communicate with LyX via pipes, which are sometimes named incorrectly by default (e.g., they assume that the pipe is in a directory that has a space in its name, such as To fix the LyX pipe in JabRef, open JabRef and go to Then open LyX, go to The next time you run LyX and JabRef, you should be able to push citations directly from your BibTeX bibliography in JabRef into LyX. If anything goes wrong, JabRef will return an error message, and you will have to redefine the pipe. You might try the following: (1) change the LyXServer path in LyX -> Preferences -> Paths back to Known issues
Please report any other bugs to the appropriate LyX mailing list. A web gateway is also available. The information on this page is believed to be accurate, has been used successfully on many systems and sites, and has benefited from the comments and suggestions of many users. Due to the variations in individual systems, this information and the various files and code available on this page are conveyed as is with no warranty of any kind. More informationThis group contains the following pages:
Categories |