[texhax] European quotation marks

Rodolfo Medina rodolfo.medina at gmail.com
Fri Apr 10 18:13:31 CEST 2009


Rodolfo Medina wrote:

>> I wish to use the quotation marks « and ».
>>
>> Is it possible with TeX, and how?

>> But I'm a plain TeX users.  Does anybody know how to do that with plain TeX?



Wolfgang Schuster <schuster.wolfgang at googlemail.com> writes:

> Something like this:
>
> \pdfmapfile{+lm-texnansi.map}
>
> \chardef\guillemotleft =171
> \chardef\guillemotright=187
>
> \catcode`«=13 \def«{\guillemotleft }
> \catcode`»=13 \def»{\guillemotright}
>
> \font\test=texnansi-lmr10\test
>
> «text»
>
> \bye


Thanks.

But when I porcess the file with `tex', it says:

$ tex test
This is TeX, Version 3.141592 (Web2C 7.5.5)
(./test.tex
! Undefined control sequence.
l.1 \pdfmapfile
               {+lm-texnansi.map}


; if I process it with pdftex, I get:

$ pdftex test
This is pdfeTeX, Version 3.141592-1.30.5-2.2 (Web2C 7.5.5)
entering extended mode
(./test.tex
! Missing number, treated as zero.
<to be read again>
                   �
l.6 \catcode`«
               =13 \def«{\guillemotleft }


Rodolfo



More information about the texhax mailing list