[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: backslash behaviour changed?
From: |
Andrew Fitzgibbon |
Subject: |
RE: backslash behaviour changed? |
Date: |
Thu, 1 May 2003 20:27:45 +0100 |
Apologies to all. I thought that my minimal example
represented my situation, and it didn't matter
that the texi file was ill formed.
In fact the following is true:
"The @setfilename must be in the top level texi file."
In my case it was in an included file, and therefore
set the backslash up inside a begingroup, which
didn't stick at the top level.
Sorry to waste the time of any readers.
A.
To be clear, the following succeeds
$ cat > file.texi
\input texinfo
@setfilename fred
\
@bye
$ tex file.texi
While this fails
$ cat > filea.texi
\input texinfo
@include fileb.texi
\
@bye
$ cat > fileb.texi
@setfilename file
$ tex filea.texi
This is TeX, Version 3.14159 (MiKTeX 2.1)
(filea.texi (texinfo.tex Loading texinfo [version 2003-04-28.10]:
Basics, pdf,
fonts, page headings, tables, conditionals, indexing, sectioning, toc,
environments, defuns, macros, cross references,
(C:\texmf\tex\generic\dvips\epsf.tex) localization,
and turning on texinfo input format.) (fileb.texi (filea.aux))
! Use of \ doesn't match its definition.
l.3 \
?
[1] )
Output written on filea.dvi (1 page, 140 bytes).
Transcript written on filea.log.
> -----Original Message-----
> From: Andrew Fitzgibbon [mailto:address@hidden
> Sent: 01 May 2003 20:01
> To: address@hidden
> Cc: 'Andrew Fitzgibbon'
> Subject: backslash behaviour changed?
>
>
>
> I thought backslash was supposed to behave as a literal
> character? It doesn't in a document I am writing, and the
> documentation doesn't say how to insert one, it simply
> says, under @math, that it behaves as a literal.
>
> Can someone enlighten me or suggest a fix?
>
> A.
>
> Steps to reproduce:
>
> $ uname -a
> CYGWIN_NT-5.0 TAMORA 1.3.3(0.46/3/2) 2001-09-12 23:54 i686 unknown
> $
> $ cat > file.texi
> \input texinfo
> TEXT
> @bye
> ^D
>
> $ tex file.texi
> This is TeX, Version 3.14159 (MiKTeX 2.1)
> (file.texi (texinfo.tex Loading texinfo [version
> 2003-04-28.10]: Basics,
> pdf,
> fonts, page headings, tables, conditionals, indexing, sectioning, toc,
> environments, defuns, macros, cross references,
> (C:\texmf\tex\generic\dvips\epsf.tex) localization,
> and turning on texinfo input format.) [1] )
> Output written on file.dvi (1 page, 200 bytes).
> Transcript written on file.log.
>
> $ cat > file.texi
> \input texinfo
> \
> @bye
> ^D
>
> $ tex file.texi
> This is TeX, Version 3.14159 (MiKTeX 2.1)
> (file.texi (texinfo.tex Loading texinfo [version
> 2003-04-28.10]: Basics,
> pdf,
> fonts, page headings, tables, conditionals, indexing, sectioning, toc,
> environments, defuns, macros, cross references,
> (C:\texmf\tex\generic\dvips\epsf.tex) localization,
> and turning on texinfo input format.)
> ! Use of \ doesn't match its definition.
> l.2 \
>
> ? q
>
>