# [NTG-context] translating LyX/LaTex book into ConTeXt (was Re: [Context] Xindy)

Gour gour at atmarama.com
Sun Jul 21 10:35:26 CEST 2019

On Sat, 13 Sep 2008 12:21:21 +0200
Hans Hagen <pragma at wxs.nl> wrote:

Hello Hans,

It was long ago since I did work on two parts of my mother's
autobiography and it was done in LyX/LaTeX/xindy...

Now, after her departure, there is an interest to write down 3rd
(final) part and I'm considering to do it as single book using ConTeXt.

> you can define your own sort order (in mkiv this is somewhat easier
> because there we're in unicode space)

The two parts along with the to-be-written 3rd part would make it over
1k pages (currently part I & II are over 900p), there is mix of
Croatian and English in each book (although we published editions in
both languages), there are lot of Sanskrit words written using
diacritics, bibliography, glossary as well as color pictures.

I'm sure there is no problem in doing English/Croatian, but wonder
about Sanskrit diacritics, eg. when I typeset small snippet from the
LyX source I notice things like:

fonts           > checking > char ṁ (U+01E41) in font
'LMRoman12-Regular' with id 1: missing backend         > xmp > using
file '/usr/share/texmf/tex/context/base/mkiv/lpdf-pdx.xml'

so I wonder if you have some suggestions in regard to fonts which cover
those diacritics well?

When using LaTeX, accents were just handled by putting e.g. dot over
'm'. Any hint how to easily enter such things in one's editor?

Now, I wonder how can one "define one's own sort order" since I'd like
that words containing e.g. 'ṁ' are to be sorted as 'm'?

> personally i have no plans for using xindy (i looked into it real
> long ago but at that time it was rather latex oriented and could not
> carry enough info around which i want in context)

As far as I understand Xindy is not developed any longer, so I hope ConTeXt can
do everything?

> currently the index mechanism in mkiv still uses the same tex
> interface when typesetting the index itself, but i will provide a
> more extensive mechanism (first i redo the sectioning and list); at
> that point we will also have one-pass index handling

What is the status of the above now?

Any further hint in translating LyX/LaTeX sources into ConTeXt?

Sincerely,
Gour

--
Those who are on this path are resolute in purpose,
and their aim is one. O beloved child of the Kurus,
the intelligence of those who are irresolute is many-branched.