* Unicode Character Problem
@ 2007-01-08 11:32 Johannes Graumann
2007-01-09 10:38 ` Johannes Graumann
2007-01-11 22:37 ` Mojca Miklavec
0 siblings, 2 replies; 5+ messages in thread
From: Johannes Graumann @ 2007-01-08 11:32 UTC (permalink / raw)
Hello,
I'm having trouble defining a new unicode character:
'versuch.tex' reads:
\defineXMLentity [\#9633] {\symbol[8]}
'versuch.xml' reads:
□
Trying to compile this like so:
texmfstart texexec --environment=versuch.tex versuch.xml
Yields the error below. What am I doing wrong (this works for other things like
'\defineXMLentity[\#8211]{--}')?
Thanks for your insights!
Joh
kpathsea: Running mktexmf UnicodeRegular25
! I can't find file `UnicodeRegular25'.
<*> ...mag:=1; nonstopmode; input UnicodeRegular25
Please type another input file name
! Emergency stop.
<*> ...mag:=1; nonstopmode; input UnicodeRegular25
Transcript written on mfput.log.
grep: UnicodeRegular25.log: No such file or directory
mktextfm: `mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode; input
UnicodeRegular25' failed to make UnicodeRegular25.tfm.
kpathsea: Appending font creation commands to missfont.log.
! Font \unicodefont=UnicodeRegular25 at 12.0pt not loadable: Metric (TFM) file
not found.
<recently read> \bodyfontsize
\unicodeglyph ... \currentfontscale \bodyfontsize
\unicodestrut \unicodefont...
\uchar ...+\unicodetwo \relax \handleunicodeglyph
\endgroup
l.1 □
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Unicode Character Problem
2007-01-08 11:32 Unicode Character Problem Johannes Graumann
@ 2007-01-09 10:38 ` Johannes Graumann
2007-01-11 22:37 ` Mojca Miklavec
1 sibling, 0 replies; 5+ messages in thread
From: Johannes Graumann @ 2007-01-09 10:38 UTC (permalink / raw)
I think I figured this out: '9633' is not in a unicode block as predefined in
unic-xxx.tex
So this doesn't work ... looks like I have to wait for LuaTeX ...
Joh
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Unicode Character Problem
2007-01-08 11:32 Unicode Character Problem Johannes Graumann
2007-01-09 10:38 ` Johannes Graumann
@ 2007-01-11 22:37 ` Mojca Miklavec
2007-01-16 8:42 ` Johannes Graumann
1 sibling, 1 reply; 5+ messages in thread
From: Mojca Miklavec @ 2007-01-11 22:37 UTC (permalink / raw)
On 1/8/07, Johannes Graumann wrote:
> Hello,
>
> I'm having trouble defining a new unicode character:
>
> 'versuch.tex' reads:
> \defineXMLentity [\#9633] {\symbol[8]}
It should be
\defineXMLentity [9633] {\symbol[8]}
> 'versuch.xml' reads:
> □
>
> Trying to compile this like so:
> texmfstart texexec --environment=versuch.tex versuch.xml
> I think I figured this out: '9633' is not in a unicode block as predefined in
> unic-xxx.tex
>
> So this doesn't work ... looks like I have to wait for LuaTeX ...
XeTeX is already there (and your "square sample" is also working there
out-of-the-box once you set a proper font).
Mojca
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Unicode Character Problem
2007-01-11 22:37 ` Mojca Miklavec
@ 2007-01-16 8:42 ` Johannes Graumann
2007-01-16 13:01 ` Mojca Miklavec
0 siblings, 1 reply; 5+ messages in thread
From: Johannes Graumann @ 2007-01-16 8:42 UTC (permalink / raw)
Mojca Miklavec wrote:
>> I'm having trouble defining a new unicode character:
>>
>> 'versuch.tex' reads:
>> \defineXMLentity [\#9633] {\symbol[8]}
>
> It should be
> \defineXMLentity [9633] {\symbol[8]}
That's not right. I verify my xml with kxmleditor and '□' is accepted,
while '&9633;' causes an error to be thrown.
> XeTeX is already there (and your "square sample" is also working there
> out-of-the-box once you set a proper font).
I'll look into that.
Thanks, Joh
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Unicode Character Problem
2007-01-16 8:42 ` Johannes Graumann
@ 2007-01-16 13:01 ` Mojca Miklavec
0 siblings, 0 replies; 5+ messages in thread
From: Mojca Miklavec @ 2007-01-16 13:01 UTC (permalink / raw)
On 1/16/07, Johannes Graumann wrote:
> Mojca Miklavec wrote:
>
> >> I'm having trouble defining a new unicode character:
> >>
> >> 'versuch.tex' reads:
> >> \defineXMLentity [\#9633] {\symbol[8]}
> >
> > It should be
> > \defineXMLentity [9633] {\symbol[8]}
> That's not right. I verify my xml with kxmleditor and '□' is accepted,
> while '&9633;' causes an error to be thrown.
No, you don't need to modify XML, only the definition in ConTeXt:
This example works here:
\defineXMLentity[9633]{\symbol[8]}
\starttext
\startXMLdata
□
\stopXMLdata
\stoptext
Mojca
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2007-01-16 13:01 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-01-08 11:32 Unicode Character Problem Johannes Graumann
2007-01-09 10:38 ` Johannes Graumann
2007-01-11 22:37 ` Mojca Miklavec
2007-01-16 8:42 ` Johannes Graumann
2007-01-16 13:01 ` Mojca Miklavec
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).