diff options
Diffstat (limited to 'macros')
-rw-r--r-- | macros/latex/contrib/thesis-ekf/thesis-ekf.dtx | 6 | ||||
-rw-r--r-- | macros/latex/contrib/thesis-ekf/thesis-ekf.pdf | bin | 250634 -> 248978 bytes | |||
-rw-r--r-- | macros/pdftex/mptopdf/doc/context/scripts/mkii/mptopdf.man | 4 | ||||
-rw-r--r-- | macros/pdftex/mptopdf/scripts/context/perl/mptopdf.pl | 30 |
4 files changed, 16 insertions, 24 deletions
diff --git a/macros/latex/contrib/thesis-ekf/thesis-ekf.dtx b/macros/latex/contrib/thesis-ekf/thesis-ekf.dtx index c7c3273915..0329897941 100644 --- a/macros/latex/contrib/thesis-ekf/thesis-ekf.dtx +++ b/macros/latex/contrib/thesis-ekf/thesis-ekf.dtx @@ -20,7 +20,7 @@ \ProvidesFile{thesis-ekf.dtx} %</driver> %<class>\NeedsTeXFormat{LaTeX2e}[1999/12/01] -%<class>\ProvidesClass{thesis-ekf}[2020/01/05 v3.2 Thesis class for Eszterhazy Karoly University (Eger, Hungary)] +%<class>\ProvidesClass{thesis-ekf}[2020/02/05 v3.3 Thesis class for Eszterhazy Karoly University (Eger, Hungary)] %<class> %<*driver> \documentclass{ltxdoc} @@ -59,7 +59,7 @@ % Right brace \} Tilde \~} % % \GetFileInfo{thesis-ekf.cls} -% \title{Thesis class for\\ Eszterházy Károly University\\\textsf{thesis-ekf.cls}\\[2mm]{\normalsize Version 3.2\\2020/01/05\\}} +% \title{Thesis class for\\ Eszterházy Károly University\\\textsf{thesis-ekf.cls}\\[2mm]{\normalsize Version 3.3\\2020/02/05\\}} % \author{Tibor Tómács\\{\small\ttfamily tomacs.tibor@uni-eszterhazy.hu}} % \date{} % \maketitle @@ -370,8 +370,6 @@ \AfterEndPreamble{ -\@ifundefined{l@magyar}{}{\iflanguage{magyar}{\renewcommand{\bfdefault}{b}}{}} - \ifthesisekf@tocnopagenum \hypersetup{pageanchor=false} \let\thesisekf@tableofcontents\tableofcontents diff --git a/macros/latex/contrib/thesis-ekf/thesis-ekf.pdf b/macros/latex/contrib/thesis-ekf/thesis-ekf.pdf Binary files differindex e165f10b15..1d962ebe45 100644 --- a/macros/latex/contrib/thesis-ekf/thesis-ekf.pdf +++ b/macros/latex/contrib/thesis-ekf/thesis-ekf.pdf diff --git a/macros/pdftex/mptopdf/doc/context/scripts/mkii/mptopdf.man b/macros/pdftex/mptopdf/doc/context/scripts/mkii/mptopdf.man index 56be818067..545c16fa00 100644 --- a/macros/pdftex/mptopdf/doc/context/scripts/mkii/mptopdf.man +++ b/macros/pdftex/mptopdf/doc/context/scripts/mkii/mptopdf.man @@ -1,6 +1,6 @@ -.TH "mptopdf" "1" "01-01-2019" "version 1.4.1" "convert MetaPost figures to PDF" +.TH "mptopdf" "1" "01-01-2020" "version 1.4.1" "convert MetaPost figures to PDF" .SH NAME -.B mptopdf + mptopdf - convert MetaPost figures to PDF .SH SYNOPSIS .B mptopdf [ .I OPTIONS ... diff --git a/macros/pdftex/mptopdf/scripts/context/perl/mptopdf.pl b/macros/pdftex/mptopdf/scripts/context/perl/mptopdf.pl index 165d4d2179..5fe53c98f4 100644 --- a/macros/pdftex/mptopdf/scripts/context/perl/mptopdf.pl +++ b/macros/pdftex/mptopdf/scripts/context/perl/mptopdf.pl @@ -3,6 +3,12 @@ eval '(exit $?0)' && eval 'exec perl -S $0 ${1+"$@"}' && eval 'exec perl -S $0 $ # MikTeX users can set environment variable TEXSYSTEM to "miktex". +# There have been suggestions to patch this script for dealing with different +# output templates (a relative new metapost feature) but these have given +# unwanted side effects. One can always wrap this script in another script +# to deal with whatever patterns needed. We won't touch what has worked for +# ages. (December 2019) + #D \module #D [ file=mptopdf.pl, #D version=2010.05.28, % 2000.05.29 @@ -118,14 +124,9 @@ if (($pattern eq '')||($Help)) { @files = glob "$pattern" ; } -# this patch was send via debian but is not tested by me - foreach my $file (@files) { $_ = $file ; - # if (s/\.(\d+|mps)$// && -e $file) { - if (s/\.(\d+|mps|ps)$// && -e $file) { - my $suffix = $1 ; - my $pdf = basename($_).".pdf" ; + if (s/\.(\d+|mps)$// && -e $file) { if ($miktex) { $command = "pdftex -undump=mptopdf" ; } else { @@ -141,22 +142,15 @@ foreach my $file (@files) { print "\n$program : error while processing tex file\n" ; exit 1 ; } - # my $pdfsrc = basename($_).".pdf"; - # rename ($pdfsrc, "$_-$1.pdf") ; - # if (-e $pdfsrc) { - # CopyFile ($pdfsrc, "$_-$1.pdf") ; - if ($suffix =~ m/\.\d+$/) { - rename ($pdf, "$_-$suffix.pdf") ; - if (-e $pdf) { - CopyFile ($pdf, "$_-$suffix.pdf") ; - } - $pdf = "$_-$suffix.pdf" ; + my $pdfsrc = basename($_).".pdf"; + rename ($pdfsrc, "$_-$1.pdf") ; + if (-e $pdfsrc) { + CopyFile ($pdfsrc, "$_-$1.pdf") ; } if ($done) { $report .= " +" ; } - # $report .= " $_-$1.pdf" ; - $report .= " $pdf" ; + $report .= " $_-$1.pdf" ; ++$done ; } } |