diff options
Diffstat (limited to 'textproc/tth/files')
| -rw-r--r-- | textproc/tth/files/patch-gold__man.html | 38 | ||||
| -rw-r--r-- | textproc/tth/files/patch-gold__man.tex | 38 | ||||
| -rw-r--r-- | textproc/tth/files/patch-tth.c | 11 | ||||
| -rw-r--r-- | textproc/tth/files/patch-tth__man.html | 20 | ||||
| -rw-r--r-- | textproc/tth/files/patch-tth__man.tex | 20 | ||||
| -rw-r--r-- | textproc/tth/files/patch-tthprep | 11 |
6 files changed, 138 insertions, 0 deletions
diff --git a/textproc/tth/files/patch-gold__man.html b/textproc/tth/files/patch-gold__man.html new file mode 100644 index 000000000000..2f02dde5da09 --- /dev/null +++ b/textproc/tth/files/patch-gold__man.html @@ -0,0 +1,38 @@ +--- gold_man.html.orig 2011-01-25 01:20:04 UTC ++++ gold_man.html +@@ -325,7 +325,7 @@ the extra command: + <p> + + <pre> +-\input /usr/local/tth/tthprep.sty ++\input %%DATADIR%%/styles/tthprep.sty + + </pre> + +@@ -432,7 +432,7 @@ line, for example + <p> + + <pre> +-%%tth: \input /usr/local/tth/swedish.bab ++%%tth: \input %%DATADIR%%/babel/swedish.bab + + </pre> + +@@ -452,7 +452,7 @@ supported by the simplified TtH style file input via: + <p> + + <pre> +-%%tth:\input /usr/local/tth/amslatex.sty ++%%tth:\input %%DATADIR%%/styles/amslatex.sty + + </pre> + +@@ -492,7 +492,7 @@ you can add the following line in the preamble. + you can add the following line in the preamble. + + <pre> +-%%tth: \input /usr/local/tth/tthntbib.sty ++%%tth: \input %%DATADIR%%/styles/tthntbib.sty + + </pre> + Your file might already contain, or you might want also to add lines like: diff --git a/textproc/tth/files/patch-gold__man.tex b/textproc/tth/files/patch-gold__man.tex new file mode 100644 index 000000000000..05bb63942a0e --- /dev/null +++ b/textproc/tth/files/patch-gold__man.tex @@ -0,0 +1,38 @@ +--- gold_man.tex.orig 2014-06-22 20:02:23 UTC ++++ gold_man.tex +@@ -225,7 +225,7 @@ the extra command: + the extra command: + + \begin{verbatim} +-\input /usr/local/tth/tthprep.sty ++\input %%DATADIR%%/styles/tthprep.sty + \end{verbatim} + + \noindent where the path should be to wherever you unpacked or are +@@ -308,7 +308,7 @@ line, for example + line, for example + + \begin{verbatim} +-%%tth: \input /usr/local/tth/swedish.bab ++%%tth: \input %%DATADIR%%/babel/swedish.bab + \end{verbatim} + + \noindent This redefines the titles of chapters, table of contents, index, and +@@ -321,7 +321,7 @@ supported by the simplified TtH style file input via: + supported by the simplified TtH style file input via: + + \begin{verbatim} +-%%tth:\input /usr/local/tth/amslatex.sty ++%%tth:\input %%DATADIR%%/styles/amslatex.sty + \end{verbatim} + + \noindent The layout subtleties of these environments are inappropriate +@@ -352,7 +352,7 @@ you can add the following line in the preamble. + the \verb!\usepackage{natbib}! is not explicitly in your LaTeX file, + you can add the following line in the preamble. + \begin{verbatim} +-%%tth: \input /usr/local/tth/tthntbib.sty ++%%tth: \input %%DATADIR%%/styles/tthntbib.sty + \end{verbatim} + Your file might already contain, or you might want also to add lines like: + \begin{verbatim} diff --git a/textproc/tth/files/patch-tth.c b/textproc/tth/files/patch-tth.c new file mode 100644 index 000000000000..62d8b440ad47 --- /dev/null +++ b/textproc/tth/files/patch-tth.c @@ -0,0 +1,11 @@ +--- tth.c.orig 2022-11-18 20:34:51 UTC ++++ tth.c +@@ -20534,7 +20534,7 @@ YY_RULE_SETUP + \\def\\tthciteform#1#2#3#4{\\ifNAT@numbers#1\\else\\ #3, [#2\\fi}\ + \\def\\tthciteob{\\ifNAT@numbers[\\else\\fi}\ + \\def\\tthciteib{\\ifNAT@numbers\\else]\\fi}\\def\\tthcitecb{]}\ +-\\input tthntbib.sty"); ++\\input %%DATADIR%%/styles/tthntbib.sty"); + } + YY_BREAK + case 596: diff --git a/textproc/tth/files/patch-tth__man.html b/textproc/tth/files/patch-tth__man.html new file mode 100644 index 000000000000..10cfc3e30f4e --- /dev/null +++ b/textproc/tth/files/patch-tth__man.html @@ -0,0 +1,20 @@ +--- tth_man.html.orig 2025-11-03 23:36:21 UTC ++++ tth_man.html +@@ -1271,7 +1271,7 @@ without alteration of the original <span class="roman" + An example using the <tt>-p</tt> switch might be + + <pre> +-tth >file.html <file.tex -p/usr/local/tthinputs:~/mytthinputs ++tth >file.html <file.tex -p%%DATADIR%%/tthinputs:~/mytthinputs + + </pre> + +@@ -1617,7 +1617,7 @@ the extra command: + <div class="p"><!----></div> + + <pre> +-\input /usr/local/tth/tthprep.sty ++\input %%DATADIR%%/styles/tthprep.sty + + </pre> + diff --git a/textproc/tth/files/patch-tth__man.tex b/textproc/tth/files/patch-tth__man.tex new file mode 100644 index 000000000000..edc78869fa52 --- /dev/null +++ b/textproc/tth/files/patch-tth__man.tex @@ -0,0 +1,20 @@ +--- tth_man.tex.orig 2025-11-03 23:36:21 UTC ++++ tth_man.tex +@@ -1006,7 +1006,7 @@ without alteration of the original \TeX\ files, by pla + (simplified) version of the macro package on the path \TtH\ searches. + An example using the \verb!-p! switch might be + \begin{verbatim} +-tth >file.html <file.tex -p/usr/local/tthinputs:~/mytthinputs ++tth >file.html <file.tex -p%%DATADIR%%/tthinputs:~/mytthinputs + \end{verbatim} + + \index{macros!alternate} +@@ -1280,7 +1280,7 @@ the extra command: + the extra command: + + \begin{verbatim} +-\input /usr/local/tth/tthprep.sty ++\input %%DATADIR%%/styles/tthprep.sty + \end{verbatim} + + \noindent where the path should be to wherever you unpacked or are diff --git a/textproc/tth/files/patch-tthprep b/textproc/tth/files/patch-tthprep new file mode 100644 index 000000000000..8b17030dbdc0 --- /dev/null +++ b/textproc/tth/files/patch-tthprep @@ -0,0 +1,11 @@ +--- tthprep.orig 2025-11-03 23:36:21 UTC ++++ tthprep +@@ -7,7 +7,7 @@ if ls $1 ; then + if cp $1 tth_temp.tex ; then + echo "Copying latex file to:" + if ls tth_temp.tex ; then +- sed -e '/\\document/r tthprep.sty' tth_temp.tex > $1 ++ sed -e '/\\document/r %%DATADIR%%/styles/tthprep.sty' tth_temp.tex > $1 + # cat tth_prep.tex tth_temp.tex > $1 + echo "Running Latex twice on temporarily modified file:" + ls $1 |
