* copyright in .tex files @ 2005-08-10 14:00 Thien-Thi Nguyen 2005-08-10 14:11 ` David Kastrup 0 siblings, 1 reply; 3+ messages in thread From: Thien-Thi Nguyen @ 2005-08-10 14:00 UTC (permalink / raw) a common macro in etc/*.tex defines `year' like so: \def\year{2001} could a TeXnician confirm that is ok to change this to: \def\year{2001, 2002, 2003, 2004, 2005} ? if no, why not, and what is the right way? thi ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: copyright in .tex files 2005-08-10 14:00 copyright in .tex files Thien-Thi Nguyen @ 2005-08-10 14:11 ` David Kastrup 2005-08-13 1:25 ` Thien-Thi Nguyen 0 siblings, 1 reply; 3+ messages in thread From: David Kastrup @ 2005-08-10 14:11 UTC (permalink / raw) Cc: emacs-devel Thien-Thi Nguyen <ttn@gnu.org> writes: > a common macro in etc/*.tex defines `year' like so: > > \def\year{2001} > > could a TeXnician confirm that is ok to change this to: > > \def\year{2001, 2002, 2003, 2004, 2005} > > ? if no, why not, and what is the right way? Well, since \year is an internal count register, the _normal_ use would be \year=2001 It would seem that the named files violate that convention, and use \year as a user-defined text macro (you'd have to use \the\year to refer to the counter, whereas with the macro definition, \year alone constitutes the reference). So if any external file would be relying on the _normal_ definition of \year, it would break. It would appear, however, that etc/*.tex are purely stand-alone plain TeX documents. For such documents, the basic rule is "the right way is what happens to work". Apparently, \year will only be referenced in the file itself. If it compiles, and looks ok at all places where \year gets used, it is "the right way". Personally, I'd prefer to use a different name for the macro rather than the predefined "\year" in order to avoid people getting confused, but that consideration has obviously not deterred the previous authors. -- David Kastrup, Kriemhildstr. 15, 44793 Bochum ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: copyright in .tex files 2005-08-10 14:11 ` David Kastrup @ 2005-08-13 1:25 ` Thien-Thi Nguyen 0 siblings, 0 replies; 3+ messages in thread From: Thien-Thi Nguyen @ 2005-08-13 1:25 UTC (permalink / raw) Cc: emacs-devel David Kastrup <dak@gnu.org> writes: > [\year usage unconventional but probably ok] thanks for the explanation. this winter i will dig into TeX (a bit) and perhaps do some light future-proofing of the .tex files. until then, looks like \def\year{2002, 2003, ...} is most straightforward. thi ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2005-08-13 1:25 UTC | newest] Thread overview: 3+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2005-08-10 14:00 copyright in .tex files Thien-Thi Nguyen 2005-08-10 14:11 ` David Kastrup 2005-08-13 1:25 ` Thien-Thi Nguyen
Code repositories for project(s) associated with this external index https://git.savannah.gnu.org/cgit/emacs.git https://git.savannah.gnu.org/cgit/emacs/org-mode.git This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.