Re: [NTG-context] hangs again :-)

2007-12-18 Thread Taco Hoekwater
zs wrote:
> I have just upgraded to
> This is LuaTeX, Version snapshot-0.20.2-2007121800 (Web2C 7.5.6)
> ConTeXt  ver: 2007.12.17 14:54 MKIV  fmt: 2007.12.18  int: english/english
> 
> ... and everything seems to work beautifuly.
> If you wanted to check my source file, which made svn version from 12/15/2007 
> to hang, I can send it to you.

Thanks, but no. If it works now, then it is a bug I have already fixed, 
apparently. No need to look at it again.

Best wishes,
Taco
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Hyphenation with apostrophes

2007-12-18 Thread Taco Hoekwater
Peter Münster wrote:
> On Mon, Dec 17, 2007 at 11:09:44AM +0100, Taco Hoekwater wrote:
>> At the tex level you need either
>>
>>\lccode`\'=`\'
>>
>> or make the ' an active character running a macro that is a bit like
>> ||, e.g. this:
>>
>>\catcode`\'=\active
>>\unexpanded\def'{\string'\prewordbreak}
> 
> Hello,
> 
> Do you know, how this is done in LaTeX? I remember, that such things have
> never been a problem there.

IIRC, the languages that needed this used the \lccode change together
with higher values of \lefthyphenmin and \righthyphenmin to prevent
bad hyphenations like ``instruccion-s''. But that was at least half
a decade ago, so I may recall this wrong or something may have changed
since then.

Best wishes,
Taco




___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] MkIV on Ubuntu

2007-12-18 Thread Hans Hagen
Aditya Mahajan wrote:
> On Mon, 17 Dec 2007, Aditya Mahajan wrote:
> 
>> LuaTools | locating list of /usr/share/texmf-{texlive
>> LuaTools | locating list of tetex}
> 
> Bug in line 2498 of luatools
> 
>  local t = instance.treepath:splitchr(',')
> 
> Should be split taking the braces into account.

what variable is that?

-
   Hans Hagen | PRAGMA ADE
   Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
  tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
  | www.pragma-pod.nl
-
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] MkIV on Ubuntu

2007-12-18 Thread Hans Hagen
Aditya Mahajan wrote:

> So /home/adityam/texmf/tex/// tree is there, and it seems that kpsewhich finds
> the file by brute-force search of that tree (there is no ls-R file in
> TEXMFHOME).

sounds pretty slow to me, if that's a large tree

Hans

-
   Hans Hagen | PRAGMA ADE
   Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
  tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
  | www.pragma-pod.nl
-
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] MkIV on Ubuntu

2007-12-18 Thread Hans Hagen
Aditya Mahajan wrote:

> Bottom line, if you try to install mkiv on a non-distribution tree, run 
> mktexlsr
>  before generating formats.

i think that this is a leftover from the time that we didn't have lfs 
compiled into luatex so that we needed a way to determine a path as 
'valid' (some distributions have many fake paths in the spec)

Hans

-
   Hans Hagen | PRAGMA ADE
   Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
  tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
  | www.pragma-pod.nl
-
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] MkIV on Ubuntu

2007-12-18 Thread Taco Hoekwater


Hans Hagen wrote:
> Aditya Mahajan wrote:
> 
>> So /home/adityam/texmf/tex/// tree is there, and it seems that kpsewhich 
>> finds
>> the file by brute-force search of that tree (there is no ls-R file in
>> TEXMFHOME).
> 
> sounds pretty slow to me, if that's a large tree

It should not be a large tree, just for your own private fonts
and macros and maybe images.

That it does not need mktexlsr there is a good thing for almost
all ordinary tex users. It means you can put (and remove) stuff
in your home tree without having to worry about running mktexlsr.

Best wishes,
Taco

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Placing meaningful footnotes

2007-12-18 Thread Wolfgang Schuster
2007/12/17, Zhichu Chen <[EMAIL PROTECTED]>:
> Hi everybody,
>
> Right now I'm writing an article and in the title's block I wanna thank
> somebody and in the authors' block I wanna display the email addresses. And
> I want them done with footnotes with "set 2" conversion. When I use
> ===
> \definenote[thanks][conversion=set 2]
> \definenote[email]
>   [conversion=set 2,
>textstyle=type]
> ===
> The footnotes are shown with two areas, one for the \thanks and another for
> the \email, and they all started with "*" symbol, I mean there're two
> footnotes noted by star-symbol. I know I can just use
> \setupfootnotes[conversion=set 2] and do all my job by only using \footnote
> macro, but it's just of curiosity, can I use those meaningful macros to do
> continuously numbered footnotes and displayed only one area at the bottom of
> the page.

Hi Chen,

I took a quick look at the source and it seems this is not possible,
but you define
email as macro and call thank in the expansion text.

\def\email#1{\thanks{\type{#1}}} or better
\def\email#1{\thanks{\hyphenatedurl{#1}}} % breaks at the line end

Wolfgang
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] hyphenation again (mkii)

2007-12-18 Thread Steffen Wolfrum

Am 17.12.2007 um 14:54 schrieb Steffen Wolfrum:

> Hi,
>
> please have a look at the following minimal (4 text-lines):
>
>
> \hyphenation{Er-gän-zungs-lie-fe-rung}
> \showframe
>
> \starttext
>
> Text text text text text text text text text text text text text text
> text 26.\,Ergänzungslieferung% this should brake after Ergän-
>
> Text text text text text text text text text text text text text text
> text 26.|\,|Ergänzungslieferung% this does brake after Ergän-
>
> Text text text text text text text text text text text text text text
> text text 26.|\,|Ergänzungslieferung% this should NOT brake after 26.
>
> Text text text text text text text text text text text text text text
> text text 26.\,Ergänzungslieferung% this does NOT brake after 26.
>
> \stoptext
>
>
> I need a thinspace that prevents line-break between "26." and
> "Ergänzungslieferung".
> On the other hand this thinspace shouldn't kill my hyphenation points
> (i.e. the word should stay breakable)!


The tilde sign "~" would be perfect, it is just to wide:

\hyphenation{
Er-gän-zungs-lie-fe-rung
}
\showframe
\starttext

Text text text text text text text text text text text text text text  
text 26.~Ergänzungslieferung% this should brake after Ergän-

Text text text text text text text text text text text text text text  
text text 26.~Ergänzungslieferung% this should NOT brake after 26.

Text text text text text text text text text text text text text text  
text text 26.\,Er-gänzungslieferung% this should NOT brake after 26.

Text text text text text text text text text text text text text text  
text text 26.\,Er-gänzungslieferung% this should NOT brake after 26.

\stoptext


Is there something that is narrow as \, or \thinspace but behaves  
(see above) like ~ ???

Steffen
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] mkiv update

2007-12-18 Thread Taco Hoekwater


Wolfgang Schuster wrote:
>report >> load otf: unable to remap cid font, missing cid file for
> c:/w32tex/share/texmf-fonts/fonts/opentype/adobe/kozuka/KozGoProVI-Medium.otf

Looks like we don't have a cidmap for Japan1-4. It may work if you copy
/fonts/cid/adobe-japan1-5.cidmap to adobe-japan1-4.cidmap
(dont for get to rerun luatools --generate).

Best wishes,
Taco

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] \version[temporary]

2007-12-18 Thread Steffen Wolfrum
Hi,

I don't know how many of you know/use this command above. It is quite  
useful for finding over-full lines and for controlling index/register  
marks.

Unfortunately sometime the info printed for "Registers" is really  
hard to read (see example below).

\definepapersize[steffen][width=15.7cm,height=23.2cm]
\setuppapersize[steffen][steffen]
\setuplayout
[width=113mm,height=576pt,
backspace=20mm,topspace=15mm,
header=12pt,headerdistance=6pt,
footer=42pt,footerdistance=0pt,
location=middle,marking=off,grid=no]
\version[temporary]
\showframe
\starttext
\dorecurse{10}{text\footnote{note\index{keyword}}\par}
\stoptext


Thus, I'd like to ask: How can I
1) kill the "References" footnote (do't need it)
2) move the "Registers" info 2cm to the right in the margin?

Thank you,

Steffen
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] mkiv update

2007-12-18 Thread Wolfgang Schuster
2007/12/18, Taco Hoekwater <[EMAIL PROTECTED]>:
>
>
> Wolfgang Schuster wrote:
> >report >> load otf: unable to remap cid font, missing cid file for
> > c:/w32tex/share/texmf-fonts/fonts/opentype/adobe/kozuka/KozGoProVI-Medium.otf
>
> Looks like we don't have a cidmap for Japan1-4. It may work if you copy
> /fonts/cid/adobe-japan1-5.cidmap to adobe-japan1-4.cidmap
> (dont for get to rerun luatools --generate).

Why do you want a cidmap for Japan 1-4, Kozuka Gothic need one for Japan1-6.

The font caching did only fail if I use both fonts in "one" document,
I tried to use
both font in another document and loaded there the Gothic font before the Mincho
font and now the Gothic font worked but the Mincho font was not loaded.

At the moment I load both fonts in seperate document with only one font in every
file and this did work and I can also use both font together in my
real document.

Wolfgang
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] hyphenation again (mkii) [solved]

2007-12-18 Thread Steffen Wolfrum
Wolfgang knew the answer, and as the solution is so brilliant I don't  
want to be selfish about this treasure:

\definetextmodediscretionary ThinSpace
   {\penalty\plustenthousand\hskip.166em\relax}

\definetextmodediscretionary ThickSpace
   {\penalty\plustenthousand\hskip.277em\relax}

... and in situations like "today is the 204.|ThinSpace|anniversary  
of the death of Johann Gottfried von Herder" you will avoid an  
unintended line-break after "204." but will keep all hyphenation  
points in "anniversary". And that's great.

Cheers Johann Gottfried, btw!!

Steffen



Am 18.12.2007 um 11:05 schrieb Steffen Wolfrum:

>
> Am 17.12.2007 um 14:54 schrieb Steffen Wolfrum:
>
>> Hi,
>>
>> please have a look at the following minimal (4 text-lines):
>>
>>
>> \hyphenation{Er-gän-zungs-lie-fe-rung}
>> \showframe
>>
>> \starttext
>>
>> Text text text text text text text text text text text text text text
>> text 26.\,Ergänzungslieferung% this should brake after Ergän-
>>
>> Text text text text text text text text text text text text text text
>> text 26.|\,|Ergänzungslieferung% this does brake after Ergän-
>>
>> Text text text text text text text text text text text text text text
>> text text 26.|\,|Ergänzungslieferung% this should NOT brake after 26.
>>
>> Text text text text text text text text text text text text text text
>> text text 26.\,Ergänzungslieferung% this does NOT brake after 26.
>>
>> \stoptext
>>
>>
>> I need a thinspace that prevents line-break between "26." and
>> "Ergänzungslieferung".
>> On the other hand this thinspace shouldn't kill my hyphenation points
>> (i.e. the word should stay breakable)!
>
>
> The tilde sign "~" would be perfect, it is just to wide:
>
> \hyphenation{
> Er-gän-zungs-lie-fe-rung
> }
> \showframe
> \starttext
>
> Text text text text text text text text text text text text text text
> text 26.~Ergänzungslieferung% this should brake after Ergän-
>
> Text text text text text text text text text text text text text text
> text text 26.~Ergänzungslieferung% this should NOT brake after 26.
>
> Text text text text text text text text text text text text text text
> text text 26.\,Er-gänzungslieferung% this should NOT brake after 26.
>
> Text text text text text text text text text text text text text text
> text text 26.\,Er-gänzungslieferung% this should NOT brake after 26.
>
> \stoptext
>
>
> Is there something that is narrow as \, or \thinspace but behaves
> (see above) like ~ ???
>
> Steffen
> __ 
> _
> If your question is of interest to others as well, please add an  
> entry to the Wiki!
>
> maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ 
> ntg-context
> webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
> archive  : https://foundry.supelec.fr/projects/contextrev/
> wiki : http://contextgarden.net
> __ 
> _

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] mkiv update

2007-12-18 Thread Taco Hoekwater


Wolfgang Schuster wrote:
> 2007/12/18, Taco Hoekwater <[EMAIL PROTECTED]>:
>>
>> Wolfgang Schuster wrote:
>>>report >> load otf: unable to remap cid font, missing cid file for
>>> c:/w32tex/share/texmf-fonts/fonts/opentype/adobe/kozuka/KozGoProVI-Medium.otf
>> Looks like we don't have a cidmap for Japan1-4. It may work if you copy
>> /fonts/cid/adobe-japan1-5.cidmap to adobe-japan1-4.cidmap
>> (dont for get to rerun luatools --generate).
> 
> Why do you want a cidmap for Japan 1-4, Kozuka Gothic need one for Japan1-6.

Ah, sorry. My KozGoPro-Medium.otf is Japan 1-4.


___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] MKIV and XML documentation

2007-12-18 Thread Pablo Rodríguez
Hans Hagen wrote:
> Johannes Graumann wrote:
>> Dear all,
>>
>> What is currently the best source for documentation on mark iv's xml
>> capabilities?
> 
> there is a chapter in mk.pdf; next year i'll write a manual (and i'll 
> probably give a tutorial at the context conference)

I have read that chapter and I wonder whether this XML handling will be 
available in LuaTeX or it will be exclusive for ConTeXt.

Sorry if the question seems to be stupid. I would like to know whether 
this will be available for LuaTeX + LaTeX one day.

Thanks,


Pablo
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] defining a command

2007-12-18 Thread Roger Mason
Hello Wolfgang,

"Wolfgang Schuster" <[EMAIL PROTECTED]> writes:

> \define[3]\oneplot
>   {\placefigure[here][#3]{\bfc#2}{\scale[width=10.5cm]{#1}}}
>
> \starttext
> \oneplot{\blackrule[width=1cm,height=1cm]}{Blackrule}{plot:blackrule}
> See at \in{Plot}[plot:blackrule].
> \stoptext
>
> Alternative solution with a real ConTeXt definition:
>
> \definefloat[plot][plots][figure]
> \setupfloat[plot][command={\scale[width=5cm]}]
> \starttext
> \placefigure{Blackrule}{\blackrule[width=1cm,height=1cm]}
> \placeplot{Blackrule}{{\blackrule[width=1cm,height=1cm]}}
> \stoptext

Both methods work fine.  Given that I'm using Context then I will use
the Contextish way of doing things.

Many thanks for you help,

Roger
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] MKIV and XML documentation

2007-12-18 Thread luigi scarso
On Dec 18, 2007 1:11 PM, Pablo Rodríguez <[EMAIL PROTECTED]> wrote:
> Hans Hagen wrote:
> > Johannes Graumann wrote:
> >> Dear all,
> >>
> >> What is currently the best source for documentation on mark iv's xml
> >> capabilities?
> >
> > there is a chapter in mk.pdf; next year i'll write a manual (and i'll
> > probably give a tutorial at the context conference)
>
> I have read that chapter and I wonder whether this XML handling will be
> available in LuaTeX or it will be exclusive for ConTeXt.
In luatex there is already lxml, which makes the basic layer.
Context mkiv add a 'context way' to do things .

> Sorry if the question seems to be stupid. I would like to know whether
> this will be available for LuaTeX + LaTeX one day.
I don't have the answer, but the question is not stupid at all.
>From my point of view,
one day
pdftex+latex
will be replaced by
luatex+latex
in a transparent way.
Maybe in 2009 .


-- 
luigi
...
it's new .
it's powerful .
it's luatex .
http://www.luatex.org
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] MKIV and XML documentation

2007-12-18 Thread Johannes Graumann
Thanks! I remembered this, but had lost track of where to find it ...
Can someone please have a quick look at the following:

\startxmlsetups xml:mysetups
  \xmlsetsetup{\xmldocument}{text:p}{xml:paragraph}
\stopxmlsetups

\xmlregistersetup{xml:mysetups}

\startxmlsetups xml:paragraph
  \xmlflush{#1}\endgraf
\stopxmlsetups

\starttext
  \processXMLfilegrouped{zip::\env{odt}::content.xml}
\stoptext

Why do I get nothing but a tuo file when processing like so:
texmfstart \
texexec --lua --purge --arg="odt=Versuch.odt" --result=Versuch.odt.pdf \
COOnTeXML.tex
where the code above is in COOnTeXML.tex and Versuch.odt contains a 
tag ...

Thanks, Joh

Hans Hagen wrote:

> Johannes Graumann wrote:
>> Dear all,
>> 
>> What is currently the best source for documentation on mark iv's xml
>> capabilities?
> 
> there is a chapter in mk.pdf; next year i'll write a manual (and i'll
> probably give a tutorial at the context conference)
> 
> Hans
> 
> -
>Hans Hagen | PRAGMA ADE
>Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
>   tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
>   | www.pragma-pod.nl
> -
>
___
> If your question is of interest to others as well, please add an entry to
> the Wiki!
> 
> maillist : ntg-context@ntg.nl /
> http://www.ntg.nl/mailman/listinfo/ntg-context
> webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
> archive  : https://foundry.supelec.fr/projects/contextrev/
> wiki : http://contextgarden.net
>
___


___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] mkiv update

2007-12-18 Thread Wolfgang Schuster
2007/12/18, Taco Hoekwater <[EMAIL PROTECTED]>:
>
>
> Wolfgang Schuster wrote:
> > 2007/12/18, Taco Hoekwater <[EMAIL PROTECTED]>:
> >>
> >> Wolfgang Schuster wrote:
> >>>report >> load otf: unable to remap cid font, missing cid file for
> >>> c:/w32tex/share/texmf-fonts/fonts/opentype/adobe/kozuka/KozGoProVI-Medium.otf
> >> Looks like we don't have a cidmap for Japan1-4. It may work if you copy
> >> /fonts/cid/adobe-japan1-5.cidmap to adobe-japan1-4.cidmap
> >> (dont for get to rerun luatools --generate).
> >
> > Why do you want a cidmap for Japan 1-4, Kozuka Gothic need one for Japan1-6.
>
> Ah, sorry. My KozGoPro-Medium.otf is Japan 1-4.

I use only the Kozuka Mincho ond Gothic fonts from the japnese
language pack for Adoe Reader, it contains KozGoProVI-Medium and not
KozGoPro-Medium, your font is available in different sizes while mine
has only one style, no bold or medium but italic for latin chars.

Wolfgang
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] MKIV and XML documentation

2007-12-18 Thread Wolfgang Schuster
2007/12/18, Johannes Graumann <[EMAIL PROTECTED]>:
> Thanks! I remembered this, but had lost track of where to find it ...
> Can someone please have a quick look at the following:
>
> \startxmlsetups xml:mysetups
>   \xmlsetsetup{\xmldocument}{text:p}{xml:paragraph}
> \stopxmlsetups
>
> \xmlregistersetup{xml:mysetups}
>
> \startxmlsetups xml:paragraph
>   \xmlflush{#1}\endgraf
> \stopxmlsetups
>
> \starttext
>   \processXMLfilegrouped{zip::\env{odt}::content.xml}
> \stoptext

replace this with

\starttext
\xmlprocess{main}{zip::\env{odt}::content.xml}{}
\stoptext

\processXMLfilegrouped did not work in combination with xmlregistersetup

> Why do I get nothing but a tuo file when processing like so:
> texmfstart \
> texexec --lua --purge --arg="odt=Versuch.odt" --result=Versuch.odt.pdf \
> COOnTeXML.tex
> where the code above is in COOnTeXML.tex and Versuch.odt contains a 
> tag ...
>
> Thanks, Joh

Wolfgang
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] stable new-minimals distribution?

2007-12-18 Thread Santy, Michael

I see on the wiki that there are plans to create a "stable", "beta", and 
"broken" branches of the new minimals distribution on 
minimals.contextgarden.net.  Is the eventual goal of this to replace the 
current mechanism for obtaining minimals and cont-tmf as zip files from Pragma? 
 If so, when is this change over set to happen?

Cheers,
Mike

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] defining a command

2007-12-18 Thread Roger Mason
Hello again,

"Wolfgang Schuster" <[EMAIL PROTECTED]> writes:

> \definefloat[plot][plots][figure]
> \setupfloat[plot][command={\scale[width=5cm]}]

What would the plural form be used for?  Could I use it to define a
combination?  If so, how?

Thanks for the help,

Roger
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] MKIV and XML documentation

2007-12-18 Thread Johannes Graumann
Wolfgang Schuster wrote:

> 2007/12/18, Johannes Graumann <[EMAIL PROTECTED]>:
>> Thanks! I remembered this, but had lost track of where to find it ...
>> Can someone please have a quick look at the following:
>>
>> \startxmlsetups xml:mysetups
>>   \xmlsetsetup{\xmldocument}{text:p}{xml:paragraph}
>> \stopxmlsetups
>>
>> \xmlregistersetup{xml:mysetups}
>>
>> \startxmlsetups xml:paragraph
>>   \xmlflush{#1}\endgraf
>> \stopxmlsetups
>>
>> \starttext
>>   \processXMLfilegrouped{zip::\env{odt}::content.xml}
>> \stoptext
> 
> replace this with
> 
> \starttext
> \xmlprocess{main}{zip::\env{odt}::content.xml}{}
> \stoptext
> 
> \processXMLfilegrouped did not work in combination with xmlregistersetup
> 
Thanks for the hint, but

\startxmlsetups xml:mysetups
  \xmlsetsetup{\xmldocument}{text:p}{xml:paragraph}
\stopxmlsetups

\xmlregistersetup{xml:mysetups}

\startxmlsetups xml:paragraph
  \xmlflush{#1}\endgraf
\stopxmlsetups

\starttext
  \xmlprocess{main}{zip::\env{odt}::content.xml}{}
\stoptext

doesn't give anything different than what I was trying before ...

Joh

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] defining a command

2007-12-18 Thread Wolfgang Schuster
2007/12/18, Roger Mason <[EMAIL PROTECTED]>:
> Hello again,
>
> "Wolfgang Schuster" <[EMAIL PROTECTED]> writes:
>
> > \definefloat[plot][plots][figure]
> > \setupfloat[plot][command={\scale[width=5cm]}]
>
> What would the plural form be used for?  Could I use it to define a
> combination?  If so, how?
>
> Thanks for the help,
>
> Roger

You need normaly only two parameters for \definefloat, e.g. the example
\definefloat[plot][plot]

create the command \placeplot to place the plots in your document
and the commands \placelistofplots and \completelistofplots to place
a content list with a plots in your document.

The \definefloat command with three arguments did the same thing,
but the caption of the plots is taken from \placefigure and the plotnumber
is also incremented with every figure in your document.

Wolfgang
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] MKIV and XML documentation

2007-12-18 Thread Wolfgang Schuster
2007/12/18, Johannes Graumann <[EMAIL PROTECTED]>:
> Wolfgang Schuster wrote:
>
> > 2007/12/18, Johannes Graumann <[EMAIL PROTECTED]>:
> >> Thanks! I remembered this, but had lost track of where to find it ...
> >> Can someone please have a quick look at the following:
> >>
> >> \startxmlsetups xml:mysetups
> >>   \xmlsetsetup{\xmldocument}{text:p}{xml:paragraph}
> >> \stopxmlsetups
> >>
> >> \xmlregistersetup{xml:mysetups}
> >>
> >> \startxmlsetups xml:paragraph
> >>   \xmlflush{#1}\endgraf
> >> \stopxmlsetups
> >>
> >> \starttext
> >>   \processXMLfilegrouped{zip::\env{odt}::content.xml}
> >> \stoptext
> >
> > replace this with
> >
> > \starttext
> > \xmlprocess{main}{zip::\env{odt}::content.xml}{}
> > \stoptext
> >
> > \processXMLfilegrouped did not work in combination with xmlregistersetup
> >
> Thanks for the hint, but
>
> \startxmlsetups xml:mysetups
>   \xmlsetsetup{\xmldocument}{text:p}{xml:paragraph}
> \stopxmlsetups
>
> \xmlregistersetup{xml:mysetups}
>
> \startxmlsetups xml:paragraph
>   \xmlflush{#1}\endgraf
> \stopxmlsetups
>
> \starttext
>   \xmlprocess{main}{zip::\env{odt}::content.xml}{}
> \stoptext
>
> doesn't give anything different than what I was trying before ...

Can you send a real example (Openoffice file plus TeX file).

Wolfgang
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] MKIV and XML documentation

2007-12-18 Thread Johannes Graumann
Wolfgang Schuster wrote:

> 2007/12/18, Johannes Graumann <[EMAIL PROTECTED]>:
>> Wolfgang Schuster wrote:
>>
>> > 2007/12/18, Johannes Graumann <[EMAIL PROTECTED]>:
>> >> Thanks! I remembered this, but had lost track of where to find it ...
>> >> Can someone please have a quick look at the following:
>> >>
>> >> \startxmlsetups xml:mysetups
>> >>   \xmlsetsetup{\xmldocument}{text:p}{xml:paragraph}
>> >> \stopxmlsetups
>> >>
>> >> \xmlregistersetup{xml:mysetups}
>> >>
>> >> \startxmlsetups xml:paragraph
>> >>   \xmlflush{#1}\endgraf
>> >> \stopxmlsetups
>> >>
>> >> \starttext
>> >>   \processXMLfilegrouped{zip::\env{odt}::content.xml}
>> >> \stoptext
>> >
>> > replace this with
>> >
>> > \starttext
>> > \xmlprocess{main}{zip::\env{odt}::content.xml}{}
>> > \stoptext
>> >
>> > \processXMLfilegrouped did not work in combination with
>> > xmlregistersetup
>> >
>> Thanks for the hint, but
>>
>> \startxmlsetups xml:mysetups
>>   \xmlsetsetup{\xmldocument}{text:p}{xml:paragraph}
>> \stopxmlsetups
>>
>> \xmlregistersetup{xml:mysetups}
>>
>> \startxmlsetups xml:paragraph
>>   \xmlflush{#1}\endgraf
>> \stopxmlsetups
>>
>> \starttext
>>   \xmlprocess{main}{zip::\env{odt}::content.xml}{}
>> \stoptext
>>
>> doesn't give anything different than what I was trying before ...
> 
> Can you send a real example (Openoffice file plus TeX file).

Attached. Thanks for your time. Joh
% texmfstart texexec --lua COOnTeXML.tex --arg="odt=someotherfile.zip"
\startxmlsetups xml:mysetups
  \xmlsetsetup{\xmldocument}{text:p}{xml:paragraph}
\stopxmlsetups

\xmlregistersetup{xml:mysetups}

\startxmlsetups xml:paragraph
  \xmlflush{#1}\endgraf
\stopxmlsetups

\starttext
  \xmlprocess{main}{zip::\env{odt}::content.xml}{}
\stoptext


Versuch.odt
Description: application/vnd.oasis.opendocument.text
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Placing meaningful footnotes

2007-12-18 Thread Zhichu Chen
Thanks Wolfgang,

I looked at the source a little bit but all macros are defined with
insertion and I don't know how to make them share a same counter. Maybe we
need a new \definerelatednote macro.

Anyway, your suggestion makes sense.

On Dec 18, 2007 5:59 PM, Wolfgang Schuster <[EMAIL PROTECTED]>
wrote:

> 2007/12/17, Zhichu Chen <[EMAIL PROTECTED]>:
> > Hi everybody,
> >
> > Right now I'm writing an article and in the title's block I wanna thank
> > somebody and in the authors' block I wanna display the email addresses.
> And
> > I want them done with footnotes with "set 2" conversion. When I use
> > ===
> > \definenote[thanks][conversion=set 2]
> > \definenote[email]
> >   [conversion=set 2,
> >textstyle=type]
> > ===
> > The footnotes are shown with two areas, one for the \thanks and another
> for
> > the \email, and they all started with "*" symbol, I mean there're two
> > footnotes noted by star-symbol. I know I can just use
> > \setupfootnotes[conversion=set 2] and do all my job by only using
> \footnote
> > macro, but it's just of curiosity, can I use those meaningful macros to
> do
> > continuously numbered footnotes and displayed only one area at the
> bottom of
> > the page.
>
> Hi Chen,
>
> I took a quick look at the source and it seems this is not possible,
> but you define
> email as macro and call thank in the expansion text.
>
> \def\email#1{\thanks{\type{#1}}} or better
> \def\email#1{\thanks{\hyphenatedurl{#1}}} % breaks at the line end
>
> Wolfgang
>
> ___
> If your question is of interest to others as well, please add an entry to
> the Wiki!
>
> maillist : ntg-context@ntg.nl /
> http://www.ntg.nl/mailman/listinfo/ntg-context
> webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
> archive  : https://foundry.supelec.fr/projects/contextrev/
> wiki : http://contextgarden.net
>
> ___
>



-- 
Best Regards
Chen


 Zhi-chu Chen | Shanghai Synchrotron Radiation Facility
No. 2019 | Jialuo Rd. | Jiading | Shanghai | P.R. China
tel: 086 21 5955 3405 | zhichu.chen.googlepages.com
  | www.sinap.ac.cn

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] MKIV and XML documentation

2007-12-18 Thread Hans Hagen
Pablo Rodríguez wrote:
> Hans Hagen wrote:
>> Johannes Graumann wrote:
>>> Dear all,
>>>
>>> What is currently the best source for documentation on mark iv's xml
>>> capabilities?
>> there is a chapter in mk.pdf; next year i'll write a manual (and i'll 
>> probably give a tutorial at the context conference)
> 
> I have read that chapter and I wonder whether this XML handling will be 
> available in LuaTeX or it will be exclusive for ConTeXt.

luatex is just lua + tex + access to each other, the luatex dev team 
will *not* provide solutions; mkiv is what we use for testing etc etc

> Sorry if the question seems to be stupid. I would like to know whether 
> this will be available for LuaTeX + LaTeX one day.

i'm thinking of a multi layer context i.e. kind of macro package 
building subsystem; this means that we can for instance provide a kind 
of bare tex with only core functionality (fonts, languages, io, xml, etc)

i have no plans to support latex if only because i have no need for it; 
the xml parser is rather generic, which is why it is in l-xml, but 
things may change (there will be more functionality, as in lxml-*)

(btw, the lpath code is somewhat experimental and will be extended, as 
will manipulative functions)

Hans


-
   Hans Hagen | PRAGMA ADE
   Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
  tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
  | www.pragma-pod.nl
-
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] MKIV and XML documentation

2007-12-18 Thread Hans Hagen
luigi scarso wrote:
> On Dec 18, 2007 1:11 PM, Pablo Rodríguez <[EMAIL PROTECTED]> wrote:
>> Hans Hagen wrote:
>>> Johannes Graumann wrote:
 Dear all,

 What is currently the best source for documentation on mark iv's xml
 capabilities?
>>> there is a chapter in mk.pdf; next year i'll write a manual (and i'll
>>> probably give a tutorial at the context conference)
>> I have read that chapter and I wonder whether this XML handling will be
>> available in LuaTeX or it will be exclusive for ConTeXt.
> In luatex there is already lxml, which makes the basic layer.
> Context mkiv add a 'context way' to do things .

bewqre, that's officially mkiv code; okay, it's mostly generic, and 
could be used elsewhere but that only makes sense when i've frozen the api;

Hans

-
   Hans Hagen | PRAGMA ADE
   Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
  tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
  | www.pragma-pod.nl
-
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] MkIV on Ubuntu

2007-12-18 Thread Aditya Mahajan
On Tue, 18 Dec 2007, Hans Hagen wrote:

> Aditya Mahajan wrote:
>> On Mon, 17 Dec 2007, Aditya Mahajan wrote:
>>
>>> LuaTools | locating list of /usr/share/texmf-{texlive
>>> LuaTools | locating list of tetex}
>>
>> Bug in line 2498 of luatools
>>
>>  local t = instance.treepath:splitchr(',')
>>
>> Should be split taking the braces into account.
>
> what variable is that?

The texmf.cnf that ships with Ubuntu has

TEXMFDIST = /usr/share/texmf-{texlive,tetex}

With this string, luatools was splitting it into two trees

/usr/share/texmf-{texlive
tetex

rather than /usr/share/texmf-texlive and /usr/share/texmf-tetex

Aditya
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] stable new-minimals distribution?

2007-12-18 Thread Aditya Mahajan
On Tue, 18 Dec 2007, Santy, Michael wrote:

>
> I see on the wiki that there are plans to create a "stable", "beta", and 
> "broken" branches of the new minimals distribution on 
> minimals.contextgarden.net.  Is the eventual goal of this to replace the 
> current mechanism for obtaining minimals and cont-tmf as zip files from 
> Pragma?  If so, when is this change over set to happen?

The minimals on the garden work use rsync, so they only download the new 
files, while the current mechanism downloads the complete cont-tmf.zip 
file.

Aditya
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] MkIV on Ubuntu

2007-12-18 Thread Hans Hagen
Aditya Mahajan wrote:
> On Tue, 18 Dec 2007, Hans Hagen wrote:
> 
>> Aditya Mahajan wrote:
>>> On Mon, 17 Dec 2007, Aditya Mahajan wrote:
>>>
 LuaTools | locating list of /usr/share/texmf-{texlive
 LuaTools | locating list of tetex}
>>> Bug in line 2498 of luatools
>>>
>>>  local t = instance.treepath:splitchr(',')
>>>
>>> Should be split taking the braces into account.
>> what variable is that?
> 
> The texmf.cnf that ships with Ubuntu has
> 
> TEXMFDIST = /usr/share/texmf-{texlive,tetex}
> 
> With this string, luatools was splitting it into two trees
> 
> /usr/share/texmf-{texlive
> tetex
> 
> rather than /usr/share/texmf-texlive and /usr/share/texmf-tetex

ok, we need the advanced splitter then; but i wonder why that branch is 
entered

Hans


-
   Hans Hagen | PRAGMA ADE
   Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
  tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
  | www.pragma-pod.nl
-
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] texexec completion script for zsh

2007-12-18 Thread Matija Šuklje
Dne ponedeljek 17. decembra 2007 je Aditya Mahajan napisal(a):
> I just put together a simple completion script for texexec in zsh.

Sweet, thanks :]

> This is my first attempt to write a zsh completion script. Any feedback is
> welcome.

Well, I'm a Zsh newbie, so I'm in no position to claim anything to be wrong. 
But what bothers me with your script (as it is right now) is that when apart 
from 'texexec' there is also a 'texexec_completer' command present. 

Otherwise, really great work! It inspired me to perhaps even take on some Zsh 
scripting of my own at some point.


Cheers,
Matija Šuklje

-- 
gsm: +386 41 849 552
e-mail: [EMAIL PROTECTED]
www: http://matija.suklje.name

aim: hookofsilver
icq: 110183360
jabber/g-talk: [EMAIL PROTECTED]
msn: [EMAIL PROTECTED]
yahoo: matija_suklje
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] page numbers in Table of Contents, mismatch

2007-12-18 Thread Saji N Hameed
Dear ConText gurus,

I am faced with a new problem with the page numbering in the
Table of Contents. In the appendices, I use:

\setuppagenumbering
   [way=bychapter, 
chapternumber=yes,
numberseparator=-]

to get page numbers like A-15, B-24 ... etc
However, the page numbers associated with Appendix 1 in the Table
of Contents is like

  1 Introduction   11
1.1 Goals of Research  11
1.2 Necessity of Research  11

  A Real-time Monitoring of Intraseasonal Variations 15
  B Drought Monitoring Based on Standardized Precipitation Index 24

I am wondering if there is a way to get ConText to write my TOC as:

  A Real-time Monitoring of Intraseasonal Variations A-15
  B Drought Monitoring Based on Standardized Precipitation Index B-24

My document is structured as follows:

\input layout
\starttext

  \startfrontmatter
\input HomePage
  \stopfrontmatter

  \placelist[chapter,section]

  \startbodymatter
\input Chapter1
\input Chapter2
  \stopbodymatter

  \startappendices
\input Appendix1
\input Appendix2
  \stopappendices

\stoptext

Thanks as always,

saji

-- 
Saji N. Hameed

APEC Climate Center +82 51 668 7470
National Pension Corporation Busan Building 12F 
Yeonsan 2-dong, Yeonje-gu, BUSAN 611705 [EMAIL PROTECTED]
KOREA
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] mkiv update

2007-12-18 Thread Arthur Reutenauer
> 2. also mkiv, ConTeXt has problems to load more than one cid font in one
>document, loading only font but for more fonts on the first is recognized
>and all followings fonts can't be loaded.

  I can confirm that.  Hans, the problem is in the fonts.otf.cidmap
function in font-otf.lua: if it has already found an appropriate cidmap,
the "if not fonts.otf.cidmaps[filename]" test fails and returns nothing.
You need to add a matching "else" clause, something like "else return
fonts.otf.cidmaps[filename]" (I just made this addition and recompiled
the formats, and it works).

Arthur
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] mkiv update

2007-12-18 Thread Hans Hagen
Arthur Reutenauer wrote:
>> 2. also mkiv, ConTeXt has problems to load more than one cid font in one
>>document, loading only font but for more fonts on the first is recognized
>>and all followings fonts can't be loaded.
> 
>   I can confirm that.  Hans, the problem is in the fonts.otf.cidmap
> function in font-otf.lua: if it has already found an appropriate cidmap,
> the "if not fonts.otf.cidmaps[filename]" test fails and returns nothing.
> You need to add a matching "else" clause, something like "else return
> fonts.otf.cidmaps[filename]" (I just made this addition and recompiled
> the formats, and it works).


ok, thanks, will fix it

Hans

-
   Hans Hagen | PRAGMA ADE
   Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
  tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
  | www.pragma-pod.nl
-
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] texexec completion script for zsh

2007-12-18 Thread Aditya Mahajan

On Tue, 18 Dec 2007, Matija Šuklje wrote:


Dne ponedeljek 17. decembra 2007 je Aditya Mahajan napisal(a):

I just put together a simple completion script for texexec in zsh.


Sweet, thanks :]


This is my first attempt to write a zsh completion script. Any feedback is
welcome.


Well, I'm a Zsh newbie,


So am I. Been using it for about two weeks now.


so I'm in no position to claim anything to be wrong.
But what bothers me with your script (as it is right now) is that when apart
from 'texexec' there is also a 'texexec_completer' command present.


Yes. All the completer functions are available as commands. Try _ and 
you will see all the in-built ones.


If you want, you can rename texexec_completer to _texexec. That way, you 
will not get prompted for it on normal commands. I do not know if _ is 
reservered for distribution level completers or not, so did not name it 
_texexec.




Otherwise, really great work! It inspired me to perhaps even take on some Zsh
scripting of my own at some point.


I have been fairly impressed zsh tab completion. For example, suppose 
firefox has hung, and you want to kill it. Earlier, I did something like


ps aux | grep firefox

look at the pid and kill that process. With zsh, I can do

kill -9 firefox and it finds the pid for me. Sweet.

At some point, I hope to get a more sophisticated completer for texexec.

Aditya___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] texexec completion script for zsh

2007-12-18 Thread Matija Šuklje
Dne torek 18. decembra 2007 je Aditya Mahajan napisal(a):

> Yes. All the completer functions are available as commands. Try _ and
> you will see all the in-built ones.

Thanks. Nice :]

> If you want, you can rename texexec_completer to _texexec. That way, you
> will not get prompted for it on normal commands. I do not know if _ is
> reservered for distribution level completers or not, so did not name it
> _texexec.

Hmm, that would be a possibility. If I look at Gentoo's Portage 
autocompletion, they're all names like '_genlop', '_gentoolkit' etc. ...so 
IMHO '_texexec' would be quite acceptable.
.
> look at the pid and kill that process. With zsh, I can do
>
> kill -9 firefox and it finds the pid for me. Sweet.

I didn't know about that one yet ...but Zsh *is* amazing. Not to mention how 
the documentation is overpowering.

-- 
gsm: +386 41 849 552
e-mail: [EMAIL PROTECTED]
www: http://matija.suklje.name

aim: hookofsilver
icq: 110183360
jabber/g-talk: [EMAIL PROTECTED]
msn: [EMAIL PROTECTED]
yahoo: matija_suklje


signature.asc
Description: This is a digitally signed message part.
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] new mkiv

2007-12-18 Thread Hans Hagen
I uploaded a new zip, only a few patches (transparency fix, multiple cnf 
file support, cid fix)

Hans
-- 

-
   Hans Hagen | PRAGMA ADE
   Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
  tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
  | www.pragma-pod.nl
-
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] Zapf Chancery and mkiv

2007-12-18 Thread Aditya Mahajan
Hi,

There is something wrong with the mappings for zapf chancery in mkiv.

Minimal example

\usetypescriptfile[type-gyr]
\definetypeface   [mainface] 
[rm][serif][pagella][default][encoding=texnansi]
\definetypeface   [mainface] [cg][calligraphy][chancery][default]
   [encoding=texnansi]
\setupbodyfont
   [mainface,10pt]

\starttext
\cg test
\stoptext


Gives

This went wrong: /home/adityam/texmf/tex/context/base/font-tfm.lua:141: attempt 
to index local 'tfmdata' (a nil value)
error >> define font: font with name texgyrechorus-regular is not found.

\relax
\xxdododefinefont ...tspec {#4}\newfontidentifier
   \let \localrelativefontsiz...
\fontstrategy ...me \fontclass #2#3#4#5\endcsname
   \tryingfontfalse \fi
 ...yle \fontalternative \fontsize
   \fi \iftryingfont \fontstr...
\synchronizefont ...strategy \the \fontstrategies
   \relax \fi \iftryingfont \...
l.9 \cg
 test
? r
OK, entering \nonstopmode...
! Font \*mainface10ptcgtfcg*:=texgyrechorus-regular*default at 10pt not 
loadable: metric data not found or bad.

\relax
\xxdododefinefont ...tspec {#4}\newfontidentifier
   \let \localrelativefontsiz...
\fontstrategy ...me \fontclass #2#3#4#5\endcsname
   \tryingfontfalse \fi
 ...yle \fontalternative \fontsize
   \fi \iftryingfont \fontstr...
\synchronizefont ...strategy \the \fontstrategies
   \relax \fi \iftryingfont \...
l.9 \cg
 test

I get the same error on contextgarden. Only texgyrechorus-italicmedium.otf 
is availabe from tex-gyre website. But context is looking for 
texgyrechorus-regular and cannot find it. The same file works with mkii.

Aditya

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Zapf Chancery and mkiv

2007-12-18 Thread Arthur Reutenauer
> There is something wrong with the mappings for zapf chancery in mkiv.

  Have you installed TeX Gyre Chorus on your system?  It has been
released quite recently (September 26th).

http://www.gust.org.pl/projects/e-foundry/tex-gyre/chorus/
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] Problems with using PPCHTEX in LaTeX

2007-12-18 Thread Erik Stempel
Dear Mr. Hagen,

I have a problem with using PPCHTEX with LaTeX (MikTeX 2.6).
After reporting this problem at GoogleGroups I get a message to report 
the problem directly to you.

The problem is, that only the including of \usepackage{m-pictex, 
m-ch-de} makes six errors (pdflatex).
The minimal example:

\documentclass{scrartcl}
\usepackage{m-ch-de}
\begin{document}
Test
\end{document}

The errors:

! Missing { inserted.

   \def
l.659 \unexpanded\def
 \complexstartchemical[#1]%
...
! Forbidden control sequence found while scanning text of \unexpanded.

}
l.840
...
! Missing { inserted.

   \edef
l.1768 \definecomplexorsimple\chemical
...
\edef \chemical {\noexpand \docomplexorsimple [EMAIL PROTECTED] \noexpand 
\csname
\ETC.
! Forbidden control sequence found while scanning text of \unexpanded.

}
l.1867
...
! Missing { inserted.

   \def
l.1868 \unexpanded\def
  \chemicaloxidation#1#2#3%
...
! Forbidden control sequence found while scanning text of \unexpanded.

}
l.2026

I tried to use etex.sty, m-pictex and pstricks instead of pictex, but 
without success.
The running with latex and pstricks makes even 19 errors.

What can I do?

I hope you can help me and send you many thanks in advance.

Sincerely
Erik


PS: Sorry because of my English. I know, it's not the best.
If you can understand german, you can have a look at 
http://groups.google.de/group/de.comp.text.tex/browse_thread/thread/8d675adc0bab50fc
 
where you can see the post at GoogleGroups.
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] stable new-minimals distribution?

2007-12-18 Thread Mojca Miklavec
On Dec 18, 2007 2:48 PM, Santy, Michael wrote:
>
> I see on the wiki that there are plans to create a "stable", "beta", and
> "broken" branches of the new minimals distribution on
> minimals.contextgarden.net.

Well, that thing with "broken" was more like a joke :)

> Is the eventual goal of this to replace the
> current mechanism for obtaining minimals and cont-tmf as zip files from
> Pragma?  If so, when is this change over set to happen?

The main advantage is that it consumes less bandwidth (only downloads
newer files) and that the binaries and fonts are updated together with
ConTeXt :)

I use that one already, and it seems to work OK in most respects.
There's the latest ConTeXt, latest fonts, and more-or-less the latest
binaries for every platform. But some things (most notaly the
documentation and some font metrics that ship with PRAGMA's zips) are
missing. And it would be nice to have some code which would enable one
to use local configuration for deciding which fonts/modules/engines to
use.
Etc etc. (Also: when I rebuild the minimals, files might be out of
sync - say, new ConTeXt, but old LuaTeX for Mac PPC and Linux 64. Or
accidentally copying mac binaries to Linux, some files in Akira's
W32TeX or fonts renamed ... Some basic testing should become part of
the game as well.)

I would say: you are free to use it, but the location and details may
still change (any feedback is welcome though).

The starting point is here:
http://minimals.contextgarden.net/setup/
or here:
http://minimals.contextgarden.net/pragma/
(two different things - the second one is more similar to PRAGMA, but
both strategies should result in the same set of files)

Once the method is stable and ready, it will be announced, but I don't
find it has reached that point yet.


Here's an old unfinished message that I keep in drafts for quite some
time already:

--

Hello,

a while back I have started experimenting with svn/rsync (together
with Arthur, Hans and Taco) since I thought that downloading of
"standalone zips" each time something had been updated was an
unnecessary loss of bandwidth and time.

== What? ==

For those who want it served in two words: at
http://minimals.contextgarden.net/pragma/
there are equivalent (but *not* identical !!!) zips as on Hans's page.


== Why? ==

I have put them there for two main reasons:
- to get some feedback about their (missing) functionality
- because the ones on Pragma are slightly outdated (and I suspect that
Hans might be waiting for the new minimals to appear and waits with
updating the zips exactly for that reason)

== WARNING ==

Now a big warning sign: the location of those files might and probably
*will change*. (We're also running out of disk space on the garden. I
have no idea when the bandwidth will reach its limit, but let's hope
that it will suffice for now.)

So: feel free to download, test and use those files, but do *not* rely
on that location or whatever else util announced. Use at your own risk
until that timepoint.

Also note that this is *not* (at least not yet) any official release
of the Standalone distribution. It might replace it in future, but at
the moment it is completely independent.

== Main difference with the files on Pragma ==

"Incompatible" differences:
- texmf-local renamed to texmf-context (texmf-local is really meant
for local stuff)
- texmf-macosx renamed (split into osx-intel and osx-ppc)

What's there:
- the latest binaries for almost all the platforms
- the latest versions of fonts, including TeX Gyre, and including
OpenType versions of all the Polish fonts
- the latest version of ConTeXt
- man pages (thanks to Sanjoy and others - feel free to send updates)
- the same set of modules as in Hans's distro + t-tikz
- support for Solaris added, other platforms might be added on request
rather easily (if anyone is willing to provide the binaries for XeTeX
and LuaTeX)

Missing:
- documentation & licences for just about everything except modules
- there's no mswincontext (yet) - fixing other things has a priority
at the moment, and one can still take the old mswincontext and replace
only the relevant parts
- quite some font files in comparison to Hans's distribution (I need
to figure out which are the important ones)
- *you* need to tell if you miss something else
- backup on the server

Updating is "semiautomatic". That means that someone needs to submit
new binaries (XeTeX, LuaTeX) manually (except for Windows), fonts and
ConTeXt are fetched and rearranged automatically, but the main update
script is still triggered manually (for the moment).
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://cont

Re: [NTG-context] Zapf Chancery and mkiv

2007-12-18 Thread Aditya Mahajan
On Wed, 19 Dec 2007, Arthur Reutenauer wrote:

>> There is something wrong with the mappings for zapf chancery in mkiv.
>
>  Have you installed TeX Gyre Chorus on your system?  It has been
> released quite recently (September 26th).

Yes, I have Chorus installed. But I only have 
texgyrechorus-mediumitalic.otf (and qzcmi.pfm), while ConTeXt is looking 
for texgyrechorus-regular. I get the same error on contextgarden, so it is 
not something with just my (currently semi-broken) local setup. Can you 
run my minimal example with \loggingall and send me the log file offlist?


Aditya
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Zapf Chancery and mkiv

2007-12-18 Thread Aditya Mahajan
On Tue, 18 Dec 2007, Aditya Mahajan wrote:

> Hi,
>
> There is something wrong with the mappings for zapf chancery in mkiv.

There is a typo in type-otf.tex. The following is wrong

\starttypescript [calligraphy] [chancery]
 \definefontsynonym [Chancery] [texgyrechorus-regular] [features=default]
\stoptypescript

The font should be texgyrechorus-mediumitalic.

Aditya
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Zapf Chancery and mkiv

2007-12-18 Thread luigi scarso
On Dec 19, 2007 5:48 AM, Aditya Mahajan <[EMAIL PROTECTED]> wrote:

> On Tue, 18 Dec 2007, Aditya Mahajan wrote:
>
> > Hi,
> >
> > There is something wrong with the mappings for zapf chancery in mkiv.
>
> There is a typo in type-otf.tex. The following is wrong
>
> \starttypescript [calligraphy] [chancery]
> \definefontsynonym [Chancery] [texgyrechorus-regular]
> [features=default]
> \stoptypescript
>


\usetypescriptfile[type-gyr]

\starttypescript [calligraphy] [chancery]
\definefontsynonym [Chancery] [texgyrechorus-mediumitalic]
[features=default]
\stoptypescript

\definetypeface   [mainface][rm][serif][pagella][default][encoding=texnansi]
\definetypeface   [mainface]
[cg][calligraphy][chancery][default][encoding=texnansi]
\setupbodyfont
  [mainface,10pt]

\starttext
\cg test
\stoptext

But compilation halts with

opt/texlive/ContextMKiv/tex/texmf-local/tex/context/base/type-gyr.tex)
This went wrong: ...xtMKiv/tex/texmf-local/tex/context/base/font-tfm.lua:141:
attempt to index local 'tfmdata' (a nil value)
error >> define font: font with name texnansi-qplr is not found.

   \relax
\xxdododefinefont ...tspec {#4}\newfontidentifier
  \let
\localrelativefontsiz...
\fontstrategy ...me \fontclass #2#3#4#5\endcsname
  \tryingfontfalse \fi
 ...yle \fontalternative \fontsize
  \fi \iftryingfont
\fontstr...
\synchronizefont ...strategy \the \fontstrategies
  \relax \fi \iftryingfont
\...
 \getvalue [EMAIL PROTECTED]@ \fontstyle }
   \edef \fontstyle {\fontstyle
}\if...
...
l.10   [mainface,10pt]

texnansi-qplr is the problem here .

-- 
luigi
http://wiki.contextgarden.net/User:Luigi.scarso/Merry_Christmas_2007

it's new .
it's powerful .
it's luatex .
http://www.luatex.org
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___