[NTG-context] Figure library -- figures not found but they are there

2006-12-18 Thread David Arnold

Hans et al,

Running:

figures $ texmfstart texexec --version
TeXExec | version 6.2.0 - 1997-2006 - PRAGMA ADE/POD

I have a figure library figlibLogic.xml, the first few lines of which  
are:










College of the Redwoods Mathematics Departmentorganization>

Intermediate Algebra Text
Preliminaries
Figures for Logic Section



LogicFigs-mpgraph.1
realline1
College of the Redwoods Mathematics Department



In attempting to compile this file with texmfstart texexec  
figlibLogic.xml, the log reports that it cannot find the figures. For  
example,


figures : figure LogicFigs-mpgraph.3 can not be found
[3.1]
figures : figure LogicFigs-mpgraph.4 can not be found
[4.1]
figures : figure LogicFigs-mpgraph.5 can not be found


However, they are there:

figures $ ls LogicFigs-mpgraph.*
LogicFigs-mpgraph.1 LogicFigs-mpgraph.26
LogicFigs-mpgraph.10LogicFigs-mpgraph.27
LogicFigs-mpgraph.11LogicFigs-mpgraph.28
LogicFigs-mpgraph.12LogicFigs-mpgraph.29
LogicFigs-mpgraph.13LogicFigs-mpgraph.3
LogicFigs-mpgraph.14LogicFigs-mpgraph.30
LogicFigs-mpgraph.15LogicFigs-mpgraph.4
LogicFigs-mpgraph.16LogicFigs-mpgraph.5
LogicFigs-mpgraph.17LogicFigs-mpgraph.6
LogicFigs-mpgraph.18LogicFigs-mpgraph.7
LogicFigs-mpgraph.19LogicFigs-mpgraph.8
LogicFigs-mpgraph.2 LogicFigs-mpgraph.9
LogicFigs-mpgraph.20LogicFigs-mpgraph.log
LogicFigs-mpgraph.21LogicFigs-mpgraph.mp
LogicFigs-mpgraph.22LogicFigs-mpgraph.mp.keep
LogicFigs-mpgraph.23LogicFigs-mpgraph.mpb
LogicFigs-mpgraph.24LogicFigs-mpgraph.mpo
LogicFigs-mpgraph.25LogicFigs-mpgraph.mpx

Any ideas?





David Arnold
College of the Redwoods
Mathematics Department
Eureka, CA 95501
(707) 476-4222
http://online.redwoods.edu/instruct/darnold/


___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] uc-encoded fonts and accents

2006-12-18 Thread Mojca Miklavec
I would like to ask once more since there was no response on the
prevous post: are there any objections against adding the following
patch to enco-uc.tex?

\definecharacter textasciicircum  {\uchar{0}{"5E}}
\definecharacter textgrave{\uchar{0}{"60}}
\definecharacter textdiaeresis{\uchar{0}{"A8}}
\definecharacter textmacron   {\uchar{0}{"AF}}
\definecharacter textacute{\uchar{0}{"B4}}
\definecharacter textcedilla  {\uchar{0}{"B8}}
\definecharacter textcircumflex   {\uchar{2}{"C6}}
\definecharacter textcaron{\uchar{2}{"C7}}
\definecharacter textbreve{\uchar{2}{"D8}}
\definecharacter textdotaccent{\uchar{2}{"D9}}
\definecharacter textring {\uchar{2}{"DA}}
\definecharacter textogonek   {\uchar{2}{"DB}}
\definecharacter texttilde{\uchar{2}{"DC}}
\definecharacter texthungarumlaut {\uchar{2}{"DD}}

(second number should be written in decimal, but I don't want to be
responsible for a wrong conversion ;)

Mojca


On 12/12/06, Mojca Miklavec wrote:
> Hello,
>
> in enco-uc.tex there are some definitions which use "combining" accents:
>
> \definecharacter textgrave{\uchar3{0}}
> \definecharacter textacute{\uchar3{1}}
> \definecharacter textcircumflex   {\uchar3{2}}
> \definecharacter texttilde{\uchar3{3}}
> \definecharacter textmacron   {\uchar3{4}}
> \definecharacter textbreve{\uchar3{6}}
> \definecharacter textdotaccent{\uchar3{7}}
> \definecharacter textdiaeresis{\uchar3{8}}
> \definecharacter textring {\uchar3{10}}
> \definecharacter texthungarumlaut {\uchar3{11}}
> \definecharacter textcaron{\uchar3{12}}
> \definecharacter textogonek   {\uchar3{40}}
>
> But this is almost useless, since those fonts that have things like
> "ccaron" missing (which are exactly the ones for which such kind of
> definitions might be useful) don't have any glyphs on those slots.
> Appart from that \buildtextaccent is used for "combining", so there
> should be no real need for using "combining accents" at that place.
>
> Here's a copy of relevant lines from contextnames.txt (as a refence to
> which values the values above should be changed if others agree):
>
> 005E;asciicircum;textasciicircum;CIRCUMFLEX ACCENT
> 0060;grave;textgrave;GRAVE ACCENT
> 00A8;dieresis;textdiaeresis;DIAERESIS
> 00AF;macron;textmacron;MACRON
> 00B4;acute;textacute;ACUTE ACCENT
> 00B8;cedilla;textcedilla;CEDILLA
> 02C6;circumflex;textcircumflex;MODIFIER LETTER CIRCUMFLEX ACCENT
> 02C7;caron;textcaron;CARON
> 02D8;breve;textbreve;BREVE
> 02D9;dotaccent;textdotaccent;DOT ABOVE
> 02DA;ring;textring;RING ABOVE
> 02DB;ogonek;textogonek;OGONEK
> 02DC;tilde;texttilde;SMALL TILDE
> 02DD;hungarumlaut;texthungarumlaut;DOUBLE ACUTE ACCENT
>
> Would it be possible to fix those lines in enco-uc.tex?
>
> (Writing because I needed to use ccaron in one of the fonts which
> doesn't have that. After redefining textcaron to a proper value it
> worked OK for that specific font.)
>
> Thanks,
> Mojca
>
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] a German umlaut is broken

2006-12-18 Thread Mojca Miklavec
On 12/18/06, Hubertus wrote:
> > > Hi,
> > >
> > > in the new version (7.12.2006) one of the special German characters is
> > > broken:
> > >
> > >
> > > \enableregime   [il1]
> > > \mainlanguage   [de]
> > > \setupbodyfont[sansserif]
> > > \starttext
> > >
> > > German Umlauts: ?
> > >
> > > \stoptext
> > >
> > > the result:
> > >
> > > German Umlauts: ??SS
> > >
> > hm, can you check if regi-8859-1 is loaded ?
> I do the following:
>   \setupoutput[pdftex]

That should be the default if you manage to make the new ruby variant
of texexec to work.

>   \installlanguage[german][de]

(I ask because I don't know that myself: why is this needed inside a document?)

>   \mainlanguage[de]
>   \enableregime[il1]

>   \setupencoding[default=ec]

This is already the default value (and has been so for quite some time
already), so you don't need to set it to the same value again.

> and ß gives me also SS. I run
>   ConTeXt  ver: 2006.12.12 23:46 MK II  fmt: 2006.12.13  int: english/english
> My logfile tells me:
>   regime  : regime 8859-1 is loaded
>   (/home/???/tex/texmf-local/tex/context/base/regi-8859-1.tex
>   [EMAIL PROTECTED]@[EMAIL PROTECTED]
>   )
>
> Hope that helps you.
>
> Hubertus

I'm sorry. I sent a few messages off-list to Hans and forgot to
mention that on the list. The problem has been solved, you probably
only have to wait for a new release. If you want to have it properly
right away, you have to change \startregime[iso-8859-1] in
regi-8859-1.tex into \startregime[8859-1] (and define a new synonym in
regi-syn.tex for those who will want to use
\enableregime[iso-8859-1]).

Mojca
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] a German umlaut is broken

2006-12-18 Thread Hubertus
> > Hi,
> >
> > in the new version (7.12.2006) one of the special German characters is
> > broken:
> >
> >
> > \enableregime   [il1]
> > \mainlanguage   [de]
> > \setupbodyfont[sansserif]
> > \starttext
> >
> > German Umlauts: ?
> >
> > \stoptext
> >
> > the result:
> >
> > German Umlauts: ??SS
> >   
> hm, can you check if regi-8859-1 is loaded ? 
I do the following:
  \setupoutput[pdftex]
  \installlanguage[german][de]
  \mainlanguage[de]
  \enableregime[il1]
  \setupencoding[default=ec]
and ß gives me also SS. I run 
  ConTeXt  ver: 2006.12.12 23:46 MK II  fmt: 2006.12.13  int: english/english
My logfile tells me:
  regime  : regime 8859-1 is loaded
  (/home/???/tex/texmf-local/tex/context/base/regi-8859-1.tex
  [EMAIL PROTECTED]@[EMAIL PROTECTED]
  )

Hope that helps you.

Hubertus
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] How can I configure the context in order to use CJK-Ext B chinese characters in context?

2006-12-18 Thread [EMAIL PROTECTED]
Hans Hagen wrote:
>
> if not one can define a conversion; however, some encodings have problems 
> because chars < 127 are used, which will mess up macro handling
>
>   

> which brings me to luatex and chinese ... in luatex we can do input 
> reencoding in more clever ways and since we will move on to luatex (pdftex 2) 
> next year, it makes sense if chinese users start providing input for this 
> (apart from other input when we arrive at the font issues) .. 
>
> Hans 
>   
 Excuse me, what do you mean by "start providing input for this " ? What 
to provide and how to provide ?

 I'm not an expert in TeXing, but I'm willing to help ConTeXt to do 
better in processing Chinese.

 Regards,

 xiaojf
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] TeX capacity exceeded with my macros

2006-12-18 Thread luigi scarso
On 12/15/06, Hans Hagen <[EMAIL PROTECTED]> wrote:
> luigi scarso wrote:
> > I have a
> > TeX capacity exceeded
> > message.
> > I think I'm doing too much,
> > but before to try another way I would know if
> > I should enlarge context.
> >
> > This macro is called ~ 70 000 times
> > \SetArtValue{1:330128:1007:336:1:d}{}
> >
> > PS
> > No problem if none answer to this message.
> >
> >
> in texmf.cnf increase the hash size and remake the format
Thanks to Andrea and Hans.
I thinks this:
'TeX capacity exceeded' means 'Is your code good ?'
Perhaps using some sort of preprocessing or \executesystemcommand
should be a better solution (at cost of speed I believe).
Or perhaps actual distros are made for single-user not-hungry and not
for big-documents on-demand , so hash size is conservative,
so "increase the hash size and remake the format" IS the solution.

luigi
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context