auctex-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

main b0bbd1aa 1/2: Add separate "elpa" make target; make all now also co


From: Tassilo Horn
Subject: main b0bbd1aa 1/2: Add separate "elpa" make target; make all now also compiles
Date: Tue, 23 Apr 2024 03:49:06 -0400 (EDT)

branch: main
commit b0bbd1aa7f05b738ce8b274279465a4fa378b8e7
Author: Tassilo Horn <tsdh@gnu.org>
Commit: Tassilo Horn <tsdh@gnu.org>

    Add separate "elpa" make target; make all now also compiles
    
    Also delete generated files.
---
 GNUmakefile            |  26 +++-
 README                 | 241 -----------------------------
 latex/prauctex.cfg     |  48 ------
 latex/prauctex.def     |  61 --------
 latex/prcounters.def   |  38 -----
 latex/preview.sty      | 401 -------------------------------------------------
 latex/prfootnotes.def  |  28 ----
 latex/prlyx.def        |  32 ----
 latex/prshowbox.def    |  32 ----
 latex/prshowlabels.def |  67 ---------
 latex/prtightpage.def  | 146 ------------------
 latex/prtracingall.def |  30 ----
 12 files changed, 20 insertions(+), 1130 deletions(-)

diff --git a/GNUmakefile b/GNUmakefile
index 50254fb7..c9acd898 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -21,7 +21,7 @@
 #   latex: prtightpage.def
 #   latex: prtracingall.def
 
-
+EMACS=emacs --batch -q -no-site-file -no-init-file -l lpath.el
 MAKEINFO=makeinfo
 INSTALL_INFO=install-info
 PERL=perl
@@ -32,15 +32,29 @@ INFO_FILES=$(MANUALS:=.info)
 TEXMFGEN:=$(shell sed -n 
's/^%<installer>.*file[{]\([^}.]*\.[sdc][tef][yfg]\)[}].*/\1/p' 
latex/preview.dtx)
 LATEX_FILES:=$(patsubst %, latex/%, $(shell echo $$(echo "$(TEXMFGEN)")))
 
-GENERATED_FILES=dir                    \
-               $(INFO_FILES)           \
-               README                  \
+MAIN_GENERATED_FILES=README            \
                tex-site.el             \
                doc/version.texi        \
                doc/preview-dtxdoc.texi \
                $(LATEX_FILES)
 
-all: $(GENERATED_FILES)
+ALL_GENERATED_FILES=$(MAIN_GENERATED_FILES)    \
+               dir                             \
+               $(INFO_FILES)
+
+# Generate & compile everything including the manuals below doc/.
+all: $(ALL_GENERATED_FILES) compile
+
+compile: $(patsubst %.el,%.elc,$(wildcard *.el style/*.el))
+
+%.elc: %.el
+       $(EMACS) -f batch-byte-compile $<
+
+# Generate everything but don't compile or build the docs.  The docs
+# will be built on elpa due to :doc ("doc/auctex.texi"
+# "doc/preview-latex.texi") in the auctex recipe in elpa-packges and
+# compiling is done locally.
+elpa: $(MAIN_GENERATED_FILES)
 
 # We want the tex-site.el target to be always run so that the version
 # (especially the release version grabbed from the top of the git
@@ -48,7 +62,7 @@ all: $(GENERATED_FILES)
 .PHONY: tex-site.el
 
 clean:
-       rm -f $(GENERATED_FILES)
+       rm -f $(ALL_GENERATED_FILES) $(wildcard *.elc style/*.elc)
 
 # Copied&adapted from doc/Makefile.in.
 MAKEINFO_PLAIN=$(MAKEINFO) -D rawfile --no-headers
diff --git a/README b/README
deleted file mode 100644
index 5e9b90c9..00000000
--- a/README
+++ /dev/null
@@ -1,241 +0,0 @@
-This is the README file for the AUCTeX distribution.
-
-     Copyright (C) 2008, 2017, 2018 Free Software Foundation, Inc.
-
-     Copying and distribution of this file, with or without
-     modification, are permitted in any medium without royalty provided
-     the copyright notice and this notice are preserved.
-
-Introduction to AUCTeX
-**********************
-
-This file gives a brief overview of what AUCTeX is.  It is *not* an
-attempt to document AUCTeX.  Real documentation for AUCTeX is available
-in the manual, which should be available as an info file after
-installation.
-
-AUCTeX is a comprehensive customizable integrated environment for
-writing input files for TeX, LaTeX, ConTeXt, Texinfo, and docTeX using
-Emacs.
-
-It supports you in the insertion of macros, environments, and sectioning
-commands by providing completion alternatives and prompting for
-parameters.  It automatically indents your text as you type it and lets
-you format a whole file at once.  The outlining and folding facilities
-provide you with a focused and clean view of your text.
-
-AUCTeX lets you process your source files by running TeX and related
-tools (such as output filters, post processors for generating indices
-and bibliographies, and viewers) from inside Emacs.  AUCTeX lets you
-browse through the errors TeX reported, while it moves the cursor
-directly to the reported error, and displays some documentation for that
-particular error.  This will even work when the document is spread over
-several files.
-
-One component of AUCTeX that LaTeX users will find attractive is
-preview-latex, a combination of folding and in-source previewing that
-provides true "What You See Is What You Get" experience in your
-sourcebuffer, while letting you retain full control.  For more
-information, see further below.
-
-More detailed information about the features and usage of AUCTeX can be
-found in the AUCTeX manual.  You can access it from within Emacs by
-typing ‘C-h i d m auctex <RET>’.  If you prefer the standalone info
-reader, issue the command ‘info auctex’ in a terminal.
-
-AUCTeX is written entirely in Emacs Lisp, and hence you can easily add
-new features for your own needs.  It is a GNU project and distributed
-under the 'GNU General Public License Version 3'.
-
-The most recent version is always available at
-<https://ftp.gnu.org/pub/gnu/auctex/>.
-
-WWW users may want to check out the AUCTeX page at
-<https://www.gnu.org/software/auctex/>.
-
-For comprehensive information about how to install AUCTeX read the file
-‘INSTALL’ or ‘INSTALL.windows’, respectively.
-
-If you are considering upgrading AUCTeX, the recent changes are
-described in the ‘CHANGES’ file.
-
-If you want to discuss AUCTeX with other users or its developers, there
-are several mailing lists you can use.
-
-Send a mail with the subject "subscribe" to <auctex-request@gnu.org> in
-order to join the general discussion list for AUCTeX.  Articles should
-be sent to <auctex@gnu.org>.  In a similar way, you can subscribe to the
-<info-auctex@gnu.org> list for just getting important announcements
-about AUCTeX.  The list <bug-auctex@gnu.org> is for bug reports which
-you should usually file with the ‘M-x TeX-submit-bug-report <RET>’
-command.  If you want to address the developers of AUCTeX themselves
-with technical issues, they can be found on the discussion list
-<auctex-devel@gnu.org>.
-preview-latex in a nutshell
-***************************
-
-Does 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 editing window where they belong.
-
-The purpose of preview-latex is to embed LaTeX environments such as
-display math or figures into the source buffers and switch conveniently
-between source and image representation.
-
-1 What use is it?
-*****************
-
-WYSIWYG (what you see is what you get) sometimes is considered all the
-rage, sometimes frowned upon.  Do we really want it?  Wrong question.
-The right question is _what_ we want from it.  Except when finetuning
-the layout, we don't want to use printer fonts for on-screen text
-editing.  The low resolution and contrast of a computer screen render
-all but the coarsest printer fonts (those for low-quality newsprint)
-unappealing, and the margins and pagination of the print are not wanted
-on the screen, either.  On the other hand, more complex visual
-compositions like math formulas and tables can't easily be taken in when
-seen only in the source.  preview-latex strikes a balance: it only uses
-graphic renditions of the output for certain, configurable constructs,
-does this only when told, and then right in the source code.  Switching
-back and forth between the source and preview is easy and natural and
-can be done for each image independently.  Behind the scenes of
-preview-latex, a sophisticated framework of other programs like
-‘dvipng’, Dvips and Ghostscript are employed together with a special
-LaTeX style file for extracting the material of interest in the
-background and providing fast interactive response.
-
-2 Activating preview-latex
-**************************
-
-After installation, the package may need to be activated (and remember
-to activate AUCTeX too).  If preview-latex is installed via the Emacs
-package manager (ELPA), activation should be 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 that might be detectable with ‘M-x
-list-load-path-shadows <RET>’.
-
-3 Getting started
-*****************
-
-Once activated, preview-latex and its documentation will be accessible
-via its menus (note that 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 documents including 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 bindings in the ‘Preview’ menu.  You'll see
-the previewed objects change into a roadworks sign when preview-latex
-has determined just what it is going to preview.  Note that you can
-freely navigate the buffer while this is going on.  When the process is
-finished you will see the objects typeset in your buffer.
-
-It is a bad idea, however, to edit the buffer before the roadworks signs
-appear, since that is the moment when the correlation between the
-original text and the buffer locations gets established.  If the buffer
-changes before that point of time, the previews will not be placed 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 and press ‘C-c C-p C-p’ (for ‘Preview/at point’).  It will
-also do to click with the middle mouse button on the preview.  Now you
-can edit the code, and generate a new preview by again pressing ‘C-c C-p
-C-p’ (or by clicking with the middle mouse button on the icon before the
-edited text).
-
-If you are using the ‘desktop’ package, previews will remain from one
-session to the next as long as you don't kill your buffer.
-
-4 Basic modes of operation
-**************************
-
-preview-latex has a number of methods for generating its graphics.  Its
-default operation is equivalent to using the 'LaTeX' command from
-AUCTeX.  If this happens to be a call of PDFLaTeX generating PDF output
-(you need at least AUCTeX 11.51 for this), then Ghostscript 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 with
-
-     M-x customize-option <RET> preview-image-type <RET>
-
-The default is ‘png’ (the most efficient image type).  A special setting
-is ‘dvipng’ in case you have the ‘dvipng’ program installed.  In this
-case, ‘dvipng’ will be used for converting DVI files and Ghostscript
-(with a ‘PNG’ device) for converting PDF files.  ‘dvipng’ is much faster
-than the combination of Dvips and Ghostscript.  You can get downloads,
-access to its CVS archive and further information from its project site
-(https://savannah.nongnu.org/projects/dvipng).
-
-5 More documentation
-********************
-
-After the installation, documentation in the form of an info manual will
-be available.  You can access it with the standalone info reader with
-
-     info preview-latex
-
-or by pressing ‘C-h i d m preview-latex <RET>’ in Emacs.  Once
-preview-latex is activated, you can instead use ‘C-c C-p <TAB>’ (or the
-menu entry ‘Preview/Read documentation’).
-
-Depending on your installation, a printable manual may also be available
-in the form of ‘preview-latex.pdf’.
-
-Detailed documentation for the LaTeX style used for extracting the
-preview images is placed in ‘preview.pdf’ in a suitable directory during
-installation; on typical TeX Live-based systems,
-
-     texdoc preview
-
-will display it.
-
-6 Availability
-**************
-
-The preview-latex project is now part of AUCTeX and accessible as part
-of the AUCTeX project page (https://savannah.gnu.org/projects/auctex).
-You can get its files from the AUCTeX download area
-(https://ftp.gnu.org/pub/gnu/auctex/).  As of AUCTeX 11.81,
-preview-latex should already be integrated into AUCTeX, so no separate
-download will be necessary.
-
-Anonymous Git is available at <git://git.savannah.gnu.org/auctex.git> or
-<https://git.savannah.gnu.org/git/auctex.git>.  You can also browse the
-repository (https://git.savannah.gnu.org/cgit/auctex.git) via web
-interface.
-
-7 Contacts
-**********
-
-Bug reports should be sent by using ‘M-x preview-report-bug <RET>’, as
-this will fill in a lot of 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 on the mailing list, send a message with just the
-word "help" as subject or body to <auctex-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
-details there.  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 look at the ‘TODO’
-list for suggestions in that area.
-
diff --git a/latex/prauctex.cfg b/latex/prauctex.cfg
deleted file mode 100644
index 39922c98..00000000
--- a/latex/prauctex.cfg
+++ /dev/null
@@ -1,48 +0,0 @@
-%%
-%% This is file `prauctex.cfg',
-%% generated with the docstrip utility.
-%%
-%% The original source files were:
-%%
-%% preview.dtx  (with options: `auccfg')
-%% 
-%% IMPORTANT NOTICE:
-%% 
-%% For the copyright see the source file.
-%% 
-%% Any modified versions of this file must be renamed
-%% with new filenames distinct from prauctex.cfg.
-%% 
-%% For distribution of the original source see the terms
-%% for copying and modification in the file preview.dtx.
-%% 
-%% This generated file may be distributed as long as the
-%% original source files, as listed above, are part of the
-%% same distribution. (The sources need not necessarily be
-%% in the same archive or directory.)
-%%    The preview style for extracting previews from LaTeX documents.
-%%    Developed as part of AUCTeX <URL:https://www.gnu.org/software/auctex/>.
-\PreviewMacro*[[][#1{}]\footnote
-\PreviewMacro*[?[{@{[]}}{}][#1]\item
-\PreviewMacro*\emph
-\PreviewMacro*\textrm
-\PreviewMacro*\textit
-\PreviewMacro*\textsc
-\PreviewMacro*\textsf
-\PreviewMacro*\textsl
-\PreviewMacro*\texttt
-\PreviewMacro*\textcolor
-\PreviewMacro*\mbox
-\PreviewMacro*[][#1{}]\author
-\PreviewMacro*[][#1{}]\title
-\PreviewMacro*\and
-\PreviewMacro*\thanks
-\PreviewMacro*[][#1{}]\caption
-\preview@delay{\@ifundefined{pr@\string\@startsection}{%
-  \PreviewMacro*[!!!!!!*][#1{}]\@startsection}{}}
-\preview@delay{\@ifundefined{pr@\string\chapter}{%
-  \PreviewMacro*[*][#1{}]\chapter}{}}
-\PreviewMacro*\index
-\endinput
-%%
-%% End of file `prauctex.cfg'.
diff --git a/latex/prauctex.def b/latex/prauctex.def
deleted file mode 100644
index 57420cb9..00000000
--- a/latex/prauctex.def
+++ /dev/null
@@ -1,61 +0,0 @@
-%%
-%% This is file `prauctex.def',
-%% generated with the docstrip utility.
-%%
-%% The original source files were:
-%%
-%% preview.dtx  (with options: `auctex')
-%% 
-%% IMPORTANT NOTICE:
-%% 
-%% For the copyright see the source file.
-%% 
-%% Any modified versions of this file must be renamed
-%% with new filenames distinct from prauctex.def.
-%% 
-%% For distribution of the original source see the terms
-%% for copying and modification in the file preview.dtx.
-%% 
-%% This generated file may be distributed as long as the
-%% original source files, as listed above, are part of the
-%% same distribution. (The sources need not necessarily be
-%% in the same archive or directory.)
-%%    The preview style for extracting previews from LaTeX documents.
-%%    Developed as part of AUCTeX <URL:https://www.gnu.org/software/auctex/>.
-\ifPreview\else\expandafter\endinput\fi
-\nofiles
-\preview@delay{\nonstopmode}
-\begingroup
-\lccode`\~=`\-
-\lccode`\{=`\<
-\lccode`\}=`\>
-\lowercase{\endgroup
-  \def\pr@msgi{{~}}}
-\def\pr@msgii{Preview:
-   Snippet \number\pr@snippet\space}
-\begingroup
-\catcode`\-=13
-\catcode`\<=13
-\@firstofone{\endgroup
-\def\pr@msg#1{{%
-   \let<\pr@msgi
-   \def-{\pr@msgii#1}%
-   \errhelp{Not a real error.}%
-   \errmessage<}}}
-\g@addto@macro\pr@ship@start{\pr@msg{started}}
-\g@addto@macro\pr@ship@end{\pr@msg{ended.%
-  (\number\ht\pr@box+\number\dp\pr@box x\number\wd\pr@box)}}
-\hbadness=\maxdimen
-\newcount\hbadness
-\vbadness=\maxdimen
-\let\vbadness=\hbadness
-\hfuzz=\maxdimen
-\newdimen\hfuzz
-\vfuzz=\maxdimen
-\let\vfuzz=\hfuzz
-\showboxdepth=-1
-\showboxbreadth=-1
-\pr@loadcfg{prauctex}
-\endinput
-%%
-%% End of file `prauctex.def'.
diff --git a/latex/prcounters.def b/latex/prcounters.def
deleted file mode 100644
index 70bdea49..00000000
--- a/latex/prcounters.def
+++ /dev/null
@@ -1,38 +0,0 @@
-%%
-%% This is file `prcounters.def',
-%% generated with the docstrip utility.
-%%
-%% The original source files were:
-%%
-%% preview.dtx  (with options: `counters')
-%% 
-%% IMPORTANT NOTICE:
-%% 
-%% For the copyright see the source file.
-%% 
-%% Any modified versions of this file must be renamed
-%% with new filenames distinct from prcounters.def.
-%% 
-%% For distribution of the original source see the terms
-%% for copying and modification in the file preview.dtx.
-%% 
-%% This generated file may be distributed as long as the
-%% original source files, as listed above, are part of the
-%% same distribution. (The sources need not necessarily be
-%% in the same archive or directory.)
-%%    The preview style for extracting previews from LaTeX documents.
-%%    Developed as part of AUCTeX <URL:https://www.gnu.org/software/auctex/>.
-\ifPreview\else\expandafter\endinput\fi
-\def\pr@eltprint#1{\expandafter\@gobble\ifnum\value{#1}=0%
-  \csname pr@c@#1\endcsname\else\relax
-  \space{#1}{\arabic{#1}}\fi}
-\def\pr@eltdef#1{\expandafter\xdef
-  \csname pr@c@#1\endcsname{\arabic{#1}}}
-\def\pr@ckpt#1{{\let\@elt\pr@eltprint\edef\next{\cl@@ckpt}%
-  \ifx\next\@empty\else\typeout{Preview: Counters\next#1}%
-  \let\@elt\pr@eltdef\cl@@ckpt\fi}}
-\pr@addto@front\pr@ship@start{\pr@ckpt:}
-\pr@addto@front\pr@ship@end{\pr@ckpt.}
-\endinput
-%%
-%% End of file `prcounters.def'.
diff --git a/latex/preview.sty b/latex/preview.sty
deleted file mode 100644
index 1002230f..00000000
--- a/latex/preview.sty
+++ /dev/null
@@ -1,401 +0,0 @@
-%%
-%% This is file `preview.sty',
-%% generated with the docstrip utility.
-%%
-%% The original source files were:
-%%
-%% preview.dtx  (with options: `style')
-%% preview.dtx  (with options: `style,active')
-%% 
-%% IMPORTANT NOTICE:
-%% 
-%% For the copyright see the source file.
-%% 
-%% Any modified versions of this file must be renamed
-%% with new filenames distinct from preview.sty.
-%% 
-%% For distribution of the original source see the terms
-%% for copying and modification in the file preview.dtx preview.dtx.
-%% 
-%% This generated file may be distributed as long as the
-%% original source files, as listed above, are part of the
-%% same distribution. (The sources need not necessarily be
-%% in the same archive or directory.)
-%%    The preview style for extracting previews from LaTeX documents.
-%%    Developed as part of AUCTeX <URL:https://www.gnu.org/software/auctex/>.
-\NeedsTeXFormat{LaTeX2e}
-\def\pr@version{13.3}
-\def\pr@date{2024/01/17}
-\ProvidesPackage{preview}[\pr@date\space \pr@version\space 
(AUCTeX/preview-latex)]
-\let\ifPreview\iffalse
-\let\preview@delay=\@gobble
-\let\pr@advise=\@gobbletwo
-\long\def\pr@advise@ship#1#2#3{}
-\def\pr@loadcfg#1{\InputIfFileExists{#1.cfg}{}{}}
-\IfFileExists{luatex85.sty}{\RequirePackage{luatex85}}{}
-\DeclareOption{noconfig}{\let\pr@loadcfg=\@gobble}
-\long\def\pr@addto@front#1#2{%
-  \toks@{#2}\toks@\expandafter{\the\expandafter\toks@#1}%
-  \xdef#1{\the\toks@}}
-\DeclareOption{active}{%
-  \let\ifPreview\iftrue
-  \def\pr@advise#1{%
-    \expandafter\pr@adviseii\csname pr@\string#1\endcsname#1}%
-  \long\def\pr@advise@ship#1#2#3{\pr@advise#1{\pr@protect@ship{#2}{#3}}}%
-  \let\preview@delay\@firstofone}
-\long\def\pr@adviseii#1#2#3{\preview@delay{%
-  \ifx#1\relax \let#1#2\fi
-  \toks@{#3#1}%
-  \ifx\@undefined\protected \else \protected\fi
-  \long\edef#2{\the\toks@}}}
-\DeclareOption{delayed}{%
-  \ifPreview \def\preview@delay{\AtBeginDocument}\fi
-}
-\newif\ifpr@fixbb
-\pr@fixbbfalse
-\DeclareOption{psfixbb}{\ifPreview%
-  \pr@fixbbtrue
-  \newbox\pr@markerbox
-  \setbox\pr@markerbox\hbox{\special{psfile=/dev/null}}\fi
-}
-\let\pr@graphicstype=\z@
-\DeclareOption{dvips}{%
-  \let\pr@graphicstype\@ne
-  \preview@delay{\AtBeginDvi{%
-      \special{!/preview@version(\pr@version)def}
-      \special{!userdict begin/preview-bop-level 0 def%
-      /bop-hook{/preview-bop-level dup load dup 0 le{/isls false def%
-          /vsize 792 def/hsize 612 def}if 1 add store}bind def%
-      /eop-hook{/preview-bop-level dup load dup 0 gt{1 sub}if
-        store}bind def end}}}}
-\DeclareOption{pdftex}{%
-  \let\pr@graphicstype\tw@}
-\DeclareOption{xetex}{%
-  \let\pr@graphicstype\thr@@}
-\begingroup
-\catcode`\*=11
-\@firstofone{\endgroup
-\DeclareOption{displaymath}{%
-  \preview@delay{\toks@{%
-      \pr@startbox{\noindent$$%
-        \aftergroup\pr@endbox\@gobbletwo}{$$}\@firstofone}%
-    \everydisplay\expandafter{\the\expandafter\toks@
-      \expandafter{\the\everydisplay}}}%
-  \pr@advise@ship\equation{\begingroup\aftergroup\pr@endbox
-    \def\dt@ptrue{\m@ne=\m@ne}\noindent}%
-    {\endgroup}%
-  \pr@advise@ship\equation*{\begingroup\aftergroup\pr@endbox
-    \def\dt@ptrue{\m@ne=\m@ne}\noindent}%
-    {\endgroup}%
-  \PreviewOpen[][\def\dt@ptrue{\m@ne=\m@ne}\noindent#1]\[%
-  \PreviewClose\]%
-  \PreviewEnvironment[][\noindent#1]{eqnarray}%
-  \PreviewEnvironment[][\noindent#1]{eqnarray*}%
-  \PreviewEnvironment{displaymath}%
-}}
-\begingroup
-\def\next#1#2{%
-  \endgroup
-  \DeclareOption{textmath}{%
-    \PreviewEnvironment{math}%
-    \preview@delay{\ifx#1\@undefined \let#1=$%$
-      \fi\catcode`\$=\active
-      \ifx\xyreuncatcodes\@undefined\else
-        \edef\next{\catcode`@=\the\catcode`@\relax}%
-        \makeatother\expandafter\xyreuncatcodes\next\fi}%
-    \pr@advise@ship\(\pr@endaftergroup{}% \)
-    \pr@advise@ship#1{\@firstoftwo{\let#1=#2%
-        \futurelet\reserved@a\pr@textmathcheck}}{}}%
-  \def\pr@textmathcheck{\expandafter\pr@endaftergroup
-    \ifx\reserved@a#1{#2#2}\expandafter\@gobbletwo\fi#2}}
-\lccode`\~=`\$
-\lowercase{\expandafter\next\expandafter~}%
-  \csname pr@\string$%$
-  \endcsname
-\DeclareOption{graphics}{%
-  \PreviewMacro[*[[!]{\includegraphics}%]]
-}
-\def\pr@floatfix#1#2{\ifx#1#2%
-  \ifx#1\@undefined\else
-  \PackageWarningNoLine{preview}{%
-Your document class has a bad definition^^J
-of \string#1, most likely^^J
-\string\let\string#1=\string#2^^J
-which has now been changed to^^J
-\string\def\string#1{\string#2}^^J
-because otherwise subsequent changes to \string#2^^J
-(like done by several packages changing float behaviour)^^J
-can't take effect on \string#1.^^J
-Please complain to your document class author}%
-  \def#1{#2}\fi\fi}
-\begingroup
-\def\next#1#2{\endgroup
-  \DeclareOption{floats}{%
-    \pr@floatfix\endfigure\end@float
-    \pr@floatfix\endtable\end@float
-    \pr@floatfix#1\end@dblfloat
-    \pr@floatfix#2\end@dblfloat
-    \PreviewSnarfEnvironment[![]{@float}%]
-    \PreviewSnarfEnvironment[![]{@dblfloat}%]
-  }}
-\expandafter\next\csname endfigure*\expandafter\endcsname
-  \csname endtable*\endcsname
-\DeclareOption{sections}{%
-  \PreviewMacro[!!!!!!*[[!]{\@startsection}%]]
-  \PreviewMacro[*[[!]{\chapter}%]]
-}
-\DeclareOption*
-   {\InputIfFileExists{pr\CurrentOption.def}{}{\OptionNotUsed}}
-\def\PreviewMacro{\@ifstar\pr@starmacro\pr@macro}
-\long\def\pr@domacro#1#2{%
-   \long\def\next##1{#2}%
-   \pr@callafter\next#1]\pr@endparse}
-\newcommand\pr@macro[1][]{%
-   \toks@{\pr@domacro{#1}}%
-   \long\edef\next[##1]##2{%
-    \noexpand\pr@advise@ship{##2}{\the\toks@{##1\noexpand\pr@endbox}}{}}%
-   \@ifnextchar[\next\pr@macroii}
-\def\pr@macroii{\next[##1]}
-\long\def\pr@endmacro#1{#1\pr@endbox}
-\long\def\pr@protect@domacro#1#2{\pr@protect{%
-    \long\def\next##1{#2}%
-    \pr@callafter\next#1]\pr@endparse}}
-\newcommand\pr@starmacro[1][]{\toks@{\pr@protect@domacro{#1}}%
-    \long\edef\next[##1]##2{%
-      \noexpand\pr@advise##2{\the\toks@{##1}}}%
-    \@ifnextchar[\next{\next[]}}
-\def\PreviewOpen{\@ifstar\pr@starmacro\pr@open}
-\newcommand\pr@open[1][]{%
-   \toks@{\pr@domacro{#1}}%
-   \long\edef\next[##1]##2{%
-     \noexpand\pr@advise##2{\begingroup
-     \noexpand\pr@protect@ship
-        {\the\toks@{\begingroup\aftergroup\noexpand\pr@endbox##1}}%
-        {\endgroup}}}%
-   \@ifnextchar[\next\pr@macroii}
-\def\PreviewClose{\@ifstar\pr@starmacro\pr@close}
-\newcommand\pr@close[1][]{%
-  \toks@{\pr@domacro{#1}}%
-  \long\edef\next[##1]##2{%
-   \noexpand\pr@advise{##2}{\the\toks@{##1\endgroup}}}%
-   \@ifnextchar[\next\pr@macroii}
-\def\PreviewEnvironment{\@ifstar\pr@starenv\pr@env}
-\newcommand\pr@starenv[1][]{\toks@{\pr@starmacro[{#1}]}%
-  \long\edef\next##1##2{%
-    \the\toks@[{##2}]##1}%
-  \begingroup\pr@starenvii}
-\newcommand\pr@starenvii[2][]{\endgroup
-  \expandafter\next\csname#2\endcsname{#1}%
-  \expandafter\pr@starmacro\csname end#2\endcsname}
-\newcommand\pr@env[1][]{%
-   \toks@{\pr@domacro{#1}}%
-   \long\edef\next[##1]##2{%
-   \noexpand\expandafter\noexpand\pr@advise@ship
-     \noexpand\csname##2\noexpand\endcsname{\the\toks@
-      {\begingroup\aftergroup\noexpand\pr@endbox##1}}{\endgroup}}%
-   \@ifnextchar[\next\pr@macroii %]
- }
-\newcommand{\PreviewSnarfEnvironment}[2][]{%
-  \expandafter\pr@advise
-   \csname #2\endcsname{\pr@snarfafter{#1}}%
- \expandafter\pr@advise
-   \csname end#2\endcsname{\pr@endsnarf}}
-\let\pr@ship@start\@empty
-\let\pr@ship@end\@empty
-\newenvironment{preview}{\ignorespaces}{\ifhmode\unskip\fi}
-\newenvironment{nopreview}{\ignorespaces}{\ifhmode\unskip\fi}
-\ProcessOptions\relax
-\ifPreview\else\expandafter\endinput\fi
-%%    The preview style for extracting previews from LaTeX documents.
-%%    Developed as part of AUCTeX <URL:https://www.gnu.org/software/auctex/>.
-\newif\ifpr@outer
-\pr@outertrue
-\newcount\pr@snippet
-\global\pr@snippet=1
-\def\pr@protect{\ifx\protect\@typeset@protect
-  \ifpr@outer \expandafter\expandafter\expandafter
-     \@secondoftwo\fi\fi\@gobble}
-\def\pr@protect@ship{\pr@protect{\@firstoftwo\pr@startbox}%
-   \@gobbletwo}
-\def\pr@insert{\begingroup\afterassignment\pr@insertii\count@}
-\def\pr@insertii{\endgroup\setbox\pr@box\vbox}
-\def\pr@mark{{\afterassignment}\toks@}
-\def\pr@marks{{\aftergroup\pr@mark\afterassignment}\count@}
-\newbox\pr@box
-\long\def\pr@startbox#1#2{%
-  \ifpr@outer
-    \toks@{#2}%
-    \edef\pr@cleanup{\the\toks@}%
-    \setbox\pr@box\vbox\bgroup
-    \break
-    \pr@outerfalse\@arrayparboxrestore
-    \let\insert\pr@insert
-    \let\mark\pr@mark
-    \let\marks\pr@marks
-    \expandafter\expandafter\expandafter
-    \pr@ship@start
-    \expandafter\@firstofone
-  \else
-     \expandafter \@gobble
-  \fi{#1}}
-\def\pr@endbox{%
-   \let\reserved@a\relax
-   \ifvmode \edef\reserved@a{\the\everypar}%
-      \ifx\reserved@a\@empty\else
-            \dimen@\prevdepth
-            \noindent\par
-            \setbox\z@\lastbox\unskip\unpenalty
-            \prevdepth\dimen@
-            \setbox\z@\hbox\bgroup\penalty-\maxdimen\unhbox\z@
-              \ifnum\lastpenalty=-\maxdimen\egroup
-              \else\egroup\box\z@ \fi\fi\fi
-   \ifhmode \par\unskip\setbox\z@\lastbox
-     \nointerlineskip\hbox{\unhbox\z@\/}%
-   \else \unskip\unpenalty\unskip \fi
-   \egroup
-   \setbox\pr@box\vbox{%
-       \baselineskip\z@skip \lineskip\z@skip \lineskiplimit\z@
-       \@begindvi
-       \nointerlineskip
-       \splittopskip\z@skip\setbox\z@\vsplit\pr@box to\z@
-       \unvbox\z@
-       \nointerlineskip
-       %\color@setgroup
-       \box\pr@box
-       %\color@endgroup
-     }%
-   \pr@ship@end
-   {\let\protect\noexpand
-   \ifx\pr@offset@override\@undefined
-     \voffset=-\ht\pr@box
-     \hoffset=\z@
-   \fi
-   \c@page=\pr@snippet
-   \pr@shipout
-   \ifpr@fixbb\hbox{%
-     \dimen@\wd\pr@box
-     \@tempdima\ht\pr@box
-     \@tempdimb\dp\pr@box
-     \box\pr@box
-     \llap{\raise\@tempdima\copy\pr@markerbox\kern\dimen@}%
-     \lower\@tempdimb\copy\pr@markerbox}%
-   \else \box\pr@box \fi}%
-   \global\advance\pr@snippet\@ne
-   \pr@cleanup
-}
-\def\pr@@shipout{\deadcycles\z@\bgroup\setbox\z@\box\voidb@x
-  \afterassignment\pr@shipoutegroup\setbox\z@}
-\def\pr@shipoutegroup{\ifvoid\z@ \expandafter\aftergroup\fi \egroup}
-\ifx\shipout\@undefined
-  \begingroup
-  \catcode`\:=10
-  \catcode`\_=10
-  \ifx\tex_shipout:D\@undefined
-    \PackageError{preview}{Cannot find \protect\shipout\space primitive}%
-    {preview needs to replace the \protect\shipout\space primitive with
-      its own routine to do its work.  Due to packages or formats
-      interfering, it cannot be identified.  Please report this.}
-  \else
-    \global\let\pr@shipout=\tex_shipout:D
-    \global\let\tex_shipout:D=\pr@@shipout
-  \fi
-  \endgroup
-\else
-  \let\pr@shipout=\shipout
-  \let\shipout=\pr@@shipout
-\fi
-\def\pr@parseit#1{\csname pr@parse#1\endcsname}
-\let\pr@endparse=\@percentchar
-\def\next#1{%
-\def\pr@callafter{%
-  \afterassignment\pr@parseit
-  \let#1= }}
-\expandafter\next\csname pr@parse\pr@endparse\endcsname
-\long\expandafter\def\csname pr@parse*\endcsname#1\pr@endparse#2{%
-  \begingroup\toks@{#1\pr@endparse{#2}}%
-  \edef\next##1{\endgroup##1\the\toks@}%
-  \@ifstar{\next{\pr@parse@*}}{\next\pr@parseit}}
-\long\expandafter\def\csname pr@parse[\endcsname#1\pr@endparse#2{%
-  \begingroup\toks@{#1\pr@endparse{#2}}%
-  \edef\next##1{\endgroup##1\the\toks@}%
-  \@ifnextchar[{\next\pr@bracket}{\next\pr@parseit}}
-\long\def\pr@bracket#1\pr@endparse#2[#3]{%
-   \pr@parseit#1\pr@endparse{#2[{#3}]}}
-\expandafter\let\csname pr@parse]\endcsname=\pr@parseit
-\long\def\pr@parse#1\pr@endparse#2#3{%
-  \pr@parseit#1\pr@endparse{#2{#3}}}
-\expandafter\let\csname pr@parse!\endcsname=\pr@parse
-\long\expandafter\def\csname pr@parse?\endcsname#1#2\pr@endparse#3{%
-  \begingroup\toks@{#2\pr@endparse{#3}}%
-  \@ifnextchar#1{\pr@parsecond\@firstoftwo}%
-                {\pr@parsecond\@secondoftwo}}
-\def\pr@parsecond#1{\expandafter\endgroup
-  \expandafter\expandafter\expandafter\pr@parseit
-  \expandafter#1\the\toks@}
- \long\def\pr@parse@#1#2\pr@endparse#3{%
-   \pr@parseit #2\pr@endparse{#3#1}}
-\long\expandafter\def\csname pr@parse-\endcsname
-  #1\pr@endparse#2{\begingroup
-  \toks@{\endgroup\pr@parseit #1\pr@endparse{#2}}%
-  {\aftergroup\the\aftergroup\toks@ \afterassignment}%
-  \let\next= }
-\long\expandafter\def\csname pr@parse:\endcsname
-  #1#2#3\pr@endparse#4{\begingroup
-    \toks@{\endgroup \pr@parseit#3\pr@endparse{#4}}%
-    \long\def\next#1{#2}%
-    \the\expandafter\toks@\next}
-\long\expandafter\def\csname pr@parse#\endcsname
-  #1#2#3\pr@endparse#4{\begingroup
-    \toks@{#4}%
-    \long\edef\next##1{\toks@{\the\toks@##1}}%
-    \toks@{\endgroup \pr@parseit#3\pr@endparse}%
-    \long\def\reserved@a#1{{#2}}%
-    \the\expandafter\next\reserved@a}
-\def\pr@endaftergroup#1{#1\aftergroup\pr@endbox}
-\let\pr@endsnarf\relax
-\long\def\pr@snarfafter#1{\ifpr@outer
-     \pr@ship@start
-     \let\pr@ship@start\relax
-     \let\pr@endsnarf\endgroup
-   \else
-     \let\pr@endsnarf\relax
-   \fi
-  \pr@protect{\pr@callafter\pr@startsnarf#1]\pr@endparse}}
-\def\pr@startsnarf#1{#1\begingroup
-   \pr@startbox{\begingroup\aftergroup\pr@endbox}{\endgroup}%
-   \ignorespaces}
-\renewenvironment{preview}{\begingroup
-   \pr@startbox{\begingroup\aftergroup\pr@endbox}%
-               {\endgroup}%
-   \ignorespaces}%
-   {\ifhmode\unskip\fi\endgroup}
-\renewenvironment{nopreview}{\pr@outerfalse\ignorespaces}%
-  {\ifhmode\unskip\fi}
-\newtoks\pr@output
-\pr@output\output
-\output{%
-  \pr@outerfalse
-  \let\@begindvi\@empty
-  \the\pr@output}
-\let\output\pr@output
-\def\pr@typeinfos{\typeout{Preview: Fontsize \f@size pt}%
-  \ifnum\mag=\@m\else\typeout{Preview: Magnification \number\mag}\fi
-  \ifx\pdfoutput\@undefined
-    \ifx\XeTeXversion\@undefined \else
-      % FIXME: The message should not be emitted if XeTeX does not produce
-      % PDF.  There does not seem to be a primitive for that, though.
-      \typeout{Preview: PDFoutput 1}%
-    \fi
-  \else
-    \ifx\pdfoutput\relax \else
-      \ifnum\pdfoutput>\z@
-        \typeout{Preview: PDFoutput 1}%
-      \fi
-    \fi
-  \fi
-}
-\AtBeginDocument{\pr@typeinfos}
-\pr@loadcfg{prdefault}
-\endinput
-%%
-%% End of file `preview.sty'.
diff --git a/latex/prfootnotes.def b/latex/prfootnotes.def
deleted file mode 100644
index 5831edf3..00000000
--- a/latex/prfootnotes.def
+++ /dev/null
@@ -1,28 +0,0 @@
-%%
-%% This is file `prfootnotes.def',
-%% generated with the docstrip utility.
-%%
-%% The original source files were:
-%%
-%% preview.dtx  (with options: `footnotes')
-%% 
-%% IMPORTANT NOTICE:
-%% 
-%% For the copyright see the source file.
-%% 
-%% Any modified versions of this file must be renamed
-%% with new filenames distinct from prfootnotes.def.
-%% 
-%% For distribution of the original source see the terms
-%% for copying and modification in the file preview.dtx.
-%% 
-%% This generated file may be distributed as long as the
-%% original source files, as listed above, are part of the
-%% same distribution. (The sources need not necessarily be
-%% in the same archive or directory.)
-%%    The preview style for extracting previews from LaTeX documents.
-%%    Developed as part of AUCTeX <URL:https://www.gnu.org/software/auctex/>.
-\PreviewMacro[[!]\footnote %]
-\endinput
-%%
-%% End of file `prfootnotes.def'.
diff --git a/latex/prlyx.def b/latex/prlyx.def
deleted file mode 100644
index ac3397e2..00000000
--- a/latex/prlyx.def
+++ /dev/null
@@ -1,32 +0,0 @@
-%%
-%% This is file `prlyx.def',
-%% generated with the docstrip utility.
-%%
-%% The original source files were:
-%%
-%% preview.dtx  (with options: `lyx')
-%% 
-%% IMPORTANT NOTICE:
-%% 
-%% For the copyright see the source file.
-%% 
-%% Any modified versions of this file must be renamed
-%% with new filenames distinct from prlyx.def.
-%% 
-%% For distribution of the original source see the terms
-%% for copying and modification in the file preview.dtx.
-%% 
-%% This generated file may be distributed as long as the
-%% original source files, as listed above, are part of the
-%% same distribution. (The sources need not necessarily be
-%% in the same archive or directory.)
-%%    The preview style for extracting previews from LaTeX documents.
-%%    Developed as part of AUCTeX <URL:https://www.gnu.org/software/auctex/>.
-\ifPreview\else\expandafter\endinput\fi
-\pr@loadcfg{prlyx}
-\g@addto@macro\pr@ship@end{\typeout{Preview:
-  Snippet \number\pr@snippet\space
-  \number\ht\pr@box\space \number\dp\pr@box \space\number\wd\pr@box}}
-\endinput
-%%
-%% End of file `prlyx.def'.
diff --git a/latex/prshowbox.def b/latex/prshowbox.def
deleted file mode 100644
index 32a48d02..00000000
--- a/latex/prshowbox.def
+++ /dev/null
@@ -1,32 +0,0 @@
-%%
-%% This is file `prshowbox.def',
-%% generated with the docstrip utility.
-%%
-%% The original source files were:
-%%
-%% preview.dtx  (with options: `showbox')
-%% 
-%% IMPORTANT NOTICE:
-%% 
-%% For the copyright see the source file.
-%% 
-%% Any modified versions of this file must be renamed
-%% with new filenames distinct from prshowbox.def.
-%% 
-%% For distribution of the original source see the terms
-%% for copying and modification in the file preview.dtx.
-%% 
-%% This generated file may be distributed as long as the
-%% original source files, as listed above, are part of the
-%% same distribution. (The sources need not necessarily be
-%% in the same archive or directory.)
-%%    The preview style for extracting previews from LaTeX documents.
-%%    Developed as part of AUCTeX <URL:https://www.gnu.org/software/auctex/>.
-\ifPreview\else\expandafter\endinput\fi
-\AtEndOfPackage{%
-  \showboxbreadth\maxdimen
-  \showboxdepth\maxdimen}
-\g@addto@macro\pr@ship@end{\showbox\pr@box}
-\endinput
-%%
-%% End of file `prshowbox.def'.
diff --git a/latex/prshowlabels.def b/latex/prshowlabels.def
deleted file mode 100644
index 98ef0ef5..00000000
--- a/latex/prshowlabels.def
+++ /dev/null
@@ -1,67 +0,0 @@
-%%
-%% This is file `prshowlabels.def',
-%% generated with the docstrip utility.
-%%
-%% The original source files were:
-%%
-%% preview.dtx  (with options: `showlabels')
-%% 
-%% IMPORTANT NOTICE:
-%% 
-%% For the copyright see the source file.
-%% 
-%% Any modified versions of this file must be renamed
-%% with new filenames distinct from prshowlabels.def.
-%% 
-%% For distribution of the original source see the terms
-%% for copying and modification in the file preview.dtx.
-%% 
-%% This generated file may be distributed as long as the
-%% original source files, as listed above, are part of the
-%% same distribution. (The sources need not necessarily be
-%% in the same archive or directory.)
-%%    The preview style for extracting previews from LaTeX documents.
-%%    Developed as part of AUCTeX <URL:https://www.gnu.org/software/auctex/>.
-\ifPreview\else\expandafter\endinput\fi
-\newbox\pr@labelbox
-\def\pr@label#1{\pr@@label{#1}%
-   \ifpr@setbox\z@{#1}%
-     \global\setbox\pr@labelbox\vbox{\unvbox\pr@labelbox
-      \box\z@}\egroup\fi}
-\def\ifpr@setbox#1#2{%
-  \romannumeral%
-  \ifx\protect\@typeset@protect\ifpr@outer\else
-   \z@\bgroup
-   \protected@edef\next{#2}\@onelevel@sanitize\next
-   \ifx\next\@empty\egroup\romannumeral\else
-   \ifx\next\pr@lastlabel\egroup\romannumeral\else
-   \global\let\pr@lastlabel\next
-   \setbox#1\pr@boxlabel\pr@lastlabel
-   \expandafter\expandafter\romannumeral\fi\fi\fi\fi
-   \z@\iffalse\iftrue\fi}
-\def\pr@boxlabel#1{\hbox{\normalfont
-   \footnotesize\ttfamily\fboxsep0.4ex\relax\fbox{#1}}}
-\def\pr@maketag#1{\pr@@maketag{#1}%
-  \ifpr@setbox\z@{\df@label}%
-      \global\setbox\pr@labelbox\vbox{%
-         \hrule\@width\wd\z@\@height\z@
-         \unvbox\pr@labelbox}%
-        \wd\z@\z@\box\z@ \egroup\fi}
-\g@addto@macro\pr@ship@start{%
-  \global\setbox\pr@labelbox\box\voidb@x
-  \xdef\pr@lastlabel{}%
-  \global\let\pr@@label\label \let\label\pr@label
-  \global\let\pr@@maketag\maketag@@@
-  \let\maketag@@@\pr@maketag
-}
-\pr@addto@front\pr@ship@end{%
-   \ifx \label\pr@label \global\let\label\pr@@label \fi
-   \ifx \maketag@@@\pr@maketag
-        \global\let\maketag@@@\pr@@maketag \fi
-   \ifvoid\pr@labelbox
-   \else \setbox\pr@box\hbox{%
-         \box\pr@box\,\box\pr@labelbox}%
-   \fi}
-\endinput
-%%
-%% End of file `prshowlabels.def'.
diff --git a/latex/prtightpage.def b/latex/prtightpage.def
deleted file mode 100644
index 34643d9a..00000000
--- a/latex/prtightpage.def
+++ /dev/null
@@ -1,146 +0,0 @@
-%%
-%% This is file `prtightpage.def',
-%% generated with the docstrip utility.
-%%
-%% The original source files were:
-%%
-%% preview.dtx  (with options: `tightpage')
-%% 
-%% IMPORTANT NOTICE:
-%% 
-%% For the copyright see the source file.
-%% 
-%% Any modified versions of this file must be renamed
-%% with new filenames distinct from prtightpage.def.
-%% 
-%% For distribution of the original source see the terms
-%% for copying and modification in the file preview.dtx.
-%% 
-%% This generated file may be distributed as long as the
-%% original source files, as listed above, are part of the
-%% same distribution. (The sources need not necessarily be
-%% in the same archive or directory.)
-%%    The preview style for extracting previews from LaTeX documents.
-%%    Developed as part of AUCTeX <URL:https://www.gnu.org/software/auctex/>.
-\ifx\PreviewBorder\@undefined
-  \newdimen\PreviewBorder
-  \PreviewBorder=0.50001bp
-\fi
-\ifx\PreviewBbAdjust\@undefined
-  \def\PreviewBbAdjust{-\PreviewBorder -\PreviewBorder
-    \PreviewBorder \PreviewBorder}
-\fi
-\ifPreview\else\expandafter\endinput\fi
-\def\pr@nextbb{\edef\next{\next\space\number\dimen@}%
-  \expandafter\xdef\csname pr@bb@%
-    \romannumeral\count@\endcsname{\the\dimen@}%
-  \advance\count@\@ne\ifnum\count@<5
-  \afterassignment\pr@nextbb\dimen@=\fi}
-\ifnum\pr@graphicstype=\z@
-  \ifcase
-    \ifx\XeTeXversion\@undefined
-      \ifx\pdfoutput\@undefined \@ne\fi
-      \ifx\pdfoutput\relax \@ne\fi
-      \ifnum\pdfoutput>\z@ \tw@\fi \@ne
-    \else \thr@@\fi
-  \or \ExecuteOptions{dvips}\relax
-  \or \ExecuteOptions{pdftex}\relax
-  \or \ExecuteOptions{xetex}\relax\fi\fi
-\global\let\pr@bbadjust\@empty
-\pr@addto@front\pr@ship@end{\begingroup
-  \let\next\@gobble
-  \count@\@ne\afterassignment\pr@nextbb
-  \dimen@\PreviewBbAdjust
-  \ifx\pr@bbadjust\next
-  \else \global\let\pr@bbadjust\next
-  \typeout{Preview: Tightpage \pr@bbadjust}%
-  \fi\endgroup}
-\ifcase\pr@graphicstype
-\or
-  \g@addto@macro\pr@ship@end{\setbox\pr@box\hbox{%
-    \special{ps::\pr@bbadjust\space
-      \number\ifdim\ht\pr@box>\z@ \ht\pr@box
-             \else \z@
-             \fi \space
-      \number\ifdim\dp\pr@box>\z@ \dp\pr@box
-             \else \z@
-             \fi \space
-      \number\ifdim\wd\pr@box>\z@ \wd\pr@box
-             \else \z@
-             \fi}\box\pr@box}}
-\or
-  \g@addto@macro\pr@ship@end{{\dimen@\ht\pr@box
-    \ifdim\dimen@<\z@ \dimen@\z@\fi
-    \advance\dimen@\pr@bb@iv
-    \dimen@ii=\dimen@
-    \global\pdfvorigin\dimen@
-    \dimen@\dp\pr@box
-    \ifdim\dimen@<\z@ \dimen@\z@\fi
-    \advance\dimen@-\pr@bb@ii
-    \advance\dimen@\dimen@ii
-    \global\pdfpageheight\dimen@
-    \dimen@\wd\pr@box
-    \ifdim\dimen@<\z@ \dimen@=\z@\fi
-    \advance\dimen@-\pr@bb@i
-    \advance\dimen@\pr@bb@iii
-    \global\pdfpagewidth\dimen@
-    \global\pdfhorigin-\pr@bb@i}}
-\or
-  \g@addto@macro\pr@ship@end{\dimen@\ht\pr@box
-    \ifdim\dimen@<\z@ \dimen@\z@\fi
-    \advance\dimen@\pr@bb@iv
-    \dimen@ii=\dimen@
-    \voffset=-1in
-    \advance\voffset\dimen@
-    \advance\voffset-\ht\pr@box
-    \dimen@\dp\pr@box
-    \ifdim\dimen@<\z@ \dimen@\z@\fi
-    \advance\dimen@-\pr@bb@ii
-    \advance\dimen@\dimen@ii
-    \global\pdfpageheight\dimen@
-    \global\paperheight\dimen@
-    \dimen@\wd\pr@box
-    \ifdim\dimen@<\z@ \dimen@=\z@\fi
-    \advance\dimen@-\pr@bb@i
-    \advance\dimen@\pr@bb@iii
-    \global\pdfpagewidth\dimen@
-    \hoffset=-1in
-    \advance\hoffset-\pr@bb@i
-    \let\pr@offset@override\@empty}
-\fi
-\ifnum\pr@graphicstype=\@ne
-\preview@delay{\AtBeginDvi{%
-  \special{!/preview@tightpage true def (%
-     compatibility PostScript comment for dvipng<=1.5 }
-  \special{!userdict begin/bop-hook{%
-     7{currentfile token not{stop}if
-       65781.76 div DVImag mul}repeat
-       72 add 72 2 copy gt{exch}if 4 2 roll
-       neg 2 copy lt{exch}if dup 0 gt{pop 0 exch}%
-       {exch dup 0 lt{pop 0}if}ifelse 720 add exch 720 add
-       3 1 roll
-       4{5 -1 roll add 4 1 roll}repeat
-     <</PageSize[5 -1 roll 6 index sub 5 -1 roll 5 index sub]%
-       /PageOffset[7 -2 roll [1 1 dtransform exch]%
-       {0 ge{neg}if exch}forall]>>setpagedevice%
-       //bop-hook exec}bind def end}
-  \special{!userdict (some extra code to avoid
-     dvipng>=1.6 unknown special:
-       7{currentfile token not{stop}if 65781.76 div })) pop}
-  \special{!userdict begin/bop-hook{%
-  preview-bop-level 0 le{%
-     7{currentfile token not{stop}if
-       65781.76 div DVImag mul}repeat
-     72 add 72 2 copy gt{exch}if 4 2 roll
-     neg 2 copy lt{exch}if dup 0 gt{pop 0 exch}%
-     {exch dup 0 lt{pop 0}if}ifelse 720 add exch 720 add
-     3 1 roll
-    4{5 -1 roll add 4 1 roll}repeat
-     <</PageSize[5 -1 roll 6 index sub 5 -1 roll 5 index sub]%
-       /PageOffset[7 -2 roll [1 1 dtransform exch]%
-       {0 ge{neg}if exch}forall]>>setpagedevice}if%
-     //bop-hook exec}bind def end}}}
-\fi
-\endinput
-%%
-%% End of file `prtightpage.def'.
diff --git a/latex/prtracingall.def b/latex/prtracingall.def
deleted file mode 100644
index ec6a8396..00000000
--- a/latex/prtracingall.def
+++ /dev/null
@@ -1,30 +0,0 @@
-%%
-%% This is file `prtracingall.def',
-%% generated with the docstrip utility.
-%%
-%% The original source files were:
-%%
-%% preview.dtx  (with options: `tracingall')
-%% 
-%% IMPORTANT NOTICE:
-%% 
-%% For the copyright see the source file.
-%% 
-%% Any modified versions of this file must be renamed
-%% with new filenames distinct from prtracingall.def.
-%% 
-%% For distribution of the original source see the terms
-%% for copying and modification in the file preview.dtx.
-%% 
-%% This generated file may be distributed as long as the
-%% original source files, as listed above, are part of the
-%% same distribution. (The sources need not necessarily be
-%% in the same archive or directory.)
-%%    The preview style for extracting previews from LaTeX documents.
-%%    Developed as part of AUCTeX <URL:https://www.gnu.org/software/auctex/>.
-\ifPreview\else\expandafter\endinput\fi
-\pr@addto@front\pr@ship@start{\let\tracingonline\count@
-  \let\errorstopmode\@empty\tracingall}
-\endinput
-%%
-%% End of file `prtracingall.def'.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]