ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Gour <gour@mail.inet.hr>
Subject: Re: missing Dstroke & dstroke
Date: Sat, 25 Jan 2003 09:24:56 +0100	[thread overview]
Message-ID: <20030125082456.GB8639@mail.inet.hr> (raw)
In-Reply-To: <20030124202731.GB1093@scaprea>

Simon Pepping (spepping@scaprea.hobby.nl) 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

  reply	other threads:[~2003-01-25  8:24 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-01-23 13:22 Gour
2003-01-23 21:12 ` Simon Pepping
2003-01-24 13:58   ` Gour
2003-01-24 20:27     ` Simon Pepping
2003-01-25  8:24       ` Gour [this message]
2003-01-28 16:54       ` missing Dstroke & dstroke - "solved" Gour
2003-01-31 22:28         ` Hans Hagen
2003-02-01 11:54           ` Zeljko Vrba
2003-02-01 13:36             ` Hans Hagen
2003-02-01 15:05               ` Zeljko Vrba
2003-02-01 13:59             ` Hans Hagen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20030125082456.GB8639@mail.inet.hr \
    --to=gour@mail.inet.hr \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).