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

Re: LaTeX & DFSG



> Date: Sat, 20 Jul 2002 02:07:05 +0200
> From: Frank Mittelbach <frank.mittelbach@latex-project.org>

> 
> 5) -- that's a little tricky with that file as it is a boot-trapping TeX file
>       in essentially every other tex/latex file the identification stuff is on
>       top but when a kernel is made Tex starts out stupid and doesn't even
>       know which chars mean what, so you have to teach it like a baby.
>       As result the indentification strings are a little scattered around.
>       (guess we should put some comment on top how to find them)
>       to be really correct the right thing is probably to search the file for
>       references of the string LaTeX and replace them as needed.


I just tested this on my machine. The simplest way to change the
banner is to change the lines


-------------------------------------------------------------
\everyjob{\typeout{\fmtname
                                     \space<\fmtversion>}}
\immediate\write16{\fmtname
                                     \space<\fmtversion>}

-------------------------------------------------------------

to the lines

-------------------------------------------------------------
\def\realfmtname{euroinsteadofdollar}
\everyjob{\typeout{\realfmtname
                                     \space<\fmtversion>}}
\immediate\write16{\realfmtname
                                     \space<\fmtversion>}
--------------------------------------------------------------

You see, you cannot just change \fmtname to euroinsteadofdollar,
because many LaTeX packages ask the format name and refuse to work
under wrong formats (this is not inteneded to prevent modification,
but rather to prevent the packages to be used with the wrong version
of LaTeX). So you need \fmtname to fool these programs and
\realfmtname to be honest with people (LPPL does not forbid you to
fool the computer programs, does it?)

So here is the diff file between latex.ltx and euroinsteadofdollar.ltx

------------------------------------------------------------------------
508c508
< \edef\fmtversion{2002/07/19}
---
> \edef\fmtversion{2000/06/01}
533,534c533
< \def\realfmtname{Euroinsteadofdollar}
< \everyjob{\typeout{\realfmtname
---
> \everyjob{\typeout{\fmtname
536c535
< \immediate\write16{\realfmtname
---
> \immediate\write16{\fmtname
7916,7917d7914
< \input{eurofont.sty}
< \def\${\euro}
---------------------------------------------------------------------------

I needed also new ltpatch.ltx with the lines

---------------------------------------------------------
\def\fmtversion@topatch{2002/07/19} % This patch will not work with
                                    % any other release.

\def\patch@level{0}


----------------------------------------------------------

Then the new format indeed changed all dollars to euros. 

Here is the log file which proves I am not in violation of LPPL:

-------------------------------------------------

This is TeX, Version 3.14159 (Web2C 7.3.7) (format=euroinsteadofdollar 2002.7.19
)  19 JUL 2002 20:32
**tmp
(./tmp.tex
Euroinsteadofdollar <2002/07/19>
Babel <v3.7h> and hyphenation patterns for american, french, german, ngerman, r
ussian, nohyphenation, loaded.
(/usr/local/share/texmf/tex/latex/base/article.cls
Document Class: article 2000/05/19 v1.4b Standard LaTeX document class
(/usr/local/share/texmf/tex/latex/base/size10.clo
File: size10.clo 2000/05/19 v1.4b Standard LaTeX file (size option)
)
---------------------------------------------------------------

Note that article.cls here is standard, and announces itself as such. 

-- 
Good luck

-Boris

Visit beautiful Wisconsin Dells.


-- 
To UNSUBSCRIBE, email to debian-legal-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: