unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: David Kastrup <dak@gnu.org>
Cc: emacs-devel@gnu.org
Subject: Re: copyright in .tex files
Date: Wed, 10 Aug 2005 16:11:33 +0200	[thread overview]
Message-ID: <854q9xnap6.fsf@lola.goethe.zz> (raw)
In-Reply-To: <jkll3928pf.fsf@glug.org> (Thien-Thi Nguyen's message of "10 Aug 2005 10:00:12 -0400")

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

  reply	other threads:[~2005-08-10 14:11 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-08-10 14:00 copyright in .tex files Thien-Thi Nguyen
2005-08-10 14:11 ` David Kastrup [this message]
2005-08-13  1:25   ` Thien-Thi Nguyen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=854q9xnap6.fsf@lola.goethe.zz \
    --to=dak@gnu.org \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).