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

2007-12-19 Thread Mojca Miklavec
On Dec 19, 2007 2:36 PM, Santy, Michael wrote:
>
> Thanks, Mocja.  When do you anticipate the new minimals to be stable and
> ready?

They are already ready in the sense that they're usable (I use them myself).
The "unstable" part might be:
- their location
- "fetching scripts" (more support for modules should be added)
- we need an intermediate testing step (to confirm that minimals work
before updating the whole tree to the public)

I have no idea about the dates. But as long as you don't neet to rely
on the location to stay the same, feel free to use them and provide
feedback.

> I'm particularly interested in the Sun distribution since one is not
> provided by Pragma.

Almost everything needed for Sun is there already, except for the
recent versions of LuaTeX & XeTeX (and probably some scripts including
setuptex, first-setup.sh and mtx-update.lua need a minor update to
recognise the platform properly). (pdfTeX & metapost are also from TeX
Live, but that's not a problem)

That's something that Arthur (or you?) should provide. I cannot make
binaries for solaris myself.

Mojca
___
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] About the indent after a displayed formula

2007-12-19 Thread Longmin Wang
Thank you very much. It helps a lot. 

On Wed, Dec 19, 2007 at 06:05:38PM +0100, Wolfgang Schuster wrote:
>2007/12/19, Longmin Wang <[EMAIL PROTECTED]>:
>> Dear all,
>>
>> I found that if a paragraph is ended by a displayed formula, the first
>> line of the next paragraph will not indent. It is a feature or bug?
>> And how do I enable this indent?
>>
>> The following is a very simple example. Please note the second
>> paragraph.
>>
>> \setupindenting[medium, yes]
>> \starttext
>> This is a test file.
>> \startformula
>> x^2+y^2=1.
>> \stopformula
>>
>> This is a test file.
>>
>> This is a test file.
>> \stoptext
>
>This is the normal behaviour in ConTeXt but you can change it.
>
>\setupformulae[indentnext=auto] % or yes
>
>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
>___
>

-- 
Longmin Wang <[EMAIL PROTECTED]>
Math. Dept., Nankai Univ., China
http://math.nankai.edu.cn/~wanglm/
GnuPG-Key ID: 1024D/2A5CFA5C
Fingerprint: 8587 1246 3AAD C185 D419  ADF1 B620 D8B8 2A5C FA5C
___
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-19 Thread Johannes Graumann
Thanks Hans! Please keep me informed ... I will bug you then and again ;0)

Joh

Hans Hagen wrote:

> Wolfgang Schuster wrote:
> 
>> Looks like ConTeXt is not able to open zip files in xml mode, you should
>> Hans for this feature.
> 
> i probably have to call a different function (locator); i'll have a look
> at it (not today, no time)
> 
> 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] About the indent after a displayed formula

2007-12-19 Thread Wolfgang Schuster
2007/12/19, Longmin Wang <[EMAIL PROTECTED]>:
> Dear all,
>
> I found that if a paragraph is ended by a displayed formula, the first
> line of the next paragraph will not indent. It is a feature or bug?
> And how do I enable this indent?
>
> The following is a very simple example. Please note the second
> paragraph.
>
> \setupindenting[medium, yes]
> \starttext
> This is a test file.
> \startformula
> x^2+y^2=1.
> \stopformula
>
> This is a test file.
>
> This is a test file.
> \stoptext

This is the normal behaviour in ConTeXt but you can change it.

\setupformulae[indentnext=auto] % or yes

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] About the indent after a displayed formula

2007-12-19 Thread Longmin Wang
Dear all, 

I found that if a paragraph is ended by a displayed formula, the first
line of the next paragraph will not indent. It is a feature or bug?
And how do I enable this indent? 

The following is a very simple example. Please note the second
paragraph. 

\setupindenting[medium, yes]
\starttext
This is a test file.
\startformula
x^2+y^2=1.
\stopformula

This is a test file.

This is a test file.
\stoptext


-- 
Longmin Wang <[EMAIL PROTECTED]>
Math. Dept., Nankai Univ., China
http://math.nankai.edu.cn/~wanglm/
GnuPG-Key ID: 1024D/2A5CFA5C
Fingerprint: 8587 1246 3AAD C185 D419  ADF1 B620 D8B8 2A5C FA5C
___
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-19 Thread Zhichu Chen
On Dec 19, 2007 10:06 PM, Wolfgang Schuster <
[EMAIL PROTECTED]> wrote:

> > > You try to start with these moduls and adapt it to the note machanism.
>
> > Yes, I would love to do that. But I have some politics things to read. I
> > have to remember them in one month. So please forgive my laziness. After
> > then, I will have time to test luatex on Chinese and some other
> interesting
> > things like the Weiqi module or the footnote we are talking about.
>
> I think you're also interested in the following link, there is module
> for LaTeX and
> plain TeX to write gezhu (intertextpostil) with XeTeX.
>
> http://code.google.com/p/gezhu/

I knew it. It's an excellent job, actually it uses hbox rather than vbox.
And it end a paragraph to get the horizontal position with \lastbox before
the intertextpostil and then it can test whether or not the postil could fit
the rest of the line.

Anyway, in the ancient Chinese people's defense, one column is just one
page. They write things on a piece of long narrow bamboo from top to bottom
and weave them from right to left. So I still think I should use a \box255
to store one column and change the \output routine to weave them on a page.
But it's a little slow when using page arrangement so I guess I should
design a new algorithm myself to make it useful. And the intertextpostil
would use multicolumn with ConTeXt easily with no hacks.

> 
>
> I have myself also no time to write any code for the second version of
> the weiqi module.
>
> 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] Placing meaningful footnotes

2007-12-19 Thread Wolfgang Schuster
> > You try to start with these moduls and adapt it to the note machanism.

> Yes, I would love to do that. But I have some politics things to read. I
> have to remember them in one month. So please forgive my laziness. After
> then, I will have time to test luatex on Chinese and some other interesting
> things like the Weiqi module or the footnote we are talking about.

I think you're also interested in the following link, there is module
for LaTeX and
plain TeX to write gezhu (intertextpostil) with XeTeX.

http://code.google.com/p/gezhu/

I have myself also no time to write any code for the second version of
the weiqi module.

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] Placing meaningful footnotes

2007-12-19 Thread Zhichu Chen
On Dec 19, 2007 7:54 PM, Wolfgang Schuster <[EMAIL PROTECTED]>
wrote:

> 2007/12/18, Zhichu Chen <[EMAIL PROTECTED]>:
> > 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.
>
> You could try to look into the definition and description macros,
> Aditya provided
> souch a feature for enumerations to use the same number for different
> environments,
> the float mechanism has something similliar to use one number for
> different floats.
>
> You try to start with these moduls and adapt it to the note machanism.

Yes, I would love to do that. But I have some politics things to read. I
have to remember them in one month. So please forgive my laziness. After
then, I will have time to test luatex on Chinese and some other interesting
things like the Weiqi module or the footnote we are talking about.

>
>
> 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] (mkii) language-specific options for \placeregister[index] ?

2007-12-19 Thread Wolfgang Schuster
2007/12/19, Steffen Wolfrum <[EMAIL PROTECTED]>:
> Hi,
>
> the following (with mkii) is probably not the most pressuring topic
> to most of you  ... apologies!
>
>
> Although I have set \mainlanguage[de]   the register seems to be
> unaffected. All my cultural heritage (i.e. the Umaut) is ignored!!!
>
> o(
>
> The problem is the sorting – keywords containing umlauts seem to be
> sorted after "e":
>
> Bestimmung
> Bühler
> Bildung
>
> Are there language-specific arguments/options for   \placeregister[index]?
>
> Thanks,
>
> Steffen

Hi Steffen,

Can you post a example where this did happen for you.

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] \version[temporary]

2007-12-19 Thread Wolfgang Schuster
2007/12/19, Steffen Wolfrum <[EMAIL PROTECTED]>:
> ... and what about moving it a bit to the right? 10mm maybe?
>
> Steffen

Not very easy to change, the length for the version text is fixed and
the distance
to the right side use also a fixed value. It would make sense to
replace the current
version values to real key-val settings with a namespace. Not very
hard but should
be better done by Hans.

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] stable new-minimals distribution?

2007-12-19 Thread Santy, Michael
Thanks, Mocja.  When do you anticipate the new minimals to be stable and ready? 
 I'm particularly interested in the Sun distribution since one is not provided 
by Pragma.

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] MKIV and XML documentation

2007-12-19 Thread Hans Hagen
Wolfgang Schuster wrote:

> Looks like ConTeXt is not able to open zip files in xml mode, you should
> Hans for this feature.

i probably have to call a different function (locator); i'll have a look 
at it (not today, no time)

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] \version[temporary]

2007-12-19 Thread Steffen Wolfrum
... and what about moving it a bit to the right? 10mm maybe?

Steffen



Am 19.12.2007 um 13:00 schrieb Wolfgang Schuster:

> 2007/12/18, Steffen Wolfrum <[EMAIL PROTECTED]>:
>> 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
>
> \unprotect
>
> \startconstants all
>   register: register
>  float: float
> \stopconstants
>
> \def\dodoversion[#1][#2]%
>   {\processaction
>  [#1]
>  [\v!final=>\chardef\conceptmode\zerocount
> \overfullrule\zeropoint,
> \v!concept=>\chardef\conceptmode\plusone,  % simple banner
>\v!file=>\chardef\conceptmode\plustwo,  % full banner
>   \v!temporary=>\chardef\conceptmode\plusthree % full banner plus
> \overfullrule5\points]%% info in the  
> margin
>\def\dodocommand##1=##2\relax
>  {\processaction
> [##2]
> [\v!yes=>\setvalue{##1info}{\csname\s!do##1info\endcsname},
>   \v!no=>\letvalue{##1info}\gobbletwoarguments]}%
>[EMAIL PROTECTED]
>\processcommalist[#2]\docommand}
>
> \def\doversion[#1][#2]%
>   {\ifsecondargument
>  \dodoversion[#1][#2]%
>\else
>  \doifassignmentelse{#1}
>{\dodoversion[][#1]}
>{\dodoversion[#1][]}%
>\fi}
>
> \def\version
>   {\dodoubleempty\doversion}
>
> \def\doreferenceinfo{\dotestinfo\referenceinfobox}
> \def\doregisterinfo  {\dotestinfo\registerinfobox}
> \def\dofloatinfo {\dotestinfo\floatinfobox}
>
> \version[\v!final][\c!reference=\v!yes,\c!register=\v!yes,\c!float= 
> \v!yes]
>
> \protect
>
> \version[temporary][reference=no]
> %\version[temporary]
> %\version[reference=no]
>
> \definepapersize[test][width=157mm,height=232mm]
> \setuppapersize[test][test]
>
> \setuplayout
>   [width=113mm,
>backspace=20mm,
>location=middle,
>   ]
>
> \showframe
>
> \starttext
> \dorecurse{10}{text\footnote{note\index{keyword}}\par}
> \stoptext
>
> 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
> __ 
> _

___
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-19 Thread Aditya Mahajan
On Wed, 19 Dec 2007, luigi scarso wrote:

>>
>>> error >> define font: font with name texnansi-qplr is not found.
>>
>> But that's the problem of a missing font. Here it works OK. What
>> Arthur pointed out should be fixed though.
>>
> Yes, it is not an error .
>
> So, it's a way to signal that there is a reference to a font that in not in
> these files.
> Of course, I can download fonts and update, (I have done it for tex-gyre
> only opentype)

Actually, the error was because of the word "pagella" in my example that I 
had created (still learning mkiv font stuff). Simply replace pagella with 
palatino, and mkiv uses opentype texgyrepagella.

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] \version[temporary]

2007-12-19 Thread Wolfgang Schuster
2007/12/18, Steffen Wolfrum <[EMAIL PROTECTED]>:
> 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

\unprotect

\startconstants all
  register: register
 float: float
\stopconstants

\def\dodoversion[#1][#2]%
  {\processaction
 [#1]
 [\v!final=>\chardef\conceptmode\zerocount
\overfullrule\zeropoint,
\v!concept=>\chardef\conceptmode\plusone,  % simple banner
   \v!file=>\chardef\conceptmode\plustwo,  % full banner
  \v!temporary=>\chardef\conceptmode\plusthree % full banner plus
\overfullrule5\points]%% info in the margin
   \def\dodocommand##1=##2\relax
 {\processaction
[##2]
[\v!yes=>\setvalue{##1info}{\csname\s!do##1info\endcsname},
  \v!no=>\letvalue{##1info}\gobbletwoarguments]}%
   [EMAIL PROTECTED]
   \processcommalist[#2]\docommand}

\def\doversion[#1][#2]%
  {\ifsecondargument
 \dodoversion[#1][#2]%
   \else
 \doifassignmentelse{#1}
   {\dodoversion[][#1]}
   {\dodoversion[#1][]}%
   \fi}

\def\version
  {\dodoubleempty\doversion}

\def\doreferenceinfo{\dotestinfo\referenceinfobox}
\def\doregisterinfo  {\dotestinfo\registerinfobox}
\def\dofloatinfo {\dotestinfo\floatinfobox}

\version[\v!final][\c!reference=\v!yes,\c!register=\v!yes,\c!float=\v!yes]

\protect

\version[temporary][reference=no]
%\version[temporary]
%\version[reference=no]

\definepapersize[test][width=157mm,height=232mm]
\setuppapersize[test][test]

\setuplayout
  [width=113mm,
   backspace=20mm,
   location=middle,
  ]

\showframe

\starttext
\dorecurse{10}{text\footnote{note\index{keyword}}\par}
\stoptext

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-19 Thread Wolfgang Schuster
2007/12/18, Johannes Graumann <[EMAIL PROTECTED]>:
> 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

I tried this yesterday myself but I get the same error "no xml file found".

Looks like ConTeXt is not able to open zip files in xml mode, you should
Hans for this feature.

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] Placing meaningful footnotes

2007-12-19 Thread Wolfgang Schuster
2007/12/18, Zhichu Chen <[EMAIL PROTECTED]>:
> 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.

You could try to look into the definition and description macros,
Aditya provided
souch a feature for enumerations to use the same number for different
environments,
the float mechanism has something similliar to use one number for
different floats.

You try to start with these moduls and adapt it to the note machanism.

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] Zapf Chancery and mkiv

2007-12-19 Thread Mojca Miklavec
On Dec 19, 2007 12:36 PM, luigi scarso wrote:
>
> >
> > > error >> define font: font with name texnansi-qplr is not found.
> >
> > But that's the problem of a missing font. Here it works OK. What
> > Arthur pointed out should be fixed though.
> >
> Yes, it is not an error .
>
> My mkiv is on a linux box, and it's made only
> from pragma last_core_files (setuplinux.zip) + last_stables_zip_iles +
> last_luatex+last_metapost .
> So, it's a way to signal that there is a reference to a font that in not in
> these files.
> Of course, I can download fonts and update, (I have done it for tex-gyre
> only opentype)
> but i want  a clean, clear and minimal mviv system .
>  Maybe this evening I will re-think about 'minimal'  (ie, download all
> fonts) .

You can also "update" the minimals from here
http://minimals.contextgarden.net/pragma/, but see the big warning
sign in one of the other mails.

Mojca
___
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-19 Thread luigi scarso
>
> > error >> define font: font with name texnansi-qplr is not found.
>
> But that's the problem of a missing font. Here it works OK. What
> Arthur pointed out should be fixed though.
>
Yes, it is not an error .

My mkiv is on a linux box, and it's made only
from pragma last_core_files (setuplinux.zip) + last_stables_zip_iles +
last_luatex+last_metapost .
So, it's a way to signal that there is a reference to a font that in not in
these files.
Of course, I can download fonts and update, (I have done it for tex-gyre
only opentype)
but i want  a clean, clear and minimal mviv system .
Maybe this evening I will re-think about 'minimal'  (ie, download all fonts)
.
-- 
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
___


Re: [NTG-context] Zapf Chancery and mkiv

2007-12-19 Thread Aditya Mahajan
On Wed, 19 Dec 2007, Mojca Miklavec wrote:

> PS: Why encoding=texnansi?

I am still learning mkiv :). This was just a stripped down version of one 
of my mkii documents that was failing with mkiv.

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-19 Thread Mojca Miklavec
On Dec 19, 2007 6:37 AM, luigi scarso wrote:
>
> \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.

But that's the problem of a missing font. Here it works OK. What
Arthur pointed out should be fixed though.

(Garden's live might also be slightly out-of-date with fonts.)

Mojca

PS: Why encoding=texnansi?
___
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-19 Thread Aditya Mahajan

On Wed, 19 Dec 2007, luigi scarso wrote:


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


This runs ok here. It uses 




I am attaching the log file.

AdityaThis is LuaTeX, Version snapshot-0.20.2-2007121718 (Web2C 7.5.6) 
(format=cont-en 2007.12.18)  19 DEC 2007 05:40
**test.tex
(./test.tex

ConTeXt  ver: 2007.12.18 19:11 MKIV  fmt: 2007.12.18  int: english/english

language: language en is active
system  : cont-new loaded
(/home/adityam/texmf/tex/context/base/cont-new.tex
systems : beware: some patches loaded from cont-new.tex
(/home/adityam/texmf/tex/context/base/cont-new.mkiv
lua : used config path - /usr/share/texmf/web2c/texmf.cnf
lua : used cache path - 
//home/adityam/luatex-cache/context/c67bf06401a0e1a39f3ee04c60209dc5
) (/home/adityam/texmf/tex/context/base/cont-mtx.tex))
system  : cont-old loaded
(/home/adityam/texmf/tex/context/base/cont-old.tex
loading : Context Old Macros
)
system  : cont-fil loaded
(/home/adityam/texmf/tex/context/base/cont-fil.tex
loading : Context File Synonyms
)
system  : cont-sys.rme loaded
(/home/adityam/texmf/tex/context/user/cont-sys.rme 
(/home/adityam/texmf/tex/context/base/type-tmf.tex) 
(/home/adityam/texmf/tex/context/base/type-siz.tex) 
(/home/adityam/texmf/tex/context/base/type-otf.tex))
bodyfont: 12pt rm is loaded
specials: tex,postscript,rokicki loaded
system  : test.top loaded
(./test.top
specials: loading definition file tpd
(/home/adityam/texmf/tex/context/base/spec-tpd.tex
specials: loading definition file fdf
(/home/adityam/texmf/tex/context/base/spec-fdf.tex 
(/home/adityam/texmf/tex/context/base/spec-fdf.mkiv))
specials: fdf loaded
)
specials: fdf,tpd loaded
) (/home/adityam/texmf/tex/context/base/type-tmf.tex) 
(/home/adityam/texmf/tex/context/base/type-siz.tex) 
(/home/adityam/texmf/tex/context/base/type-otf.tex) 
(/home/adityam/texmf/tex/context/base/type-gyr.tex) 
(/home/adityam/texmf/tex/context/base/type-tmf.tex) 
(/home/adityam/texmf/tex/context/base/type-siz.tex) 
(/home/adityam/texmf/tex/context/base/type-otf.tex) 
(/home/adityam/texmf/tex/context/base/type-gyr.tex) 
(/home/adityam/texmf/tex/context/base/type-tmf.tex) 
(/home/adityam/texmf/tex/context/base/type-siz.tex) 
(/home/adityam/texmf/tex/context/base/type-otf.tex) 
(/home/adityam/texmf/tex/context/base/type-gyr.tex) 
(/home/adityam/texmf/tex/context/base/type-tmf.tex) 
(/home/adityam/texmf/tex/context/base/type-siz.tex) 
(/home/adityam/texmf/tex/context/base/type-otf.tex) 
(/home/adityam/texmf/tex/context/base/type-gyr.tex) (./test.tuo) (./test.tuo)
systems : begin file test at line 12
fonts   : resetting map file list
{/home/adityam/texmf/fonts/map/pdftex/context/original-empty.map}
fonts   : using map file: original-base
{/home/adityam/texmf/fonts/map/pdftex/context/original-base.map}
fonts   : using map file: lm-math
{/home/adityam/texmf/fonts/map/dvips/lm/lm-math.map}
fonts   : using map file: lm-rm
{/home/adityam/texmf/fonts/map/dvips/lm/lm-rm.map}
fonts   : using map file: original-ams-base
{/home/adityam/texmf/fonts/map/pdftex/context/original-ams-base.map}
fonts   : using map file: original-ams-euler
{/home/adityam/texmf/fonts/map/pdftex/context/original-ams-euler.map}
fonts   : using map file: original-public-lm
{/home/adityam/texmf/fonts/map/pdftex/context/original-public-lm.map}
fonts   : using map file: qpl-texnansi
{/home/adityam/texmf/fonts/map/dvips/tex-gyre/qpl-texnansi.map} [1.1]
systems : end file test at line 14
lua : used config path - /usr/share/texmf/web2c/texmf.cnf
lua : used cache path - 
//home/adityam/luatex-cache/context/c67bf06401a0e1a39f3ee04c60209dc5
lua : modules/dumps/instances - 74/17/1
lua : input load time - 0.061 seconds
lua : fonts load time - 0.709 seconds
lua : xml load time - 0.000 seconds
lua : mps conversion time - 0.000 seconds
lua : node processing time - 0.000 seconds (including kernel)
lua : kernel processing time - 0.000 seconds
lua : attribute proc

[NTG-context] (mkii) language-specific options for \placeregister[index] ?

2007-12-19 Thread Steffen Wolfrum
Hi,

the following (with mkii) is probably not the most pressuring topic  
to most of you  ... apologies!


Although I have set \mainlanguage[de]   the register seems to be  
unaffected. All my cultural heritage (i.e. the Umaut) is ignored!!!

o(

The problem is the sorting – keywords containing umlauts seem to be  
sorted after "e":

Bestimmung
Bühler
Bildung


Are there language-specific arguments/options for   \placeregister[index]?

Thanks,

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
___