Preview-latex - GNU

2y ago
23 Views
2 Downloads
364.48 KB
49 Pages
Last View : 15d ago
Last Download : 2m ago
Upload by : Axel Lin
Transcription

preview-latexA LaTEX preview mode for AUCTEX in Emacs.Version 12.3, 2020-10-10Jan-Åke LarssonDavid Kastrup and others

This manual is for preview-latex, a LaTEX preview mode for AUCTEX (version 12.3 from2020-10-10).Copyright c 2001, 2002, 2003, 2004, 2005, 2006, 2017, 2018 Free Software Foundation, Inc.Permission is granted to copy, distribute and/or modify this document underthe terms of the GNU Free Documentation License, Version 1.3 or any laterversion published by the Free Software Foundation; with no Invariant Sections,no Front-Cover Texts and no Back-Cover Texts. A copy of the license is includedin the section entitled “GNU Free Documentation License.”

iTable of Contentspreview-latex . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1Copying . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31.11.21.31.41.51.61.7What use is it? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3Activating preview-latex . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3Getting started . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3Basic modes of operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4More documentation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4Availability . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5Contacts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52Installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63Key bindings and user-level lisp functions . . . . 74Simple customization . . . . . . . . . . . . . . . . . . . . . . . . . . 115Known problems . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 135.15.25.35.45.56Font problems with Dvips . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .Too small bounding boxes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .x-symbol interoperation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .Middle-clicks paste instead of toggling . . . . . . . . . . . . . . . . . . . . . . . . .No images are displayed with gs 9.27 and earlier . . . . . . . . . . . . . . .1313141414For advanced users . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 166.1The LaTeX style file . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 166.1.1 Package options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 166.1.2 Provided commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 206.2 The Emacs interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 236.3 The preview images . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 256.4 Misplaced previews . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27Appendix AToDo . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28

iiAppendix BFrequently Asked Questions . . . . . . 30B.1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30B.1.1 How can I contribute to the FAQ? . . . . . . . . . . . . . . . . . . . . . . . . 30B.2 Requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30B.2.1 Which version of (X)Emacs is needed? . . . . . . . . . . . . . . . . . . . . 30B.2.2 Which versions of Ghostscript and AUCTeX are needed? . . 30B.2.3 I have trouble with the display format. . . . . . . . . . . . . . . . . . . 30B.2.4 For which OS does preview work? . . . . . . . . . . . . . . . . . . . . . . . . 30B.3 Installation Trouble . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30B.3.1 I just get ‘LaTeX found no preview images’. . . . . . . . . . . . . . 30B.4 Customization . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31B.4.1 How to include additional environments like enumerate . . . 31B.4.2 What if I don’t want to change the document? . . . . . . . . . . . . 32B.4.3 Suddenly I get gazillions of ridiculous pages?!? . . . . . . . . . . . . 32B.4.4 Does preview-latex work with presentation classes? . . . . . . . 32B.5 Troubleshooting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32B.5.1 Preview causes all sort of strange error messages . . . . . . . . . . 32B.5.2 Why do my DVI and PDF output files vanish? . . . . . . . . . . . . 33B.5.3 My output file suddenly only contains preview images?! . . . 33B.6 preview-latex when not using LaTeX . . . . . . . . . . . . . . . . . . . . . . . . . . 33B.6.1 Does preview-latex work with PDFLaTeX? . . . . . . . . . . . . . . . 33B.6.2 Does preview-latex work with ‘elatex’? . . . . . . . . . . . . . . . . . . 33B.6.3 Does preview-latex work with ConTeXt?. . . . . . . . . . . . . . . . . . 33B.6.4 Does preview-latex work with plain TeX? . . . . . . . . . . . . . . . . . 33Appendix CC.1Copying this Manual . . . . . . . . . . . . . . 34GNU Free Documentation License . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34Index . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42

iiiTable of Contentspreview-latex . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1Copying . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31.11.21.31.41.51.61.7What use is it? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3Activating preview-latex . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3Getting started . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3Basic modes of operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4More documentation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4Availability . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5Contacts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52Installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63Key bindings and user-level lisp functions . . . . 74Simple customization . . . . . . . . . . . . . . . . . . . . . . . . . . 115Known problems . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 135.15.25.35.45.56Font problems with Dvips . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .Too small bounding boxes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .x-symbol interoperation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .Middle-clicks paste instead of toggling . . . . . . . . . . . . . . . . . . . . . . . . .No images are displayed with gs 9.27 and earlier . . . . . . . . . . . . . . .1313141414For advanced users . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 166.1The LaTeX style file . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 166.1.1 Package options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 166.1.2 Provided commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 206.2 The Emacs interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 236.3 The preview images . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 256.4 Misplaced previews . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27Appendix AToDo . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28

ivAppendix BFrequently Asked Questions . . . . . . 30B.1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30B.1.1 How can I contribute to the FAQ? . . . . . . . . . . . . . . . . . . . . . . . . 30B.2 Requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30B.2.1 Which version of (X)Emacs is needed? . . . . . . . . . . . . . . . . . . . . 30B.2.2 Which versions of Ghostscript and AUCTeX are needed? . . 30B.2.3 I have trouble with the display format. . . . . . . . . . . . . . . . . . . 30B.2.4 For which OS does preview work? . . . . . . . . . . . . . . . . . . . . . . . . 30B.3 Installation Trouble . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30B.3.1 I just get ‘LaTeX found no preview images’. . . . . . . . . . . . . . 30B.4 Customization . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31B.4.1 How to include additional environments like enumerate . . . 31B.4.2 What if I don’t want to change the document? . . . . . . . . . . . . 32B.4.3 Suddenly I get gazillions of ridiculous pages?!? . . . . . . . . . . . . 32B.4.4 Does preview-latex work with presentation classes? . . . . . . . 32B.5 Troubleshooting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32B.5.1 Preview causes all sort of strange error messages . . . . . . . . . . 32B.5.2 Why do my DVI and PDF output files vanish? . . . . . . . . . . . . 33B.5.3 My output file suddenly only contains preview images?! . . . 33B.6 preview-latex when not using LaTeX . . . . . . . . . . . . . . . . . . . . . . . . . . 33B.6.1 Does preview-latex work with PDFLaTeX? . . . . . . . . . . . . . . . 33B.6.2 Does preview-latex work with ‘elatex’? . . . . . . . . . . . . . . . . . . 33B.6.3 Does preview-latex work with ConTeXt?. . . . . . . . . . . . . . . . . . 33B.6.4 Does preview-latex work with plain TeX? . . . . . . . . . . . . . . . . . 33Appendix CC.1Copying this Manual . . . . . . . . . . . . . . 34GNU Free Documentation License . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34Index . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42

1preview-latexpreview-latex is a package embedding preview fragments into Emacs source buffers under theAUCTEX editing environment for LaTEX. It uses preview.sty for the extraction of certainenvironments (most notably displayed formulas). Other applications of this style file arepossible and exist.The name of the package is really ‘preview-latex’, all in lowercase letters, with ahyphen. If you typeset it, you can use a sans-serif font to visually offset it.

2CopyingFor the conditions for copying parts of preview-latex, see the General Public Licenses referresto in the copyright notices of the files, the General Public Licenses accompanying them andthe explanatory section in Section “Copying” in the AUCTEX manual.This manual specifically is covered by the GNU Free Documentation License (seeAppendix C [Copying this Manual], page 34).

31 IntroductionDoes your neck hurt from turning between previewer windows and the source too often?This AUCTEX component will render your displayed LaTEX equations right into the editingwindow where they belong.The purpose of preview-latex is to embed LaTEX environments such as display math orfigures into the source buffers and switch conveniently between source and image representation.1.1 What use is it?WYSIWYG (what you see is what you get) sometimes is considered all the rage, sometimesfrowned upon. Do we really want it? Wrong question. The right question is what wewant from it. Except when finetuning the layout, we don’t want to use printer fonts foron-screen text editing. The low resolution and contrast of a computer screen render all butthe coarsest printer fonts (those for low-quality newsprint) unappealing, and the marginsand pagination of the print are not wanted on the screen, either. On the other hand, morecomplex visual compositions like math formulas and tables can’t easily be taken in whenseen only in the source. preview-latex strikes a balance: it only uses graphic renditions ofthe output for certain, configurable constructs, does this only when told, and then rightin the source code. Switching back and forth between the source and preview is easyand natural and can be done for each image independently. Behind the scenes of previewlatex, a sophisticated framework of other programs like ‘dvipng’, Dvips and Ghostscript areemployed together with a special LaTEX style file for extracting the material of interest inthe background and providing fast interactive response.1.2 Activating preview-latexAfter installation, the package may need to be activated (and remember to activate AUCTEXtoo). If preview-latex is installed via the Emacs package manager (ELPA), activation shouldbe automatic upon installation.The usual activation (if it is not done automatically) would be(load "preview-latex.el" nil t t)If you still don’t get a “Preview” menu in LaTEX mode in spite of AUCTEX showing its“Command”, your installation is broken. One possible cause are duplicate Lisp files thatmight be detectable with M-x list-load-path-shadows RET.1.3 Getting startedOnce activated, preview-latex and its documentation will be accessible via its menus (notethat preview-latex requires AUCTEX to be loaded). When you have loaded a LaTEX document (a sample document circ.tex is included in the distribution, but most documentsincluding math and/or figures should do), you can use its menu or C-c C-p C-d (for‘Preview/Document’). Previews will now be generated for various objects in your document. You can use the time to take a short look at the other menu entries and key bindingsin the ‘Preview’ menu. You’ll see the previewed objects change into a roadworks sign whenpreview-latex has determined just what it is going to preview. Note that you can freely

Chapter 1: Introduction4navigate the buffer while this is going on. When the process is finished you will see theobjects typeset in your buffer.It is a bad idea, however, to edit the buffer before the roadworks signs appear, sincethat is the moment when the correlation between the original text and the buffer locationsgets established. If the buffer changes before that point of time, the previews will not beplaced where they belong. If you do want to change some obvious error you just spotted,we recommend you stop the background process by pressing C-c C-k.To see/edit the LaTEX code for a specific object, put the point (the cursor) on it andpress C-c C-p C-p (for ‘Preview/at point’). It will also do to click with the middle mousebutton on the preview. Now you can edit the code, and generate a new preview by againpressing C-c C-p C-p (or by clicking with the middle mouse button on the icon before theedited text).If you are using the desktop package, previews will remain from one session to the nextas long as you don’t kill your buffer.1.4 Basic modes of operationpreview-latex has a number of methods for generating its graphics. Its default operationis equivalent to using the ‘LaTEX’ command from AUCTEX. If this happens to be a callof PDFLaTEX generating PDF output (you need at least AUCTEX 11.51 for this), thenGhostscript will be called directly on the resulting PDF file. If a DVI file gets produced,first Dvips and then Ghostscript get called by default.The image type to be generated by Ghostscript can be configured withM-x customize-variable RET preview-image-type RETThe default is ‘png’ (the most efficient image type). A special setting is ‘dvipng’ in caseyou have the ‘dvipng’ program installed. In this case, ‘dvipng’ will be used for convertingDVI files and Ghostscript (with a ‘PNG’ device) for converting PDF files. ‘dvipng’ is muchfaster than the combination of Dvips and Ghostscript. You can get downloads, access toits CVS archive and further information from its project site (https://savannah.nongnu.org/projects/dvipng).1.5 More documentationAfter the installation, documentation in the form of an info manual will be available. Youcan access it with the standalone info reader withinfo preview-latexor by pressing C-h i d m preview-latex RET in Emacs. Once preview-latex is activated, youcan instead use C-c C-p TAB (or the menu entry ‘Preview/Read documentation’).Depending on your installation, this printed manual may also be available in the formof preview-latex.dvi or preview-latex.ps.Detailed documentation for the LaTEX style used for extracting the preview images isplaced in preview.dvi in a suitable directory during installation; on typical teTeX-basedsystems,texdoc previewwill display it.

Chapter 1: Introduction51.6 AvailabilityThe preview-latex project is now part of AUCTEX and accessible as part of the AUCTEXproject page (https://savannah.gnu.org/projects/auctex). You can get its filesfrom the AUCTEX download area (https://ftp.gnu.org/pub/gnu/auctex/). As ofAUCTEX 11.81, preview-latex should already be integrated into AUCTEX, so no separatedownload will be necessary.You will also find .rpm files there for Fedora and possibly SuSE. Anonymous Git isavailable as well.1.7 ContactsBug reports should be sent by using M-x preview-report-bug RET, as this will fill in a lotof information interesting to us. If the installation fails (but this should be a rare event),report bugs to bug-auctex@gnu.org.There is a general discussion list for AUCTEX which also covers preview-latex,look at https://lists.gnu.org/mailman/listinfo/auctex. For more information onthe mailing list, send a message with just the word “help” as subject or body toauctex-request@gnu.org. For the developers, there is the auctex-devel@gnu.org list;it would probably make sense to direct feature requests and questions about internal detailsthere. There is a low-volume read-only announcement list available to which you can subscribe by sending a mail with “subscribe” in the subject to info-auctex-request@gnu.org.Offers to support further development will be appreciated. If you want to show your appreciation with a donation to the main developer, you can do so via PayPal to dak@gnu.org,and of course you can arrange for service contracts or for added functionality. Take a lookat the TODO list for suggestions in that area.

62 InstallationInstallation is now being covered in Section “Installation” in the AUCTEX manual.

73 Key bindings and user-level lisp functionspreview-latex adds key bindings starting with C-c C-p to the supported modes of AUCTEX(See Info file auctex, node ‘Key Index’). It will also add its own ‘Preview’ menu in themenu bar, as well as an icon in the toolbar.The following only describes the interactive use: view the documentation strings withC-h f if you need the Lisp information.C-c C-p C-ppreview-at-pointPreview/Generate previews (or toggle) at pointIf the cursor is positioned on or inside of a preview area, this toggles its visibility, regenerating the preview if necessary. If not, it will run the surroundingsthrough preview. The surroundings include all areas up to the next valid preview, unless invalid previews occur before, in which case the area will includethe last such preview in either direction. And overriding any other action, if aregion is active (transient-mark-mode), it is run through preview-region. mouse-2 The middle mouse button has a similar action bound to it as preview-atpoint, only that it knows which preview to apply it to according to the positionof the click. You can click either anywhere on a previewed image, or whenthe preview is opened and showing the source text, you can click on the iconpreceding the source text. In other areas, the usual mouse key action (typically:paste) is not affected. mouse-3 The right mouse key pops up a context menu with several options: toggling thepreview, regenerating it, removing it (leaving the unpreviewed text), copyingthe text inside of the preview, and copying it in a form suitable for copyingas an image into a mail or news article. This is a one-image variant of thefollowing command:C-c C-p C-wpreview-copy-region-as-mmlCopy a region as MMLThis command is also available as a variant in the context menu on the rightmouse button (where the region is the preview that has been clicked on). Itcopies the current region into the kill buffer in a form suitable for copying as atext including images into a mail or news article using mml-mode (see Section“Composing” in Emacs MIME).If you regenerate or otherwise kill the preview in its source buffer before themail or news gets posted, this will fail. Also you should generate images youwant to send with preview-transparent-border set to nil, or the imageswill have an ugly border. preview-latex detects this condition and asks whetherto regenerate the region with borders switched off. As this is an asynchronousoperation running in the background, you’ll need to call this command explicitlyagain to get the newly generated images into the kill ring.

Chapter 3: Key bindings and user-level lisp functions8Preview your articles with mml-preview (on C-c C-m P) to make sure they lookfine.C-c C-p C-epreview-environmentPreview/Generate previews for environmentRun preview on LaTEX environment. The environments in preview-innerenvironments are treated as inner levels so that for instance, the split environment in tion} isproperly displayed. If called with a numeric argument, the corresponding number of outward nested environments is treated as inner levels.C-c C-p C-spreview-sectionPreview/Generate previews for sectionRun preview on this LaTEX section.C-c C-p C-rpreview-regionPreview/Generate previews for regionRun preview on current region.C-c C-p C-bpreview-bufferPreview/Generate previews for bufferRun preview on the current buffer.C-c C-p C-dpreview-documentPreview/Generate previews for documentRun preview on the current document.C-c C-p C-c C-ppreview-clearout-at-pointPreview/Remove previews at pointClear out (remove) the previews that are immediately adjacent to point.C-c C-p C-c C-spreview-clearout-sectionPreview/Remove previews from sectionClear out all previews in current section.C-c C-p C-c C-rpreview-clearoutPreview/Remove previews from regionClear out all previews in the current region.C-c C-p C-c C-bpreview-clearout-bufferPreview/Remove previews from bufferClear out all previews in current buffer. This makes the current buffer lose allpreviews.

Chapter 3: Key bindings and user-level lisp functions9C-c C-p C-c C-dpreview-clearout-documentPreview/Remove previews from documentClear out all previews in current document. The document consists of all buffersthat have the same master file as the current buffer. This makes the currentdocument lose all previews.C-c C-p C-fpreview-cache-preamblePreview/Turn preamble cache onDump a pregenerated format file. For the rest of the session, this file is usedwhen running on the same master file. Use this if you know your LaTEX takesa long time to start up, the speedup will be most noticeable when generatingsingle or few previews. If you change your preamble, do this again. preview-latexwill try to detect the necessity of that automatically when editing changes tothe preamble are done from within Emacs, but it will not notice if the preambleeffectively changes because some included file or style file is tampered with.Note that support for preamble cache is limited for LaTEX variants. /15 XeLaTEX cannot use preamble cache at all. The reason is intrinsic inXeLaTEX, so preview-latex can’t help. LuaLaTEX works with preamble cache only when the preamble is simpleenough, i.e., when it doesn’t load opentype fonts and it doesn’t use luacodes in preamble.C-c C-p C-c C-fpreview-cache-preamble-offPreview/Turn preamble cache offClear the pregenerated format file and stop using preambles for the currentdocument. If the caching gives you problems, use this.C-c C-p C-ipreview-goto-info-pagePreview/Read DocumentationRead the info manual.M-x preview-report-bug RETpreview-report-bugPreview/Report BugThis is the preferred way of reporting bugs as it will fill in what version ofpreview-latex you are using as well as versions of relevant other software, andalso some of the more important settings. Please use this method of reporting,if at all possible and before reporting a bug, have a look at Chapter 5 [Knownproblems], page 13.C-c C-kLaTeX/TeX Output/Kill JobKills the preview-generating process. This is really an AUCTEX keybinding,but it is included here as a hint. If you are generating a preview and then make

Chapter 3: Key bindings and user-level lisp functions10a change to the buffer, preview-latex may be confused and place the previewswrong.

114 Simple customizationCustomization options can be found by typing M-x customize-group RET preview RET.Remember to set the option when you have changed it. The list of suggestions can be madevery long (and is covered in detail in Chapter 6 [For advanced users], page 16), but someare: Change the color of the preview backgroundIf you use a non-white background in Emacs, you might have color artifacts at the edgesof your previews. Playing around with the option preview-transparent-color in thePreview Appearance group might improve things. With some settings, the cursor maycover the whole background of a preview, however.This option is specific to the display engine in use. Showing \labelsWhen using preview-latex, the \labels are hidden by the previews. It is possible tomake them visible in the output by using the LaTEX package showkeys alternativelyshowlabels. However, the boxes of these labels will be outside the region preview-latexconsiders as the preview image. To enable a similar mechanism internal to previewlatex, enable the showlabels option in the variable preview-default-option-list inthe Preview Latex group.It must be noted, however, that a much better idea may be to use the RefTEX packagefor managing references. See Section “RefTeX in a Nutshell” in The RefTEX Manual. Open previews automaticallyThe current default is to open previews automatically when you enter them with cursorleft/right motions. Auto-opened previews will close again once the cursor leaves themagain (this is also done when doing incremental search, or query-replace operations),unless you changed anything in it. In that case, you will have to regenerate the preview(via e.g., C-c C-p C-p). Other options for preview-auto-reveal are available viacustomize. Automatically cache preamblesCurrently preview-latex asks you whether you want to cache the document preamble(everything before \begin{document}) before it generates previews for a buffer thefirst time. Caching the preamble will significantly speed up regeneration of previews.The larger your preamble is, the more this will be apparent. Once a preamble is cached,preview-latex will try to keep track of when it is changed, and dump a fresh format inthat case. If you experience problems with this, or if you want it to happen without asking you the first time, you can customize the variable preview-auto-cache-preamble. Attempt to keep counters accurate when editingSince preview-latex frequently runs only small regions through LaTEX, values like equation counters are not consistent from run to run. If this bothers you, customize thevariable preview-preserve-counters to t (this is consulted by preview-requiredoption-list). LaTEX will then output a load of counter information during compilation, and this information will be used on subsequent updates to keep counters set touseful values. The additional information takes additional time to analyze, but this is

Chapter 4: Simple customization12relevant mostly only when you are regenerating all previews at once, and maybe youwill be less tempted to do so when counters appear more or less correct. Preview your favourite LaTEX constructsIf you have a certain macro or environment that you want to preview, first check if itcan be chosen by cutomizing preview-default-options-list in the Preview Latexgroup.If it is not available there, you can add it to preview-default-preamble also in thePreview Latex group, by adding a \PreviewMacro or \PreviewEnvironment entry(see Section 6.1.2 [Provided commands], page 20) after the \RequirePackage line. Forexample, if you want to preview the center environment, press the Show button andthe last INS button, then add\PreviewEnvironment{center}in the space that just opened. Note that since center is a generic formatting constructof LaTEX, a general configuration like that is not quite prudent. You better to do thison a per-document base so that it is easy to disable this behavior when you find thisparticular entry gives you trouble.One possibility is to save such settings in the corresponding file-local variable instead ofyour global configuration (see Section “Local Variables in Files” in GNU Emacs Manual). A perhaps more convenient place for such options would be in a configuration filein the same directory with your project (see Section 6.1.1 [Package options], page 16).The usual file for preview-latex preconfiguration is prauctex.cfg. If you also want tokeep the systemwide defaults, you should add a line\InputIfFileExists{preview/prauctex.cfg}{}{}to your own version of prauctex.cfg (this is assuming that gl

preview-latex preview-latex is a package embedding preview fragments into Emacs source buffers under the AUCTEX editing environment for LaTEX. It uses preview.sty for the extraction of certain environments (most notably displayed formulas). Other applications of this

Related Documents:

HP Latex 315. HP Latex 335. HP Latex 365. HP Latex 375. Supplied with the printer. HP Latex 64-in Take-Up Reel. HP Latex 64-in Take-Up Reel: HP Latex 64-in Take-Up Reel. HP Latex 54-in Printer 2-in Spindle (including 2- to 3-in spindle adaptor) HP Latex 64-in Printer 2-in Spindle (including 2- to 3-in spindle adaptor) HP Latex 64-in Printer 3 .

bug-gnubg@gnu.orgor make abug report. All about GNU Backgammon iii COLLABORATORS TITLE : All about GNU Backgammon ACTION NAME DATE SIGNATURE WRITTEN BY Albert Silver and Christian Anthon July 23, 2018 REVISION HISTORY NUMBER DATE DESCRIPTION NAME All about GNU Backgammon March 2007 The GNU Backgammon Project All about GNU March 2007 Albert .

programming as well. In fact, while this guide is written and intended as an introduction to Octave, it can serve equally well as a basic introduction to MATLAB. What is GNU? A gnu is a type of antelope, but GNU is a free, UNIX-like computer operating system. GNU is a recursive acronym that stands for \GNU's not Unix." GNU Octave (and

Chapter 1: Getting started with LaTeX Version Release Date LaTeX 2.09 1985-09-01 LaTeX 2e 1994-06-01 Section 1.1: LaTeX Editors While you can create LaTeX documents using any editor and compiling using the console, there exist several plugins for widely used editors to simplify creating LaTeX documents, and there are specialized LaTeX editors. An

Introduction to GNU Radio Creating Gnu radio blocks Block behavior and Scheduler Message passing interface Table of contents 1 Introduction to GNU Radio What is GNU Radio GNU radio with gnuradio-companion . Debugged (with spectrum analyzer for instanc

Mathématiques LATEX est la norme impérative. Physique LATEX est la norme. Autres sciences dures LATEX est courant. Sciences sociales LATEX est peu fréquent. Ailleurs Quelques rares éditeurs non-scientifiques utilisent LATEX. francois.gannaz@silecs.info Introduction à LATEX. Présentation Démo Au-delà Contact Historique Qualité Mécanisme et pratique Typographie Ligatures Affidé .

Introduction to Gnu radio GNU radio with gnuradio-companion Creating Gnu radio blocks Block behavior and Scheduler Message passing interface Table of contents . Debugged (with spectrum analyzer for instance) Tanguy Risset Introduction to GNU Radio 13.File Size: 1MB

classes of concrete listed in Table 501-03, Concrete Mixtures, except Class F. Type IP or SM blended cement replaces the portland cement/pozzolan portion of the designed mix in Class DP, G, GG, or HP concrete. When using Type IP or SM blended cement in Class DP and HP concrete, an addition of Microsilica §711-11 is required. b. Type SF. Blended Portland Cement (Type SF), may be used in Class .