Simon Pepping ([EMAIL PROTECTED]) wrote:
> It is dependent on the encoding of your output font. In enco-en.tex I
> see this:
>
> \definecharacter dmacron 158
> \definecharacter Eth 208
>
> These seem to be other names for dstroke and Dstroke. If you use an
> ec-encoded font and you say this:
>
> \definecharacter dstroke 158
> \definecharacter Dstroke 208
>
> would that help?
Well I'm doing test with the simple DocBook sample doc encoded as utf-8 which
contains all the 10 Croatian national chars (ccaron, cacute, dstroke, scaron and
zcaron with their uppercase counterparts).
My test *.tex file is simple:
% cont-en
\input xtag-docbook
\setupcolors[state=start]
\setupinteraction[state=start,color=blue]
\setupindenting[medium]
\setupheadertexts[section][pagenumber]
\setupheader[leftwidth=.7\hsize,style=slanted]
\setuppagenumbering[location=]
\setupitemize[each][packed][before=,after=,indentnext=no]
% \setupXMLDB[pagebreaks=all]
% \setupXMLDB[pagebreaks=sectionblocks]
\setupXMLDB[pagebreaks=none]
\starttext
\processXMLfilegrouped{\jobname.xml}
\stoptext
which means that the font is a default one and probably doesn't contain
Croatiancharacters, but, nevertheless, I get them all except dstroke & Dstroke.
I understand it's because ConTeXt "draws" them or use constructs like:
\definecharacter scaron {\buildtextaccent\textcaron s}
to "produce" scaron.
The same mechanism is present in LaTeX too, with the difference that there it
also works with dstroke. (Another Croatian ConTeXt user also told me that there
are problems in ConTeXt with dstokes when they need to be build i.e. when they
are not present in the font).
So, I'm interested how to "teach" ConTeXt to build Dstroke & dstroke i.e. how touse
this \DJ & \dj commands present in enco-mis.tex?
In LaTeX (LyX) I just enter Cro chars, select Croatian as language (bael) and
everything works.
However, I am trying to achieve the same with ConTeXt considering it much more
superior in comparison with many clashing packages in LaTeX, but there is
always some price to pay :-(
Sincerely,
Gour
_______________________________________________
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context