[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [help-texinfo] Greek Letters and some more..
From: |
lfinsto1 |
Subject: |
Re: [help-texinfo] Greek Letters and some more.. |
Date: |
Sun, 13 May 2007 13:32:00 +0200 (CEST) |
User-agent: |
SquirrelMail/1.4.9a |
> I'm sure that these are going to be "some easy ones", but I've searched
> everywhere without success:
Not that easy, but not extremely difficult, either.
You probably won't need anything as complicated as the following example,
but it's the only one I've got.
If you look at this link, you will see a table with a lot of special
characters:
http://ftp.gwdg.de/pub/gnu2/iwfmdh/doc/texinfo/iwf_mh.html#Special-Character-Encodings_002e
It's from the HTML version of one of the Texinfo manuals for the GNU
Metadata Exchange Utilities (http://www.gnu.org/software/metaexchange/).
This is the same table in the PDF version (starting on page 9, or page 22,
according to Acrobat Reader):
http://ftp.gwdg.de/pub/gnu2/iwfmdh/doc/texinfo/iwf_mh.pdf
This is the same table again from the CWEB documentation of the source
code (on page 6):
http://ftp.gwdg.de/pub/gnu2/iwfmdh/doc/oai/atestprg.pdf
It has a couple more columns. However, it all comes from the same TeX file.
You can find the file `spchrtbl.texi' here:
http://cvs.savannah.gnu.org/viewcvs/metaexchange/texinfo/?root=metaexchange
It includes the files `../atest/specchar.mac' and `../atest/spchrtbl.tex'
for the TeX output and also contains the code for the HTML output.
`../atest/specchar.mac' and `../atest/spchrtbl.tex' can be found here:
http://cvs.savannah.gnu.org/viewcvs/metaexchange/atest/?root=metaexchange
If you look through these files, it should be pretty clear what you need
to do. If you have any questions, just ask. I'm quite busy at the
moment, but I'll try to answer. Otherwise, there are plenty of other
people here who know how to do this, I'm sure.
The basic idea is to find the characters you need in some font for TeX,
and/or find the Unicode encoding for HTML. In simple cases, you should
just be able to write a Texinfo macro using address@hidden', address@hidden',
address@hidden', address@hidden', or whatever. In more complicated cases, like
if you want a table like mine, you'll have to write separate blocks of
code using these conditionals.
Laurence
> 1) how can I insert symbols like greek letters in texinfo (later I'll
> need to pdfize the file)?
>
> 2) after inserting a "@'e" to obtain a printed "é" and having tried to
> "texi2dvi filename" i get:
> Missing $ inserted.
>
> Any kind suggestion is welcome.
>
> Thanks in advance,
> andrea
>
> ps: many thanks for what you are doing.
>
>
> _______________________________________________
> Texinfo home page: http://www.gnu.org/software/texinfo
> address@hidden
> http://lists.gnu.org/mailman/listinfo/help-texinfo
>