Archive for the ‘TeX’ Category

LaTeX, CJK, and “Font C70/song/m/n/6/57=cyberb57 at 6.0pt not loadable: Metric (TFM) file not found.”

Monday, September 12th, 2005

I started to use CJK in LaTeX recently, and I spend a lot of time trying to fix the following problem:

! Font C70/song/m/n/9/65=cyberb65 at 9.0pt not loadable:
                         Metric (TFM) file not found.

                   relax
l.74 ^^e6^^97^^a0
                 \par
?

(more…)

making unicode pdf bookmarks with TeXML

Wednesday, September 7th, 2005

I’ve added a new feature to TeXML. Content of the element “pdf” is converted to utf16be and encoded using escape-sequences. It is useful for making PDF strings, in particular, for PDF bookmark strings.

(more…)

no Chinese bookmarks in Acrobat Reader

Thursday, June 23rd, 2005

I’ve spent two days understanding how to create CJK bookmarks using LaTeX. Finally, I checked the internal structure of a PDF document with a sheet of paper, a calculator and the PDF reference. The PDF document is correct. Problem is in Acrobat Reader 5 (AR5). It is said that AR5 uses the system font to display the bookmarks, and the system font on Windows 2000 Rus doesn’t have CJK symbols.

search path in LaTeX breaks expectations

Tuesday, June 21st, 2005

Some tutorials on non-root installation of LaTeX modules rely on the environment variable TEXMFLOCAL. Unfortunately, it doesn’t work when the folder “~/texmf” contains conflicting files.

(more…)

TeXML: any encoding as ASCII

Monday, June 20th, 2005

The TeXML development version 1.27 brings new essential functionality: “–ascii” parameter. Now it’s possible to generate plain ASCII TeX files in a desired encoding. Non-ascii bytes are encoded as “^^XX“.

(more…)

latex utf8 files as plain ascii

Wednesday, June 15th, 2005

I have problems with non-latin publishing through LaTeX, and I’m going to ask for help in forums. While asking, I should provide a sample LaTeX file, but how to show non-latin characters? Fortunately, I have TeX background and know some tricks. One of them is that combination “^^xx” is interpreted as a character with the hexadecimal code “xx” by the TeX reader before any other processing. So, for example, if I use the symbol “\u9009″ which is encoded in utf8 by bytes “e9″, “80″ and “89″, I can write in the source LaTeX file: “^^e9^^80^^89″.

Chinese publishing

Tuesday, June 14th, 2005

Without any knowledge of Chinese, I have to publish a Chinese document. Fortunately, I have a source as an utf8-encoded XML.

(more…)

converting XML CALS table to LaTeX

Wednesday, May 25th, 2005

It looks there is a need for a converter from CALS tables to LaTeX. Here is yet another ask in comp.text.tex. Jonathan Fine answers a bit enigmatic, and I answer pessimistic.

(more…)

suggestions for thesis projects

Friday, April 29th, 2005

In comp.text.tex, Tristan Miller asked:

Can anyone recommend some small to medium-sized open problems which satisfy all of the four points below?

(more…)

LNCS LaTeX style works

Friday, April 8th, 2005

I’m writing a paper for a conference. It should be written with conformance to the Lecture Notes in Computer Science style. After visiting the page with information for LNCS authors) I though that it might be a sort of magic for many people.

(more…)