emacs-elpa-diffs
[Top][All Lists]
Advanced

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

[elpa] externals/auctex cf6480c 07/57: Make preview.sty compatible with


From: Tassilo Horn
Subject: [elpa] externals/auctex cf6480c 07/57: Make preview.sty compatible with recent luatex
Date: Tue, 25 Jul 2017 14:02:27 -0400 (EDT)

branch: externals/auctex
commit cf6480c52138e989d18734f61395bc61e0178932
Author: Arash Esbati <address@hidden>
Commit: Arash Esbati <address@hidden>

    Make preview.sty compatible with recent luatex
    
    * latex/preview.dtx: Check if file luatex85.sty is loadable and
    require the package (bug#25601).
---
 latex/preview.dtx | 13 +++++++++----
 1 file changed, 9 insertions(+), 4 deletions(-)

diff --git a/latex/preview.dtx b/latex/preview.dtx
index c98a451..8106354 100644
--- a/latex/preview.dtx
+++ b/latex/preview.dtx
@@ -3,7 +3,7 @@
 %%    Developed as part of AUCTeX <URL:http://www.gnu.org/software/auctex>.
 %
 %     Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006,
-%                   2010 Free Software Foundation
+%                   2010, 2017 Free Software Foundation
 %
 %     This program is free software; you can redistribute it and/or modify
 %     it under the terms of the GNU General Public License as published by
@@ -20,7 +20,7 @@
 %     Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
 %     Boston, MA 02110-1301  USA
 % \fi
-% \CheckSum{1758}
+% \CheckSum{1760}
 % \GetFileInfo{preview.sty}
 % \date{\filedate}
 % \author{David address@hidden
@@ -37,7 +37,7 @@
 % Current uses of the package include the \previewlatex\ package for
 % WYSIWYG functionality in the AUC\TeX\ editing environment,
 % generation of previews in LyX, as part of the operation of the
-% ps4pdf package, the tbook XML system and some other tools.
+% pst-pdf package, the tbook XML system and some other tools.
 % 
 % Producing EPS files with Dvips and its derivatives using the
 % \texttt{-E} option is not a good alternative: People make do by
@@ -494,13 +494,18 @@
 %  got executed.
 address@hidden
 %  The macro address@hidden is used for loading in configuration
-%  files, unless disabled by the |noconfig| option.
+%  files, unless disabled by the |noconfig| option.  After discussion
+%  with maintainer of pst-pdf package Rolf Niepraschk (Thanks!), we
+%  add here a check for existence of |luatex85.sty| and load it if
+%  available.  With this, |preview| will also work with newer |luatex|
+%  versions.
 %    \begin{macrocode}
 %<*!active>
 address@hidden@gobble
 address@hidden@gobbletwo
 address@hidden@ship#1#2#3{}
 address@hidden
+\IfFileExists{luatex85.sty}{\RequirePackage{luatex85}}{}
 address@hidden@gobble}
 %    \end{macrocode}
 address@hidden@front}



reply via email to

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