"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "doc/preview-dtxdoc.pl" between
auctex-12.2.tar.gz and auctex-12.3.tar.gz

About: AUCTEX is an extensible package for writing and formatting TeX files in GNU Emacs and XEmacs.

preview-dtxdoc.pl  (auctex-12.2):preview-dtxdoc.pl  (auctex-12.3)
#!/usr/bin/perl #!/usr/bin/perl
# -*- coding: iso-latin-1-unix; -*-
# Autoconverter from preview.dtx to preview-dtxdoc.texi # Autoconverter from preview.dtx to preview-dtxdoc.texi
# Author: Jan-Åke Larsson <jalar@mai.liu.se> # Author: Jan-Åke Larsson <jalar@mai.liu.se>
# Maintainer: auctex-devel@gnu.org # Maintainer: auctex-devel@gnu.org
# Copyright (C) 2002, 2005 Free Software Foundation, Inc. # Copyright (C) 2002, 2005, 2020 Free Software Foundation, Inc.
# This file is part of AUCTeX. # This file is part of AUCTeX.
# AUCTeX is free software; you can redistribute it and/or modify it # AUCTeX is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by # under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3, or (at your option) # the Free Software Foundation; either version 3, or (at your option)
# any later version. # any later version.
# AUCTeX is distributed in the hope that it will be useful, but # AUCTeX is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of # WITHOUT ANY WARRANTY; without even the implied warranty of
skipping to change at line 54 skipping to change at line 55
# Noindent is used sometimes after \end{quote} (see below) # Noindent is used sometimes after \end{quote} (see below)
$noindent=""; $noindent="";
# Quote environments is translated into @example _without_ # Quote environments is translated into @example _without_
# @code{..} inside (see below) # @code{..} inside (see below)
$quote=""; $quote="";
MAIN: while (<STDIN>) { MAIN: while (<STDIN>) {
s/^%//; s/^%//;
s/\\%/%/g; s/\\%/%/g;
# Comment
s/\^\^A.*\n//;
# Text-substitution macros # Text-substitution macros
s/\@/\@\@/g; s/\@/\@\@/g;
s/\\#/#/g; s/\\#/#/g;
s/AUC~?\\TeX[\\ ]?/\@AUCTeX{}/g; s/AUC~?\\TeX[\\ ]?/\@AUCTeX{}/g;
s/\\LaTeX[\\ ]?/\@LaTeX{}/g; s/\\LaTeX[\\ ]?/\@LaTeX{}/g;
s/\\TeX[\\ ]?/\@TeX{}/g; s/\\TeX[\\ ]?/\@TeX{}/g;
s/\\previewlatex[\\ ]?/\@previewlatex{}/g; s/\\previewlatex[\\ ]?/\@previewlatex{}/g;
s/EPS/\@acronym{EPS}/g; s/EPS/\@acronym{EPS}/g;
s/DVI/\@acronym{DVI}/g; s/DVI/\@acronym{DVI}/g;
s/~/\@w{ }/g; s/~/\@w{ }/g;
 End of changes. 3 change blocks. 
1 lines changed or deleted 5 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)