[NTG-context] math bold not bold-italic

2013-08-19 Thread Steffen Wolfrum
Hi,

I need upright, bold math. Like in this example the lambda:


\usetypescript[type-vista.tex]
\setupbodyfont[cambria,rm,12pt]

\starttext
This is \fontname\font

${\bf λ}= 1$

\stoptext



But it always gets bold-italic! 
What is the correct way to get bold math?

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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

Re: [NTG-context] math bold not bold-italic

2013-08-19 Thread Steffen Wolfrum

Am 19.08.2013 um 13:59 schrieb Hans Hagen:

 On 8/19/2013 11:00 AM, Steffen Wolfrum wrote:
 Hi,
 
 I need upright, bold math. Like in this example the lambda:
 
 
 \usetypescript[type-vista.tex]
 \setupbodyfont[cambria,rm,12pt]
 
 \starttext
 This is \fontname\font
 
 ${\bf λ}= 1$
 
 \stoptext
 
 
 
 But it always gets bold-italic!
 What is the correct way to get bold math?
 
 \setupbodyfont[cambria,rm,12pt]
 
 \starttext
${\mathuprighta}= 1$
${\mathupright\bf a}= 1$
${\mathuprightλ}= 1$
${\mathupright\bf λ}= 1$
 \stoptext
 
 so ... no upright bold greek in the font


of course there is upright bold greek in the font!

\setupbodyfont[cambria,rm,12pt]

\starttext

{\bf λ}% -- !!!

   ${\mathuprighta}= 1$
   ${\mathupright\bf a}= 1$
   ${\mathuprightλ}= 1$
   ${\mathupright\bf λ}= 1$
\stoptext

... there is a bug in math bold, no?

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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

[NTG-context] mathvariant bold NOT bold-italic

2013-06-16 Thread Steffen Wolfrum
Hi,

as far as I have understood MathML, elements tagged with mathvariant=bold 
should be set upright bold, not bold-italic.

Could this be corrected, please?

Thank you very much!
Steffen
---

\usemodule[mathml] \starttext

\placeformula\startformula[9pt]
\setbuffer mml:math xmlns:mml=http://www.w3.org/1998/Math/MathML;
msup xmlns=http://www.w3.org/1998/Math/MathML;
mrow
mi mathvariant=boldp/mi
/mrow
mrow
mi mathvariant=boldT/mi
/mrow
/msup
/mml:math\endbuffer{\processxmlbuffer}
\stopformula


___
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] setupformulas

2013-06-11 Thread Steffen Wolfrum

Am 11.06.2013 um 11:30 schrieb Wolfgang Schuster:

 
 Am 11.06.2013 um 07:38 schrieb Steffen Wolfrum cont...@st.estfiles.de:
 
 
 Am 10.06.2013 um 17:31 schrieb Wolfgang Schuster:
 
 
 Am 10.06.2013 um 16:43 schrieb Steffen Wolfrum cont...@st.estfiles.de:
 
 Hi,
 
 \setupformulas[way=bychapter,prefixsegments=chapter]
 
 gives (A..1)
 
 But I need (A-1)!
 
 
 Any idea how the key is called to change this?
 
 You can change the separator between the section prefix and the formula 
 number with \setupformula[prefixconnector=-].
 
 
 Is there also a key for a own prefix, eg. my: (my-1)?
 
 
 It’s not a prefix but you can set a labeltext.
 
 \setupformula[prefix=no]
 \setuplabeltext[formula=Steffen-]
 
 \starttext
 \chapter{Chapter}
 \placeformula
 \startformula
 c^2 = a^2 + b^2
 \stopformula
 \stoptext


nice, thank you. 
i was looking for a key within setupformula, and didn't think of formula within 
setuplabetext!

st.
___
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] bug with overbar

2013-06-11 Thread Steffen Wolfrum

Am 10.06.2013 um 17:43 schrieb luigi scarso:

 
 
 
 On Sun, Jun 9, 2013 at 4:33 PM, luigi scarso luigi.sca...@gmail.com wrote:
 
 
 
 On Sun, Jun 9, 2013 at 4:27 PM, Steffen Wolfrum cont...@st.estfiles.de 
 wrote:
 ... no. it should look this (see below): $\overline{U_A}$
 
 it should be ok now with the latest standalone

well, the minimal example works ok (see below).
but the real piece of code doesn not (see below, too).

any idea why??

thanks, steffen
---



\usemodule[mathml] \starttext


\startbuffer
math xmlns=http://www.w3.org/1998/Math/MathML;
mrow
   mover accent=true
   mrow
   msub
   miU/mi
   miA/mi
   /msub
   /mrow
   moOverBar;/mo
   /mover
/mrow
/math
\stopbuffer{\processxmlbuffer}





\startbuffer mml:math xmlns:mml=http://www.w3.org/1998/Math/MathML;
msubsup xmlns=http://www.w3.org/1998/Math/MathML;
mrow
miU/mi
/mrow
mrow
miP/mi
/mrow
mrow
miF/mi
miV/mi
mim/mi
miM/mi
/mrow
/msubsup
mo xmlns=http://www.w3.org/1998/Math/MathML;=/mo
mfrac xmlns=http://www.w3.org/1998/Math/MathML;
mrow
mn1/mn
/mrow
mrow
mn2/mn
mik/mi
/mrow
/mfrac
mfenced xmlns=http://www.w3.org/1998/Math/MathML; open=[ close=] 
separators=|
mrow
mfenced separators=|
mrow
mii/mi
mo+/mo
mif/mi
/mrow
/mfenced
mfenced separators=|
mrow
mn2/mn
mip/mi
mo+/mo
mii/mi
mo+/mo
mif/mi
/mrow
/mfenced
mo-/mo
msup
mrow
mif/mi
/mrow
mrow
mn2/mn
/mrow
/msup
mik/mi
mir/mi
msup
mrow
miσ/mi
/mrow
mrow
mn2/mn
/mrow
/msup
/mrow
/mfenced
mo xmlns=http://www.w3.org/1998/Math/MathML;-/mo
mi xmlns=http://www.w3.org/1998/Math/MathML;c/mi
mo xmlns=http://www.w3.org/1998/Math/MathML;-/mo
mrow
   mover accent=true
   mrow
   msub
   miU/mi
   miA/mi
   /msub
   /mrow
   moOverBar;/mo
   /mover
/mrow
/mml:math\stopbuffer{\processxmlbuffer}



\stoptext


___
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

[NTG-context] mathml lim

2013-06-11 Thread Steffen Wolfrum
Hi (to whom it may concern),

I just saw that (by magic?) the missing mathvariant bold is implementetd in 
todays ctx suite! wow, thank you very much!!

two details that keep missing is max and lim (see below).

could this be done easily, too?!


Best wishes,
Steffen
---

\startbuffer mml:math xmlns:mml=http://www.w3.org/1998/Math/MathML;
mrow xmlns=http://www.w3.org/1998/Math/MathML;
mrow
munder
mrow
mi mathvariant=normallim/mi
/mrow
mrow
mil/mi
mo→/mo
mo-/mo
mi∞/mi
/mrow
/munder
/mrow
mo⁡/mo
mrow
mover accent=true
mrow
mif/mi
/mrow
motilde;/mo
/mover
mfenced separators=|
mrow
mil/mi
/mrow
/mfenced
/mrow
/mrow
mo xmlns=http://www.w3.org/1998/Math/MathML;=/mo
mrow xmlns=http://www.w3.org/1998/Math/MathML;
mrow
munder
mrow
mi mathvariant=normallim/mi
/mrow
mrow
mil/mi
mo→/mo
mo+/mo
mi∞/mi
/mrow
/munder
/mrow
mo⁡/mo
mrow
mover accent=true
mrow
mif/mi
/mrow
motilde;/mo
/mover
mfenced separators=|
mrow
mil/mi
/mrow
/mfenced
/mrow
/mrow
mo xmlns=http://www.w3.org/1998/Math/MathML;=/mo
mfrac xmlns=http://www.w3.org/1998/Math/MathML;
mrow
mii/mi
mo+/mo
mip/mi
/mrow
mrow
mik/mi
mir/mi
msup
mrow
miσ/mi
/mrow
mrow
mn2/mn
/mrow
/msup
mo-/mo
mn1/mn
/mrow
/mfrac
/mml:math\stopbuffer{\processxmlbuffer} 

___
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

[NTG-context] setupformulas

2013-06-10 Thread Steffen Wolfrum
Hi,

\setupformulas[way=bychapter,prefixsegments=chapter]

gives (A..1)

But I need (A-1)!


Any idea how the key is called to change this?

Best, 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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] setupformulas

2013-06-10 Thread Steffen Wolfrum

Am 10.06.2013 um 17:31 schrieb Wolfgang Schuster:

 
 Am 10.06.2013 um 16:43 schrieb Steffen Wolfrum cont...@st.estfiles.de:
 
 Hi,
 
 \setupformulas[way=bychapter,prefixsegments=chapter]
 
 gives (A..1)
 
 But I need (A-1)!
 
 
 Any idea how the key is called to change this?
 
 You can change the separator between the section prefix and the formula 
 number with \setupformula[prefixconnector=-].


Is there also a key for a own prefix, eg. my: (my-1)?

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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] mathml linebreak?

2013-06-09 Thread Steffen Wolfrum
Hi,

usually it is possible to break long formulas.

But is there a way to do so, when formula is coded in mathml (see example 
below)?

Thanks, Steffen

---

\placeformula\startformula[9pt]
\setbuffer mml:math xmlns:mml=http://www.w3.org/1998/Math/MathML;
msub xmlns=http://www.w3.org/1998/Math/MathML;
mrow
miC/mi
miE/mi
/mrow
mrow
miA/mi
/mrow
/msub
mo xmlns=http://www.w3.org/1998/Math/MathML;=/mo
mi xmlns=http://www.w3.org/1998/Math/MathML;F/mi
mo xmlns=http://www.w3.org/1998/Math/MathML;+/mo
msup xmlns=http://www.w3.org/1998/Math/MathML;
mrow
mi mathvariant=boldv/mi
/mrow
mrow
mi mathvariant=boldT/mi
/mrow
/msup
mi xmlns=http://www.w3.org/1998/Math/MathML; mathvariant=bolda/mi
mo xmlns=http://www.w3.org/1998/Math/MathML;+/mo
msup xmlns=http://www.w3.org/1998/Math/MathML;
mrow
mi mathvariant=boldi/mi
/mrow
mrow
mi mathvariant=boldT/mi
/mrow
/msup
mi xmlns=http://www.w3.org/1998/Math/MathML; mathvariant=bolda/mi
mo xmlns=http://www.w3.org/1998/Math/MathML;-/mo
mfrac xmlns=http://www.w3.org/1998/Math/MathML;
mrow
mn1/mn
/mrow
mrow
mn2/mn
/mrow
/mfrac
mi xmlns=http://www.w3.org/1998/Math/MathML; mathvariant=bold /mi
msup xmlns=http://www.w3.org/1998/Math/MathML;
mrow
mi mathvariant=bolda/mi
/mrow
mrow
mi mathvariant=boldT/mi
/mrow
/msup
mi xmlns=http://www.w3.org/1998/Math/MathML; mathvariant=boldK/mi
mi xmlns=http://www.w3.org/1998/Math/MathML; mathvariant=bold /mi
mi xmlns=http://www.w3.org/1998/Math/MathML; mathvariant=bolda/mi
mo xmlns=http://www.w3.org/1998/Math/MathML;-/mo
mi xmlns=http://www.w3.org/1998/Math/MathML; mathvariant=normalm/mi
mi xmlns=http://www.w3.org/1998/Math/MathML; mathvariant=normala/mi
mi xmlns=http://www.w3.org/1998/Math/MathML; mathvariant=normalx/mi
mfenced xmlns=http://www.w3.org/1998/Math/MathML; separators=.
mrow
msub
mrow
miλ/mi
/mrow
mrow
mn1/mn
/mrow
/msub
mo,/mo
msub
mrow
miλ/mi
/mrow
mrow
mn2/mn
/mrow
/msub
mo,/mo
mo…/mo
mo,/mo
msub
mrow
miλ/mi
/mrow
mrow
min/mi
/mrow
/msub
/mrow
/mfenced
mo xmlns=http://www.w3.org/1998/Math/MathML;·/mo
mfenced xmlns=http://www.w3.org/1998/Math/MathML; open=[ close=] 
separators=.
mrow
mic/mi
mo-/mo
msup
mrow
mi mathvariant=boldf/mi
/mrow
mrow
mi mathvariant=boldT/mi
/mrow
/msup
mi mathvariant=bolda/mi
mo+/mo
mil/mi
mfenced separators=.
mrow
msup
mrow
mi mathvariant=boldv/mi
/mrow
mrow
mi mathvariant=boldT/mi
/mrow
/msup
mi mathvariant=bolda/mi
/mrow
/mfenced
/mrow
/mfenced
mo xmlns=http://www.w3.org/1998/Math/MathML;-/mo
mfrac xmlns=http://www.w3.org/1998/Math/MathML;
mrow
mir/mi
/mrow
mrow
mn2/mn
/mrow
/mfrac
msup xmlns=http://www.w3.org/1998/Math/MathML;
mrow
mfenced open={ close=} separators=.
mrow
mi mathvariant=boldλ/mi
mi mathvariant=bold /mi
mo⊙/mo
mfenced open=[ close=] separators=.
mrow
mfenced separators=.
mrow
mn1/mn
mo-/mo
mil/mi
/mrow
/mfenced
mi mathvariant=boldv/mi
mo+/mo
mi mathvariant=boldf/mi
/mrow
/mfenced
/mrow
/mfenced
/mrow
mrow
mi mathvariant=boldT/mi
/mrow
/msup
mi xmlns=http://www.w3.org/1998/Math/MathML; mathvariant=bold /mi
mi xmlns=http://www.w3.org/1998/Math/MathML; mathvariant=boldΣ/mi
mi xmlns=http://www.w3.org/1998/Math/MathML; mathvariant=normal /mi
mfenced xmlns=http://www.w3.org/1998/Math/MathML; open={ close=} 
separators=.
mrow
mi mathvariant=boldλ/mi
mi mathvariant=bold /mi
mo⊙/mo
mfenced open=[ close=] separators=.
mrow
mfenced separators=.
mrow
mn1/mn
mo-/mo
mil/mi
/mrow
/mfenced
mi mathvariant=boldv/mi
mo+/mo
mi mathvariant=boldf/mi
/mrow
/mfenced
/mrow
/mfenced
/mml:math\endbuffer{\processxmlbuffer}
\stopformula
___
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

[NTG-context] math guru wanted

2013-06-09 Thread Steffen Wolfrum
Hi,

whats wrong with this formula (see below)?
It runs into error:

! Missing \endgroup inserted.

system   tex  error on line 10 in file 
/Volumes/daten_pro/_AKTUELL/BRUNNER/mathml_test/mathml_test1.tex: Missing  ...

 1 %context
 2 %!TEX TS-program = luatex
 3 
 4 
 5 
 6 \usemodule[mathml] \starttext
 7 
 8 
 9 \setbuffer mml:math xmlns:mml=http://www.w3.org/1998/Math/MathML;
10   mi xmlns=http://www.w3.org/1998/Math/MathML; mathvariant=bolda/mi
11 mo xmlns=http://www.w3.org/1998/Math/MathML;∈/mo
12 mi xmlns=http://www.w3.org/1998/Math/MathML; 
mathvariant=normala/mi
13 mi xmlns=http://www.w3.org/1998/Math/MathML; 
mathvariant=normalr/mi
14 mi xmlns=http://www.w3.org/1998/Math/MathML; 
mathvariant=normalg/mi
15 mrow xmlns=http://www.w3.org/1998/Math/MathML;
16 mrow
17 munder
18 mrow
19 mi mathvariant=normalmax/mi
20 /mrow

inserted text 
\endgroup 
to be read again 
\right 
\fakerightdelimiter ...nesting \zerocount \right 
  .\fi 
argument ...imiter \xmlflush {temp::22}\fakerightdelimiter 
  \disabledelimiter 
\firstoftwoarguments #1#2h-#1
 
\15:mml:mrow ...sabledelimiter } {\xmlflush {#1}}
  \endgroup 
...
l.217 /mml:math\endbuffer{\processxmlbuffer}

? 
Process aborted



Steffen
---


\usemodule[mathml] \starttext


\setbuffer mml:math xmlns:mml=http://www.w3.org/1998/Math/MathML;
mi xmlns=http://www.w3.org/1998/Math/MathML; mathvariant=bolda/mi
mo xmlns=http://www.w3.org/1998/Math/MathML;∈/mo
mi xmlns=http://www.w3.org/1998/Math/MathML; mathvariant=normala/mi
mi xmlns=http://www.w3.org/1998/Math/MathML; mathvariant=normalr/mi
mi xmlns=http://www.w3.org/1998/Math/MathML; mathvariant=normalg/mi
mrow xmlns=http://www.w3.org/1998/Math/MathML;
mrow
munder
mrow
mi mathvariant=normalmax/mi
/mrow
mrow
msup
mrow
mi mathvariant=bolda/mi
/mrow
mrow
mi mathvariant=bold'/mi
/mrow
/msup
/mrow
/munder
/mrow
mo⁡/mo
mrow
mfenced open={ close=} separators=.
mrow
miF/mi
mo+/mo
msup
mrow
mi mathvariant=boldv/mi
/mrow
mrow
mi mathvariant=boldT/mi
/mrow
/msup
msup
mrow
mi mathvariant=bolda/mi
/mrow
mrow
mi mathvariant=bold'/mi
/mrow
/msup
mo+/mo
msup
mrow
mi mathvariant=boldi/mi
/mrow
mrow
mi mathvariant=boldT/mi
/mrow
/msup
mi mathvariant=bolda/mi
mo-/mo
mfrac
mrow
mn1/mn
/mrow
mrow
mn2/mn
/mrow
/mfrac
mi mathvariant=bold /mi
msup
mrow
msup
mrow
mi mathvariant=bolda/mi
/mrow
mrow
mi mathvariant=bold'/mi
/mrow
/msup
/mrow
mrow
mi mathvariant=boldT/mi
/mrow
/msup
mi mathvariant=boldK/mi
mi mathvariant=bold /mi
msup
mrow
mi mathvariant=bolda/mi
/mrow
mrow
mi mathvariant=bold'/mi
/mrow
/msup
mo-/mo
mfenced open=[ close=] separators=.
mrow
mic/mi
mo-/mo
msup
mrow
mi mathvariant=boldf/mi
/mrow
mrow
mi mathvariant=boldT/mi
/mrow
/msup
msup
mrow
mi mathvariant=bolda/mi
/mrow
mrow
mi mathvariant=bold'/mi
/mrow
/msup
mo+/mo
mil/mi
mfenced separators=.
mrow
msup
mrow
mi mathvariant=boldv/mi
/mrow
mrow
mi mathvariant=boldT/mi
/mrow
/msup
msup
mrow
mi mathvariant=bolda/mi
/mrow
mrow
mi mathvariant=bold'/mi
/mrow
/msup
/mrow
/mfenced
/mrow
/mfenced
mo-/mo
mfrac
mrow
mir/mi
/mrow
mrow
mn2/mn
/mrow
/mfrac
msup
mrow
mfenced open=[ close=] separators=.
mrow
mfenced separators=.
mrow
mn1/mn
mo-/mo
mil/mi
/mrow
/mfenced
mi mathvariant=boldv/mi
mo+/mo
mi mathvariant=boldf/mi
/mrow
/mfenced
/mrow
mrow
mi mathvariant=boldT/mi
/mrow
/msup
mi mathvariant=bold /mi
mi mathvariant=boldΣ/mi
mfenced open=[ close=] separators=.
mrow
mfenced separators=.
mrow
mn1/mn
mo-/mo
mil/mi
/mrow
/mfenced
mi mathvariant=boldv/mi
mo+/mo
mi mathvariant=boldf/mi
/mrow
/mfenced
mo|/mo
mi mathvariant=bold-italic /mi
msup
mrow
mi mathvariant=bolda/mi
/mrow
mrow
mi mathvariant=bold'/mi
/mrow
/msup
mo∈/mo
msubsup
mrow
mi mathvariant=double-struckR/mi
/mrow
mrow
mo+/mo
/mrow
mrow
min/mi
/mrow
/msubsup
/mrow
/mfenced
/mrow
/mrow
/mml:math\endbuffer{\processxmlbuffer}


\stoptext
___
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

[NTG-context] bug with overbar

2013-06-09 Thread Steffen Wolfrum
Hi Hans,

this seems to be a bug: the overbar should not be set separately again over A



\usemodule[mathml] \starttext


\startbuffer 
math xmlns=http://www.w3.org/1998/Math/MathML;
mrow
mover accent=true
mrow
msub
miU/mi
miA/mi
/msub
/mrow
moOverBar;/mo
/mover
/mrow
/math
\stopbuffer{\processxmlbuffer} 

\stoptext



Is there a fix?

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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] bug with overbar

2013-06-09 Thread Steffen Wolfrum
... no. it should look this (see below): $\overline{U_A}$

but coded in MathML.

st.




Bildschirmfoto 2013-06-09 um 16.25.37.pdf
Description: Adobe PDF document


___
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

[NTG-context] buff_gobble error MathML

2013-06-08 Thread Steffen Wolfrum
Hi friends,

we need to run MathML inside \sym (see below).
Is there a way to solve the error ! Argument of \buff_gobble has an extra }.

Thanks, Steffen
---
\usemodule[mathml] \starttext

\setupitemize[1][broad][margin=no,distance=0em,width=0em,align=stretch]

\startitemize[1][width=5cm]

\sym{\startbuffer mml:math xmlns:mml=http://www.w3.org/1998/Math/MathML;
msub xmlns=http://www.w3.org/1998/Math/MathML;
mrow
mig/mi
/mrow
mrow
mn1/mn
/mrow
/msub
mo xmlns=http://www.w3.org/1998/Math/MathML;,/mo
mi xmlns=http://www.w3.org/1998/Math/MathML; /mi
msub xmlns=http://www.w3.org/1998/Math/MathML;
mrow
mig/mi
/mrow
mrow
mn2/mn
/mrow
/msub
/mml:math\stopbuffer\processxmlbuffer}Vektor

\stopitemize

\stoptext
___
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] buff_gobble error MathML

2013-06-08 Thread Steffen Wolfrum

Am 08.06.2013 um 16:18 schrieb Wolfgang Schuster:

 
 Am 08.06.2013 um 12:53 schrieb Steffen Wolfrum cont...@st.estfiles.de:
 
 Hi friends,
 
 we need to run MathML inside \sym (see below).
 Is there a way to solve the error ! Argument of \buff_gobble has an extra 
 }.
 
 You can’t use \startbuffer … \stopbuffer in other commands but with \setbuffer
 there is a command which can be used here.
 
 \sym{\setbuffer … \endbuffer\processxmlbuffer}



great, thanks. but this immediately gives the next error: invalid xml file - 
parsed text

what's wrong with the code below?

Steffen
---

\usemodule[mathml] \starttext


\setbuffer mml:math xmlns:mml=http://www.w3.org/1998/Math/MathML;
mn xmlns=http://www.w3.org/1998/Math/MathML;0/mn
mo xmlns=http://www.w3.org/1998/Math/MathML;≤/mo
msub xmlns=http://www.w3.org/1998/Math/MathML;
mrow
miδ/mi
/mrow
mrow
mij/mi
mis/mi
/mrow
/msub
mo xmlns=http://www.w3.org/1998/Math/MathML;/mo
mroot xmlns=http://www.w3.org/1998/Math/MathML;
mrow
msub
mrow
mik/mi
/mrow
mrow
mij/mi
/mrow
/msub
msub
mrow
mik/mi
/mrow
mrow
mis/mi
/mrow
/msub
/mrow
mrow/
/mroot
/mml:math\endbuffer\processxmlbuffer

\stoptext
___
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

[NTG-context] mathvariant bold

2013-06-08 Thread Steffen Wolfrum
Hi,

any idea, how to get  it

mi mathvariant=boldp/mi

typeset in bold??



Steffen
---



\usemodule[mathml] \starttext

\placeformula\startformula[9pt]
\setbuffer mml:math xmlns:mml=http://www.w3.org/1998/Math/MathML;
mi xmlns=http://www.w3.org/1998/Math/MathML;π/mi
mo xmlns=http://www.w3.org/1998/Math/MathML;=/mo
msup xmlns=http://www.w3.org/1998/Math/MathML;
mrow
mi mathvariant=boldp/mi
/mrow
mrow
mi mathvariant=boldT/mi
/mrow
/msup
mi xmlns=http://www.w3.org/1998/Math/MathML; mathvariant=bolda/mi
mo xmlns=http://www.w3.org/1998/Math/MathML;+/mo
msub xmlns=http://www.w3.org/1998/Math/MathML;
mrow
miε/mi
/mrow
mrow
miπ/mi
/mrow
/msub
mo xmlns=http://www.w3.org/1998/Math/MathML;=/mo
msubsup xmlns=http://www.w3.org/1998/Math/MathML;
mo∑/mo
mrow
mij/mi
mo=/mo
mn1/mn
/mrow
mrow
min/mi
/mrow
/msubsup
mrow xmlns=http://www.w3.org/1998/Math/MathML;
msub
mrow
mip/mi
/mrow
mrow
mij/mi
/mrow
/msub
msub
mrow
mo·/mo
mia/mi
/mrow
mrow
mij/mi
/mrow
/msub
/mrow
mo xmlns=http://www.w3.org/1998/Math/MathML;+/mo
msub xmlns=http://www.w3.org/1998/Math/MathML;
mrow
miε/mi
/mrow
mrow
miπ/mi
/mrow
/msub
/mml:math\endbuffer{\processxmlbuffer}
\stopformula



___
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

[NTG-context] Including section number in reference broken

2013-03-17 Thread Steffen Wolfrum
Hi,

in October 2011 Marco asked how to get an output like this:

I Foo
A Bar
subsection I.A


The example he posted (see below) came to this result:

I Foo
A Bar
subsection A


Then Wolfgang added this line:

\setupreferencestructureprefix[default][prefixsegments=2:*]


But running this advice with todays beta does not have any effect one Marcos 
original example, and it does not lead to the desired ouput.


Is this broken now?

Steffen



%

\definestructureconversionset [myset]
 [
   Romannumerals,
   Romannumerals,
   Romannumerals,
   Character,
 ]
 [numbers]
\setuphead [sectionconversionset=myset]
\setuphead
 [subsection]
 [sectionsegments=subsection]

\starttext
 \startsection [title=Foo]

   \startsubsection [title=Bar, reference=bar]
   \stopsubsection

   \in{subsection}[bar]

 \stopsection
\stoptext

%



___
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Include section number in reference

2013-03-16 Thread Steffen Wolfrum

Am 13.10.2011 um 22:48 schrieb Wolfgang Schuster:

 
 Am 13.10.2011 um 22:36 schrieb Marco:
 
 Does anyone have an idea?
 
 What I  do at the moment  is that I manually  reference my
 sections. But  I'm convinced, there's a  neat solution for
 that.
 
 \setupreferencestructureprefix[default][prefixsegments=2:*]
 
 Wolfgang



If I run Marcos example (as seen below), it gives:

I Foo
A Bar
subsection A


But how do we get 
I Foo
A Bar
subsection I.A ??


Steffen
---


\definestructureconversionset [myset]
 [
   Romannumerals,
   Romannumerals,
   Romannumerals,
   Character,
 ]
 [numbers]
\setuphead [sectionconversionset=myset]
\setuphead
 [subsection]
 [sectionsegments=subsection]

\setupreferencestructureprefix[default][prefixsegments=1:*]


 \startsection [title=Foo]

   \startsubsection [title=Bar, reference=bar]
   \stopsubsection

   \in{subsection}[bar]

 \stopsection
 

___
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] formula in TABLE is not continuous numbered

2012-08-12 Thread Steffen Wolfrum
Hi,

please have a look at this minimal example below:
you'll find three formulas (1), (4), (5)

What happen to (2)  and (3)?

Steffen
...

\starttext

\placeformula \startformula a+b=c \stopformula

\bTABLE[frame=on,align=right,width=fit,style={\switchtobodyfont[9pt]}]
\bTR
\bTD[width=35mm]
\placeformula
\startformula c-a=b
\stopformula
\eTD
\eTR
\eTABLE

\placeformula \startformula c-b=a \stopformula

\stoptext

___
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] formula in TABLE is not continuous numbered

2012-08-12 Thread Steffen Wolfrum

Am 12.08.2012 um 22:10 schrieb Wolfgang Schuster:

 
 Am 12.08.2012 um 21:48 schrieb Steffen Wolfrum cont...@st.estfiles.de:
 
 Hi,
 
 please have a look at this minimal example below:
 you'll find three formulas (1), (4), (5)
 
 What happen to (2)  and (3)?
 
 Steffen
 ...
 
 \starttext
 
 \placeformula \startformula a+b=c \stopformula
 
 \bTABLE[frame=on,align=right,width=fit,style={\switchtobodyfont[9pt]}]
 \bTR
 \bTD[width=35mm]
 \placeformula
 \startformula c-a=b
 \stopformula
 \eTD
 \eTR
 \eTABLE
 
 \placeformula \startformula c-b=a \stopformula
 
 \stoptext
 
 It’s a bug in the formula numbering. Natural tables perform three runs on the 
 table
 content to calculate the cell size but formula etc. counters shouldn’t be 
 increases
 in the first two runs.


great, yet another bug hunted!
and what can be done (on the short-run) to avoid increasing?

is there a handy command to manually count down by two?

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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] formula in TABLE is not continuous numbered

2012-08-12 Thread Steffen Wolfrum

Am 12.08.2012 um 22:33 schrieb Wolfgang Schuster:

 
 Am 12.08.2012 um 22:19 schrieb Steffen Wolfrum cont...@st.estfiles.de:
 
 
 Am 12.08.2012 um 22:10 schrieb Wolfgang Schuster:
 
 
 Am 12.08.2012 um 21:48 schrieb Steffen Wolfrum cont...@st.estfiles.de:
 
 Hi,
 
 please have a look at this minimal example below:
 you'll find three formulas (1), (4), (5)
 
 What happen to (2)  and (3)?
 
 Steffen
 ...
 
 \starttext
 
 \placeformula \startformula a+b=c \stopformula
 
 \bTABLE[frame=on,align=right,width=fit,style={\switchtobodyfont[9pt]}]
 \bTR
 \bTD[width=35mm]
 \placeformula
 \startformula c-a=b
 \stopformula
 \eTD
 \eTR
 \eTABLE
 
 \placeformula \startformula c-b=a \stopformula
 
 \stoptext
 
 It’s a bug in the formula numbering. Natural tables perform three runs on 
 the table
 content to calculate the cell size but formula etc. counters shouldn’t be 
 increases
 in the first two runs.
 
 
 great, yet another bug hunted!
 and what can be done (on the short-run) to avoid increasing?
 
 is there a handy command to manually count down by two?
 
 
 You can replace
 
  \placeformula
 
 with
 
  \doifnotmode{*trialtypesetting}\placeformula
 
 Wolfgang
 

yes we can!

;o)

great, thank you wolfgang
st.
___
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] math formula linebreak

2012-08-09 Thread Steffen Wolfrum
Hi,

for nice linebreaking we can adjust math formulas by the use of NC, NR 
alignment.

But if someone only wants long formulas to fit in a defined area, and want them 
to break automatically ... is there a handy solution?

(Below are examples that don't work)

Thanks,
Steffen
---


\starttext


\placeformula
\startformula[9pt]
I=\big\{\lambda u(x_0-\pi^H K)+(1-\lambda)[\pi^L u(x_0-K+(1-\pi^L)Z_{L'})
+(1-\pi^L)u(x_0-\pi^L Z_{L'})]\big\}-\big\{\pi^U u(x_0-K+(1-\pi^U)Z_{U'})
+(1-\pi^U)u(x_0-\pi^U Z_{U'})\big\}.
\stopformula



\defineframedtext
 [defbackground]
 [width=10cm,
  frame=on,
  location=paragraph]


\startdefbackground
\placeformula
\startformula[9pt]
I=\big\{\lambda u(x_0-\pi^H K)+(1-\lambda)[\pi^L u(x_0-K+(1-\pi^L)Z_{L'})
+(1-\pi^L)u(x_0-\pi^L Z_{L'})]\big\} -\big\{\pi^U u(x_0-K+(1-\pi^U)Z_{U'})
+(1-\pi^U)u(x_0-\pi^U Z_{U'})\big\}.
\stopformula
\stopdefbackground





\definelayer[mylayer]


\setlayerframed
 [mylayer]
 [x=25mm,
  y=85mm,
  height=43.5mm,
  width=10cm,align=block]
 {
 \placeformula
\startformula[9pt]
I=\big\{\lambda u(x_0-\pi^H K)+(1-\lambda)[\pi^L u(x_0-K+(1-\pi^L)Z_{L'})
+(1-\pi^L)u(x_0-\pi^L Z_{L'})]\big\} -\big\{\pi^U u(x_0-K+(1-\pi^U)Z_{U'})
+(1-\pi^U)u(x_0-\pi^U Z_{U'})\big\}.
\stopformula
 }

\setupbackgrounds[page][background=mylayer]






\stoptext

___
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] math formula linebreak

2012-08-09 Thread Steffen Wolfrum

Am 09.08.2012 um 22:21 schrieb Prashanth:

 
 On 09/08/12 09:37, Steffen Wolfrum wrote:
 Hi,
 
 for nice linebreaking we can adjust math formulas by the use of NC, NR 
 alignment.
 
 But if someone only wants long formulas to fit in a defined area, and want 
 them to break automatically ... is there a handy solution?
 
 (Below are examples that don't work)
 
 Thanks,
 Steffen
 ---
 
 
 \starttext
 
 
 \placeformula
 \startformula[9pt]
 I=\big\{\lambda u(x_0-\pi^H K)+(1-\lambda)[\pi^L u(x_0-K+(1-\pi^L)Z_{L'})
 +(1-\pi^L)u(x_0-\pi^L Z_{L'})]\big\}-\big\{\pi^U u(x_0-K+(1-\pi^U)Z_{U'})
 +(1-\pi^U)u(x_0-\pi^U Z_{U'})\big\}.
 \stopformula
 
 
 
 \defineframedtext
  [defbackground]
  [width=10cm,
   frame=on,
   location=paragraph]
 
 
 \startdefbackground
 \placeformula
 \startformula[9pt]
 I=\big\{\lambda u(x_0-\pi^H K)+(1-\lambda)[\pi^L u(x_0-K+(1-\pi^L)Z_{L'})
 +(1-\pi^L)u(x_0-\pi^L Z_{L'})]\big\} -\big\{\pi^U u(x_0-K+(1-\pi^U)Z_{U'})
 +(1-\pi^U)u(x_0-\pi^U Z_{U'})\big\}.
 \stopformula
 \stopdefbackground
 
 
 
 
 
 \definelayer[mylayer]
 
 
 \setlayerframed
  [mylayer]
  [x=25mm,
   y=85mm,
   height=43.5mm,
   width=10cm,align=block]
  {
  \placeformula
 \startformula[9pt]
 I=\big\{\lambda u(x_0-\pi^H K)+(1-\lambda)[\pi^L u(x_0-K+(1-\pi^L)Z_{L'})
 +(1-\pi^L)u(x_0-\pi^L Z_{L'})]\big\} -\big\{\pi^U u(x_0-K+(1-\pi^U)Z_{U'})
 +(1-\pi^U)u(x_0-\pi^U Z_{U'})\big\}.
 \stopformula
  }
 
 \setupbackgrounds[page][background=mylayer]
 
 
 
 
 
 
 \stoptext
 
 When I needed something like that, I used \allowbreak with inlinemath. In 
 your case, you could do:
 \bTABLE[frame=on,align=right,width=10cm]
 \bTR
 \bTD
 $I=\big\{\lambda u(x_0-\pi^H K)\allowbreak+(1-\lambda)[\pi^L 
 u(x_0-K+(1-\pi^L)Z_{L'})\allowbreak+(1-\pi^L)u(x_0-\pi^L 
 Z_{L'})]\big\}\allowbreak -\big\{\pi^U 
 u(x_0-K+(1-\pi^U)Z_{U'})\allowbreak+(1-\pi^U)u(x_0-\pi^U Z_{U'})\big\}.$
 \eTD
 \eTR
 \eTABLE
 
 This will just flow it like regular text. I don't know if this is good enough 
 for your needs. If not, you can add another way to your list of ways ;-).



Hey, you skipped start/stopformula and used a $$ environment?! 
Why not, that's a quite clever approach (... actually, it's a quite efficient 
workaround for my needs).

Thank you Prash, thank you very much!
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] alternative=d gives attr

2012-07-30 Thread Steffen Wolfrum
Hi,

\starttext
\subject{Contents}
\setuplist[section][alternative=d]
\placecontent
\section{One}
\section{Two}
\stoptext

while the minimal example above works nicely, my more complex project adds a 
attr in front off the section number (ie. a):

attr a) Test one 47 attr b) Test two 51

Any idea where this attr2 comes from, and how to get rid of it??

Second question: how can I add a separator, like this: 

a) Test one 47  –   b) Test two 51


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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] alternative=d gives attr

2012-07-30 Thread Steffen Wolfrum

Am 30.07.2012 um 12:46 schrieb luigi scarso:

 
 
 On Mon, Jul 30, 2012 at 12:32 PM, Steffen Wolfrum cont...@st.estfiles.de 
 wrote:
 Hi,
 
 \starttext
 \subject{Contents}
 \setuplist[section][alternative=d]
 \placecontent
 \section{One}
 \section{Two}
 \stoptext
 
 while the minimal example above works nicely, my more complex project adds a 
 attr in front off the section number (ie. a):
 
 attr a) Test one 47 attr b) Test two 51
 
 Any idea where this attr2 comes from, and how to get rid of it??
 
  
 With latest mkiv I see this:
 Contents
 1 One 1 2 Two 1
 1 One
 2 Two


me too. only my real project gives instead:

 attr a) Test one 47 attr b) Test two 51

... and none of my style/environment files contain the phrase attr!!

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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] alternative=d gives attr

2012-07-30 Thread Steffen Wolfrum

Am 30.07.2012 um 12:47 schrieb Marco Patzer:

 On 2012-07-30 Steffen Wolfrum cont...@st.estfiles.de wrote:
 
 Hi Steffen,
 
 Any idea where this attr2 comes from, and how to get rid of it??
 
 Sorry, no clue.
 
 Second question: how can I add a separator, like this: 
 
 a) Test one 47   –   b) Test two 51
 
 \setuplist
  [section]
  [alternative=d,
   textcommand=\SectionCommand]
 
 \define[1]\SectionCommand{#1 --}

sorry, but this results in:
1 One – 1 2 Two – 1

what I am looking for is this:
1 One 1  –  2 Two 1

ie. a seperator between consecutive entries

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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] alternative=d (right margin needed)

2012-07-30 Thread Steffen Wolfrum
Hi,

please have a look at the attached screenshot:
there you see two TOC entries set alternative=d (after pagenumber 360 and 381).

what can be done to make them stop at the vertical blue line, too?

Thanks, Steffen
---

inline: screenshot_steffen.gif___
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

[NTG-context] notes placed left, right aligned

2012-07-29 Thread Steffen Wolfrum
Hi,

my footnotes don't behave as they did three months ago ...

I wanted the footnote's number left from the footnote's text,
but these numbers should be right aligned:
so that the ones (eg. in 1 and 21 and 201) are exactly on top of each 
other

any idea how to achieve this?

Thanks, Steffen

---

\starttext

\setupbodyfont[times,6pt]

\setupnotation[footnote][alternative=left,width=12pt,distance=4.80pt]

\dorecurse{111}{test\footnote{\input ward\par}}

\stoptext



___
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] notes placed left, right aligned

2012-07-29 Thread Steffen Wolfrum

Am 29.07.2012 um 18:27 schrieb Peter Münster:

 On Sun, Jul 29 2012, Steffen Wolfrum wrote:
 
 but these numbers should be right aligned:
 so that the ones (eg. in 1 and 21 and 201) are exactly on top of each 
 other
 
 any idea how to achieve this?
 
 \def\NumberCommand#1{\rightaligned{#1}} % or:
 \def\NumberCommand#1{\hfill#1}
 
 \setupnotation[footnote][alternative=left,width=12pt,distance=4.80pt,
numbercommand=\NumberCommand]


Yes numbercommand, that's it! 

I wanted command=\NumberCommand with \def\NumberCommand#1{\rightaligned{#1}} 
... and that failed.

Thanks a lot!
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] how to avoid CID Identity-H encoding?

2012-07-27 Thread Steffen Wolfrum

Am 26.07.2012 um 19:35 schrieb Hans Hagen:

 On 26-7-2012 17:59, Steffen Wolfrum wrote:
 Hi Hans, hi friends,
 
 while the PDF that are produced by MkIV show no problems, some applications 
 that use these PDF files for post-processing have big problems with 
 CID/Encoding Identity-H.
 
 For example (as far as I have understood) german umlauts eg. ä are not 
 recognized anymore but split in eg. a and diaeresis (with a space 
 between?).
 
 I was told, that other PDF creators have an option to avoid using this kind 
 of encoding.
 
 Is this also possible with MkIV?
 
 afaik context output the right tounicode info so i have no clue what goes 
 wrong there

me neither.

the pdf produced with MkII never ran into this post-processing trouble.
they had this font info, eg.:

Type: Type 1
Encoding: Custom

while all fonts I have tested with MkIV result in this:

Type: Type 1 (CID)
Encoding: Identity-H

and this double-byte encoding confuses the pdf-post-processing machines (I was 
told).
therefore we are asked to change it.

is there a chance to do so?


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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] how to avoid CID Identity-H encoding?

2012-07-27 Thread Steffen Wolfrum

Am 27.07.2012 um 11:50 schrieb Hans Hagen:

 On 27-7-2012 11:36, Steffen Wolfrum wrote:
 
 Am 26.07.2012 um 19:35 schrieb Hans Hagen:
 
 On 26-7-2012 17:59, Steffen Wolfrum wrote:
 Hi Hans, hi friends,
 
 while the PDF that are produced by MkIV show no problems, some 
 applications that use these PDF files for post-processing have big 
 problems with CID/Encoding Identity-H.
 
 For example (as far as I have understood) german umlauts eg. ä are not 
 recognized anymore but split in eg. a and diaeresis (with a space 
 between?).
 
 I was told, that other PDF creators have an option to avoid using this 
 kind of encoding.
 
 Is this also possible with MkIV?
 
 afaik context output the right tounicode info so i have no clue what goes 
 wrong there
 
 me neither.
 
 the pdf produced with MkII never ran into this post-processing trouble.
 they had this font info, eg.:
 
 Type: Type 1
 Encoding: Custom
 
 probably not always, i.e. when ttf fonts were used it would use those and 
 related embedding methods but hardly anyone uses ttf in pdftex
 
 while all fonts I have tested with MkIV result in this:
 
 Type: Type 1 (CID)
 Encoding: Identity-H
 
 and this double-byte encoding confuses the pdf-post-processing machines (I 
 was told).
 therefore we are asked to change it.
 
 you can try to send them ps (pdftops)
 
 is there a chance to do so?
 
 they should update their machines (read: there is no way that luatex will 
 provide split into type1 functionality)
 
 (Luigi and Martin probably can explain it better)


yes, please! I am very interested in more information on this, as I expect hard 
talks.

the problem is that more and more our context PDF files are not used as print 
files, nor as classical PDF files.
there main use tends to be as feed material for Flash and other applications 
that reprocess our PDF file for on-line environments, subscribers.

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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] how to avoid CID Identity-H encoding?

2012-07-26 Thread Steffen Wolfrum
Hi Hans, hi friends,

while the PDF that are produced by MkIV show no problems, some applications 
that use these PDF files for post-processing have big problems with 
CID/Encoding Identity-H.

For example (as far as I have understood) german umlauts eg. ä are not 
recognized anymore but split in eg. a and diaeresis (with a space between?).

I was told, that other PDF creators have an option to avoid using this kind of 
encoding.

Is this also possible with MkIV?

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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Local TOC after each chapter title (was: Re: Need help)

2012-07-19 Thread Steffen Wolfrum

Am 18.07.2012 um 16:56 schrieb Marco:

 On 2012-07-18 Wolfgang Schuster schuster.wolfg...@gmail.com wrote:
 
 When you use the start/stop-commands you can use “insidesection=…”
 which comes after the “after” key.
 
 Nice, I didn't know that one, yet. Wikified under \setupheads.


I searched for insidesection on this garden's page ...

http://wiki.contextgarden.net/Command/setuphead

... but couldn't find it. Is there yet another page for \setupheads?

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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] PDF links wrong on Windows

2012-06-21 Thread Steffen Wolfrum
Hi,

I just finished a book project with MkIV vers. 2012.04.14 00:10.

When opening the PDF on Mac, all bookmarks link to the correct page.
when opening the PDF on Windows, all bookmarks link to a wrong page (page 
number plus one).

Is this a know issue?


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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] PDF links wrong on Windows

2012-06-21 Thread Steffen Wolfrum

Am 21.06.2012 um 14:55 schrieb Hans Hagen:

 On 21-6-2012 14:35, Steffen Wolfrum wrote:
 Hi,
 
 I just finished a book project with MkIV vers. 2012.04.14 00:10.
 
 When opening the PDF on Mac, all bookmarks link to the correct page.
 when opening the PDF on Windows, all bookmarks link to a wrong page (page 
 number plus one).
 
 Is this a know issue?
 
 Not to me but I've never opened a pdf on the mac with bookmarks. Hwo do other 
 viewers behave?


On Mac I tested with different viewers (AcrobatPro, AcroReader, Mac's Preview): 
all give the same correct behaviour.

On Win7 I tested with Acrobat: false.
the strange thing here is, when I look at the bookmark's properties, they show 
the correct page number as target action. Only when pressing the link, the 
result gets plus one!

@Hans: do you want to test the pdf yourself?

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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] PDF links wrong on Windows

2012-06-21 Thread Steffen Wolfrum

Am 21.06.2012 um 15:53 schrieb Taco Hoekwater:


 And in that case, it was not really linking to the next page, but to the
 very bottom of the correct page (with \setupinteraction[focus=standard])


I only used \setupinteraction[state=start], no focus, nothing fancy. 
Nothing funny ;o(

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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] figures

2012-06-14 Thread Steffen Wolfrum

Nice feature!

Thanks,
Steffen


Am 14.06.2012 um 09:56 schrieb Hans Hagen:

 Hi,
 
 I probably forgot to tell, but since a fee betas we have
 
 \setupexternalfigures
  [order={pdf,png,jpg},
   directory={./images},
   ..]
 
 i.e. the order key can enforce the quality order as well as limit the amount 
 of lookups (which saves time when images are -still- missing)
 
 Hans
 
 -
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 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  : http://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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] japanese spaced

2012-05-10 Thread Steffen Wolfrum
Hi,

if a paragraph is set to align=block the space between words can be stretched.

If eg. a japanese word is mentioned in such a paragraph the space between the 
japanes characters gets spaced/stretched too (see example attached).

This may be right for japanese texts, but it is wrong if the main/surrounding 
language is not japanese (and thus no additional space between characters is 
wanted).

What is an easy way to avoid this? 
\definestartstop [Japaned] [commands={\language[jp]\DoNotSpace}]??

Steffen
---


example.pdf
Description: Adobe PDF document
___
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

[NTG-context] change the page number

2012-05-06 Thread Steffen Wolfrum
Hi,

how do I change the page number?
In april and may versions it does not work anymore:



\setuppagenumber[number=5]% no effect
\setuprealpagenumber[number=5]% no effect
\setuppagenumber[number=5]% no effect

%\setupuserpagenumber[numberconversion=Romannumerals]% works OK!

\starttext

\dorecurse{3}{\input tufte\page}

%\setupuserpagenumber[numberconversion=numbers]% works OK!


\dorecurse{3}{\input ward\page}

\stoptext
___
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] [***SPAM***] placefigure adds break

2012-04-05 Thread Steffen Wolfrum
Hi,

please have a look at thee example below:
I have a long paragraph (more than 3 pages), and I want to set a float/figure 
at top of page 2.
Thus, I need to write \placefigure *in* my paragraph, between two words.

How can I do that without adding a paragraph break after the respective word 
(marked HERE)?

Steffen
---

\starttext

\switchtobodyfont[rm,10pt]

\input tufte \input ward \input zapf \input tufte \input ward \input zapf 
\input tufte \input ward \input zapf \input tufte \input ward \input zapf HERE 
\placefigure[top]{}{\vskip3pt{\externalfigure[foo][frame=off,width=\dimexpr(\textwidth-10mm)]}}\input
 tufte \input ward \input zapf \input tufte \input ward \input zapf \input 
tufte \input ward \input zapf \input tufte \input ward \input zapf \input tufte 
\input ward \input zapf 

\stoptext

___
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] [***NOSPAM***] placefigure adds break

2012-04-05 Thread Steffen Wolfrum

Am 05.04.2012 um 13:25 schrieb luigi scarso:

 On Thu, Apr 5, 2012 at 1:10 PM, Aditya Mahajan adit...@umich.edu wrote:
 (Untested)
 
 \startpostponing[+1]
 \placefigure[top]{}{...}
 \stoppostponing
 
 Rest of the text
 
 
 Aditya
 \starttext
 
 \switchtobodyfont[rm,10pt]
 
 \input tufte \input ward \input zapf \input tufte \input ward \input
 zapf \input tufte \input ward %
 \input zapf \input tufte \input ward %
 \input zapf HERE%
 \startpostponing[+1]
 \placefigure[top]{}{\vskip3pt\externalfigure[foo][frame=off,width=\dimexpr(\textwidth-10mm)]}
 \stoppostponing%
 AND HERE \input tufte \input ward %
 \input zapf \input tufte \input ward \input zapf \input tufte \input
 ward \input zapf \input tufte %
 \input ward \input zapf \input tufte \input ward \input zapf
 
 \stoptext
 
 seems ok



indeed, a great result.
(searching for this command now, I saw that it's a quite old command ... only I 
never knew it)

thanks a lot Aditya and Luigi!

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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Custom TOC problem

2012-04-03 Thread Steffen Wolfrum
Hi Michał,

Am 02.04.2012 um 11:57 schrieb Michał Goliński:

 Hi,
 
 this is the first time I am writing here so let me just say a big THANK YOU 
 for all the awesome work everyone is doing.
 
 Now, to the point. I have been trying to customize table of contents with my 
 own commands, yet I get an error that might be from within ConTeXt. The 
 cutomary minimal example follows:
 
 
 \define[3]\M{#3 some  #2 magic #1}
 \setuplist[section][alternative=command,command=\M]
 
 \starttext
 \section{A}
 \completecontent
 \stoptext
 
 
 and the error from the log:
 
 ConTeXt  ver: 2012.03.30 16:16 MKIV  fmt: 2012.4.2  int: english/english
 
 
 
 ! Argument of \M has an extra }.
 
 Best regards
 Michał Goliński



I use this:

\unexpanded\def\M#1#2#3{#3 some  #2 magic #1}
\setuplist[section][alternative=command,command=\M]

\starttext
\section{A}
\completecontent
\stoptext


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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

[NTG-context] stretched hyphenated url

2012-03-30 Thread Steffen Wolfrum
Hi,

I, personally, like the solution for hyphenated url (by stretching).
Only a author of mine feels that it was too much (see attached, first line).

Is there a way to adjust the degree of stretching?

Steffen
---


PastedGraphic-2.pdf
Description: Adobe PDF document
___
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

Re: [NTG-context] stretched hyphenated url

2012-03-30 Thread Steffen Wolfrum

Am 30.03.2012 um 20:10 schrieb Hans Hagen:

 On 30-3-2012 10:01, Steffen Wolfrum wrote:
 Hi,
 
 I, personally, like the solution for hyphenated url (by stretching).
 Only a author of mine feels that it was too much (see attached, first line).
 
 Is there a way to adjust the degree of stretching?
 
 \def\lang_url_space{\nobreak\hskip\zeropoint plus\onepoint\nobreak}


thank you for the fast help! I made some testing and found a value that 
stretches nicely in my document.
did I understand it correctly that I can only make this change *globally*, ie. 
in lang-url.mkiv plus regenerating the formats?

st.
___
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Removing the quotes from the results of the reference links

2012-03-29 Thread Steffen Wolfrum
Hi Jaroslav,

Am 29.03.2012 um 08:50 schrieb Jaroslav Hajtmar:

 Hello all,
 I can not find a way to remove the quotes from the results of the reference 
 link
 Can someone help?
 
 Thanx
 Jaroslav Hajtmar
 
 Here is minimal example:
 
 
 \starttext
 
 \section[first]{First}
 
 \subsection[second]{Second}
 
 \input tufte
 
 \in{(see section}{ \about[second] at page \at[second])}[second].
 
 
 \stoptext


I use this:

\setupreferencing[left=,right=,width=]

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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] table of content not set flushbottom

2012-03-27 Thread Steffen Wolfrum
Hi Hans,

due to the size of my project I cannot send a minimal:
but did you remove the TOC's ability to vertically stretch?

I did not change any of my styles/environment, 
and with version 2012.03.13 now the TOC is not set flushbottom anymore.

Do I have to add/change something now?
Or was that a side-effect that is fixed with a more recent version?

Best, 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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] table of content not set flushbottom

2012-03-27 Thread Steffen Wolfrum

Am 27.03.2012 um 17:05 schrieb Hans Hagen:

 On 27-3-2012 16:59, Steffen Wolfrum wrote:
 Hi Hans,
 
 due to the size of my project I cannot send a minimal:
 but did you remove the TOC's ability to vertically stretch?
 
 not that I know of (but you can always set after to some value)

this sounds good, even though I don't know what you mean.
can you show how-to?

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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] [***SPAM***] \setbreakpoints[compound] does not work

2012-03-25 Thread Steffen Wolfrum
Hi,

is there a reason why hyphenation of compound Lwk-Maut does not work in 
following example?


\showframe
\mainlanguage[de]
\setbreakpoints[compound]

\setnumber[footnote][114]

\starttext

test
{\startfootnote[ftn115]
siehe Schlussbericht der zuständigen Bund-Länder-Arbeitsgruppe 
„Verkehrsverlagerungen info Lkw-Maut“, BT-Dr16/298 v.~13.\,12.\,2005, 2, 3.
\stopfootnote}. 

\stoptext

Steffen
(vers. 2012.03.13)
___
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] [***NOSPAM***] \setbreakpoints[compound] does not work

2012-03-25 Thread Steffen Wolfrum

Am 25.03.2012 um 17:05 schrieb Hans Hagen:

 On 25-3-2012 13:34, Steffen Wolfrum wrote:
 \showframe
 \mainlanguage[de]
 \setbreakpoints[compound]
 
 \setnumber[footnote][114]
 
 \starttext
 
 test
 {\startfootnote[ftn115]
 siehe Schlussbericht der zuständigen Bund-Länder-Arbeitsgruppe 
 „Verkehrsverlagerungen info Lkw-Maut“, BT-Dr16/298 v.~13.\,12.\,2005, 2, 3.
 \stopfootnote}.
 
 \stoptext
 
 It's something that is still not settled: what to reset when page building 
 happens cq. we're in 'forget' mode. Anyhow, we can (stepwise) make some 
 features global:
 
 in typo-brk.mkiv:
 
 \definesystemattribute[breakpoint][public,global]


thanks for this fast help!

st.
___
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] footnotes bychapter

2012-03-24 Thread Steffen Wolfrum

Am 06.03.2012 um 19:46 schrieb Hans Hagen:

 On 6-3-2012 18:29, Thomas A. Schmitz wrote:
 This works with the November beta, but not the current:
 
 \setupfootnotes[way=bychapter,
 location=page,
 rule=off]
 
 \starttext
 
 \startchapter[title=One]
 
 Chapter\footnote{Note 1} with two\footnote{Note 2} footnotes.
 
 \stopchapter
 
 \startchapter[title=Two]
 
 Chapter\footnote{Should be Note 1} with two additional\footnote{should
 be Note 2} footnotes.
 
 \stopchapter
 
 \stoptext
 
 Bug, or has the syntax changed?
 
 no, just something 'not done yet' (but will be done asap, some setup 
 synchronization code needed)


Is there meanwhile a context version that provides way=... again?

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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] footnotes bychapter

2012-03-24 Thread Steffen Wolfrum

Am 24.03.2012 um 17:34 schrieb Wolfgang Schuster:

 
 Am 24.03.2012 um 17:29 schrieb Steffen Wolfrum:
 
 Is there meanwhile a context version that provides way=... again?
 
 
 What doesn’t work?
 
 \setupnotation[footnote][way=chapter]
 
 \starttext
 
 \chapter{One}
 
 text\footnote{One: first} text\footnote{One: second}
 
 \chapter{Two}
 
 text\footnote{Two: first} text\footnote{Two: second}
 
 \stoptext

ah, 
\setupfootnotes[way=bychapter]
didn't became 
\setupnote[footnote][way=bychapter]
but 
\setupnotation[footnote][way=bychapter]

good to know ;o)

st.




___
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] footnotes bychapter

2012-03-24 Thread Steffen Wolfrum

Am 24.03.2012 um 18:14 schrieb Wolfgang Schuster:

 
 Am 24.03.2012 um 17:54 schrieb Steffen Wolfrum:
 
 
 Am 24.03.2012 um 17:34 schrieb Wolfgang Schuster:
 
 
 Am 24.03.2012 um 17:29 schrieb Steffen Wolfrum:
 
 Is there meanwhile a context version that provides way=... again?
 
 
 What doesn’t work?
 
 \setupnotation[footnote][way=chapter]
 
 \starttext
 
 \chapter{One}
 
 text\footnote{One: first} text\footnote{One: second}
 
 \chapter{Two}
 
 text\footnote{Two: first} text\footnote{Two: second}
 
 \stoptext
 
 ah, 
 \setupfootnotes[way=bychapter]
 didn't became 
 \setupnote[footnote][way=bychapter]
 
 That would make no sense because \setupfootnotes is defined as 
 \def\setupfootnotes{\setupnote[footnote]} which means both are the same setup.
 
 \setupnotation[footnote][way=bychapter]
 
 The footnote counter is created by \definenotation (which is called when you 
 create a new note with \definenote) and the fore you need \setupnotation to 
 change it.


ok, interesting

thanks a lot!
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] interaction kills hyperlinks

2012-03-23 Thread Steffen Wolfrum

Am 22.03.2012 um 22:37 schrieb Hans Hagen:

 On 22-3-2012 16:09, Steffen Wolfrum wrote:
 [as the first posting was labeled spam, I try it once more:]
 
 
 Hi,
 
 it's probably a rare case: URL with comma.
 
 Just by chance I found that these URL kill hyperlinks when interaction is 
 active:
 
 \setupinteraction
   [state=start]
 
 \starttext
 
 \goto{\hyphenatedurl{www.spiegel.de/spiegel/0,1518,288433,00.html}}[url(http://www.spiegel.de/spiegel/0,1518,288433,00.html)]
 
 \goto{\hyphenatedurl{www.ftd.de/politik/deutschland/1058704515970.html}}[url(http://www.ftd.de/politik/deutschland/1058704515970.html)]
 
 \stoptext
 
 Strange, isn't?
 
 not at all, as between [] there can be a list of actions to be done, in your 
 case only one; so put {} around it:
 
 1: 
 \goto{\hyphenatedurl{www.spiegel.de/spiegel/0,1518,288433,00.html}}[{url(http://www.spiegel.de/spiegel/0,1518,288433,00.html)}]
 
 2: 
 \goto{\hyphenatedurl{www.ftd.de/politik/deutschland/1058704515970.html}}[{url(http://www.ftd.de/politik/deutschland/1058704515970.html)}]



ah that's the reason, of course.

thanks a lot for your reply!
st.
___
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] interaction kills hyperlinks

2012-03-23 Thread Steffen Wolfrum

Am 23.03.2012 um 08:49 schrieb Steffen Wolfrum:

 
 Am 22.03.2012 um 22:37 schrieb Hans Hagen:
 
 On 22-3-2012 16:09, Steffen Wolfrum wrote:
 [as the first posting was labeled spam, I try it once more:]
 
 
 Hi,
 
 it's probably a rare case: URL with comma.
 
 Just by chance I found that these URL kill hyperlinks when interaction is 
 active:
 
 \setupinteraction
  [state=start]
 
 \starttext
 
 \goto{\hyphenatedurl{www.spiegel.de/spiegel/0,1518,288433,00.html}}[url(http://www.spiegel.de/spiegel/0,1518,288433,00.html)]
 
 \goto{\hyphenatedurl{www.ftd.de/politik/deutschland/1058704515970.html}}[url(http://www.ftd.de/politik/deutschland/1058704515970.html)]
 
 \stoptext
 
 Strange, isn't?
 
 not at all, as between [] there can be a list of actions to be done, in your 
 case only one; so put {} around it:
 
 1: 
 \goto{\hyphenatedurl{www.spiegel.de/spiegel/0,1518,288433,00.html}}[{url(http://www.spiegel.de/spiegel/0,1518,288433,00.html)}]
 
 2: 
 \goto{\hyphenatedurl{www.ftd.de/politik/deutschland/1058704515970.html}}[{url(http://www.ftd.de/politik/deutschland/1058704515970.html)}]



your example (1) does not work:


\setupinteraction
   [state=start]

\starttext

text 
\goto{\hyphenatedurl{www.spiegel.de/spiegel/0,1518,288433,00.html}}[{url(http://www.spiegel.de/spiegel/0,1518,288433,00.html)}]

test\footnote{\goto{\hyphenatedurl{www.spiegel.de/spiegel/0,1518,288433,00.html}}[{url(http://www.spiegel.de/spiegel/0,1518,288433,00.html)}]}

\stoptext


Steffen 
(vers. 2012.03.13)

___
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] [***SPAM***] \about without quotes

2012-03-23 Thread Steffen Wolfrum
Hi,

how can I get rid of the quotes around about's output (see below)?


\starttext

\chapter[
reference={ref123},
title={Titel},
  marking={Titel},
 list={Titel},
 bookmark={Titel}]


see in \at[ref123] \about[ref123]

(should be “1 Titel”)

\stoptext



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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] [***NOSPAM***] \about without quotes

2012-03-23 Thread Steffen Wolfrum

Am 23.03.2012 um 09:59 schrieb Steffen Wolfrum:

 Hi,
 
 how can I get rid of the quotes around about's output (see below)?
 
 
 \starttext
 
 \chapter[
 reference={ref123},
title={Titel},
  marking={Titel},
 list={Titel},
 bookmark={Titel}]
 
 
 see in \at[ref123] \about[ref123]
 
 (should be “1 Titel”)
 
 \stoptext



\setupreferencing[left=,right=]

This woks, ie. changes \about output too.
But how can I be sure I changed *only* \about output?

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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] reference \about shall not be shortened

2012-03-23 Thread Steffen Wolfrum
Hi,

how can I avoid shortening of referenced titles?


\setupreferencing[left=,right=]

\starttext

\chapter[
reference={ref123},
title={This is a long titel -- every word is meaningful and shall not be 
omitted},
  marking={Titel},
 list={Titel},
 bookmark={Titel}]

see in “\at[ref123] \about[ref123]”.

\stoptext



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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] [***SPAM***] interaction kills hyperlinks??

2012-03-22 Thread Steffen Wolfrum
Hi,

it's probably a rare case: URL with comma.

Just by chance I found that these URL kill hyperlinks when interaction is 
active:

\setupinteraction
   [state=start]

\starttext

\goto{\hyphenatedurl{www.spiegel.de/spiegel/0,1518,288433,00.html}}[url(http://www.spiegel.de/spiegel/0,1518,288433,00.html)]

\goto{\hyphenatedurl{www.ftd.de/politik/deutschland/1058704515970.html}}[url(http://www.ftd.de/politik/deutschland/1058704515970.html)]
 

\stoptext


Strange, isn't?

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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] interaction kills hyperlinks

2012-03-22 Thread Steffen Wolfrum
[as the first posting was labeled spam, I try it once more:]


Hi,

it's probably a rare case: URL with comma.

Just by chance I found that these URL kill hyperlinks when interaction is 
active:

\setupinteraction
  [state=start]

\starttext

\goto{\hyphenatedurl{www.spiegel.de/spiegel/0,1518,288433,00.html}}[url(http://www.spiegel.de/spiegel/0,1518,288433,00.html)]

\goto{\hyphenatedurl{www.ftd.de/politik/deutschland/1058704515970.html}}[url(http://www.ftd.de/politik/deutschland/1058704515970.html)]
 

\stoptext


Strange, isn't?

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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] References broken when using more than one component?

2012-03-21 Thread Steffen Wolfrum

I consider it a bug.

Steffen W.


Am 21.03.2012 um 13:54 schrieb Steffen Fritzsche:

 Hi,
 
 I've got a deep hierarchy of components, while everything builds fine I have 
 a problem using references. Have a look at the following sample files:
 
 reftest.tex:
 \setuphead[chapter][referenceprefix=+]
 
 \starttext
 
 \chapter[one]{Chapter One}
 
 \section[bla]{Blablabla}
 See \in{Section}[three:foobar]
 
 \chapter[two]{Chapter Two}
 
 \section[blubb]{BlubbBlubbBlubb}
 
 \subsection{BlubberBlubber}
 See \in{Section}[one:bla]
 
 \component refcomp
 
 \stoptext
 
 refcomp.tex:
 \startcomponent refcomp
 \chapter[three]{Chapter Three}
 \component refcompsec
 \stopcomponent
 
 refcompsec.tex:
 \section[foobar]{Foobar Section}
 See \in{Section}[two:blubb] for more details!
 \stopcomponent
 
 
 If I move the second component refcompsec.tex into the refcomp.tex 
 component the reference in chapter one is found. If I translate it as shown 
 using two components the reference in the first chapter is lost.
 
 Is this a bug or am I doing something wrong?
 
 Cheers,
 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  : http://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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] [***SPAM***] Re: subfootnote with wrong structureconversionset

2012-03-20 Thread Steffen Wolfrum

Am 20.03.2012 um 06:17 schrieb Wolfgang Schuster:

 
 Am 19.03.2012 um 22:27 schrieb Steffen Wolfrum:
 
 Hi,
 
 are subfootnotes not yet rewritten, or did the syntax change?
 
 The following example expects 2.a but gives 2.1:
 
 \definestructureseparatorset [footnote][][]
 \definestructureconversionset[footnote][numbers,characters][numbers]
 \setupenumerations[footnote][numberconversionset=footnote,numberseparatorset=footnote]
 
 Use \setupnotation[footnote][…].



Right, thank you!

The new footnote structure seems to tidy up and settle things neatly in 
\setupnote and \setupnotation.
(eg. numbercommand now looks indeed more reasonable to me in setupnotation than 
it did before on setupnote)

As it grows older ConTeXt gets more and more beautiful ;o)

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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] how to \setnumber[footnote]

2012-03-20 Thread Steffen Wolfrum

... and what is the new syntax for \setnumber[footnote]?

(the old notation \setnumber[footnote]{123} now results in printing the figures 
123)


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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] howto define MyRule ?

2012-03-20 Thread Steffen Wolfrum
Hi,

how can I define the length of footnote's rule and the distance below it?
rulecommand doesn't seem to take these values (see below).

Steffen
---

\setupnote[footnote]
[rulecolor=orange,% OK
 rulecommand={\vrule width10mm\vskip10mm},% ???
 rulethickness=5pt]% OK
   
 \starttext
 
 text\footnote{test}.
 
 \stoptext
___
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] howto define MyRule ?

2012-03-20 Thread Steffen Wolfrum

Am 20.03.2012 um 14:42 schrieb Wolfgang Schuster:

 You have to enable you own command with “rule=command” but then you have to 
 set rulecolor and rule thickness in your own definition (best us \blackrule 
 for this).


rule=command,rulecommand=\MyRule

instead of

rulecommand=\MyRule


hm ... this logic I didn't not yet internalize.


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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] how to \setnumber[footnote]

2012-03-20 Thread Steffen Wolfrum

Am 20.03.2012 um 17:01 schrieb Wolfgang Schuster:

 
 Am 20.03.2012 um 09:16 schrieb Steffen Wolfrum:
 
 
 ... and what is the new syntax for \setnumber[footnote]?
 
 (the old notation \setnumber[footnote]{123} now results in printing the 
 figures 123)
 
 You need brackets for both arguments (i.e. \setnumber[footnote][123]), this 
 was changed because
 braces are used for arguments which are printed (e.g. \startdescription{…}).

yes, great decision to change this. this way context gets more and more 
stringent.

thank you! st.
___
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] [***SPAM***] Re: howto define MyRule ?

2012-03-20 Thread Steffen Wolfrum

Am 20.03.2012 um 17:45 schrieb Wolfgang Schuster:

 
 Am 20.03.2012 um 17:35 schrieb Steffen Wolfrum:
 
 
 Am 20.03.2012 um 14:42 schrieb Wolfgang Schuster:
 
 You have to enable you own command with “rule=command” but then you have to 
 set rulecolor and rule thickness in your own definition (best us \blackrule 
 for this).
 
 
 rule=command,rulecommand=\MyRule
 
 instead of
 
 rulecommand=\MyRule
 
 hm ... this logic I didn't not yet internalize.
 
 You have to tell context it should use your own rule instead of the default 
 rule, it’s like “alternative=command” for other setups.


Sure, I know what you mean.
But nevertheless, isn't that already implied if I use rulecommand=\MyRule?
To me this already means exactly this: tell context it should use my rule.

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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] [***SPAM***] Re: howto define MyRule ?

2012-03-20 Thread Steffen Wolfrum

Am 20.03.2012 um 19:49 schrieb Hans Hagen:

 On 20-3-2012 18:59, Steffen Wolfrum wrote:
 
 But nevertheless, isn't that already implied if I use rulecommand=\MyRule?
 To me this already means exactly this: tell context it should use my rule.
 
 Then we need double checking and I'm pretty sure that you would run into 
 expansion mess again and ask for another hack.
 
 Hans

Convinced ;o)

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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] subfootnote with wrong structureconversionset

2012-03-19 Thread Steffen Wolfrum
Hi,

are subfootnotes not yet rewritten, or did the syntax change?

The following example expects 2.a but gives 2.1:


\definestructureseparatorset [footnote][][]
\definestructureconversionset[footnote][numbers,characters][numbers]
\setupenumerations[footnote][numberconversionset=footnote,numberseparatorset=footnote]

\starttext
 test \footnote{}
 text
 test \startfootnote note \stopfootnote
 test \startsubfootnote subnote \stopsubfootnote
 test \startfootnote note \stopfootnote
\stoptext



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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] footnotes setup

2012-03-18 Thread Steffen Wolfrum

Am 18.03.2012 um 13:14 schrieb Alan Braslau:

 On Sun, 18 Mar 2012 07:56:30 +0100
 Wolfgang Schuster schuster.wolfg...@googlemail.com wrote:
 
 
 Am 17.03.2012 um 20:38 schrieb Honza Hejzl:
 
 Hi,
 
 I have installed the last standalone version from contextgarden and
 oops, my (few days) old file does not work properly. My old setup
 of footnotes was like:
 
 \setupfootnotedefinition[loaction=page...]
 \setupfootnotes[bodyfontsize=8pt, style=\ss...]
 
 Now the context does not understand to that. So I am trying to set
 up footnotes with \setupnote[footnote] but it seems nothing works.
 I am not able to use location=serried, location=page, style and so
 on... Is it connected with some general update? :o(
 
 The command \setupnotedefinition (where \setupfootnotedefinition is a
 shortcut for \setupnotedefinition[footnote]) is now \setupnotation
 and “location=serried” is now “alternative=serried”. The \setupnote
 command (\setupfootnotes is \setupnote[footnote]) has only a
 “bodyfont” key which accepts “{8pt,sans}” as argument but not
 “bodyfontsize” key and style is only available for \setupnotation
 (but as you saw you can add it to bodyfont).
 
 Wolfgang
 
 
 Looking at strc-not.mkvi and from your explanations above
 it is still not clear to me how to use the new footnote definitions.
 We have \setupnotedefinition
 (with \setupfootnotedefinition=\setupnotedefinition[footnote]),
 \setupnote (with \setupfootnotes=\setupnote[footnote]),
 also \setupnotes (=\setupnote ?)
 Is there any difference between the singular and the plural forms?
 Also, what parameters are accepted? (I see % not all make sense here
 in strc-not.mkvi)
 
 http://wiki.contextgarden.net/Footnotes seems confused (ToDo).
 
 In particular, I am still trying to get
 next=\autoinsertnextspace
 to make \startfootnote\stopfootnote work correctly...


Footnotes are not yet fixed (due to Hans' flue ...)
So it is probably in vain trying to make sense of the current state of the 
footnote mechanism.

Best wishes, 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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] placefloat in long parapgraph

2012-03-15 Thread Steffen Wolfrum
Hi,

the minimal example below maybe looks funny ... I was trying to fake one big 
paragraph (without parapgraph break).
Here an image needs to be placed eg. on the second or third page (because its 
anchor is set eg. after the first third of this long paragraph).

How can I place a float with out triggering a paragraph break?

Steffen
---

\starttext

\switchtobodyfont[rm,48pt]

\dorecurse{1}{\input tufte}{\placefigure[here]{something 
meaningful}{\vskip3pt{\externalfigure[foo][frame=off,width=\dimexpr(\textwidth-10mm)]}}}\input
 tufte\par

\input ward

\stoptext

___
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] ! \textfont0 is undefined (character 92)

2012-02-29 Thread Steffen Wolfrum

... does anybody know what this refers to, ie. what this means?

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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] solution for missing bookmark (minimal example)

2012-02-28 Thread Steffen Wolfrum

Am 27.02.2012 um 23:21 schrieb Hans Hagen:

 On 25-2-2012 10:32, Steffen Wolfrum wrote:
 Hi,
 
 is there a chance that this problem can be solved within the next days (the 
 publishers won't wait too long for the working PDF).
 
 Sorry for being persistent,
 
 I have to catch up after a week of flu and have some deadlines to catch as 
 well. Going over old code (that I don't even have on my machine any more) is 
 not on the agenda now. If it's just a few bookmarks being wrong, can't you 
 just add them in acrobat then?



It's about 30 to 40 bookmarks missing. Sure, these can be added in Acrobat.
But the corresponding  30 to 40 links from the table of content to their 
respective pages are missing too ... and how to add these?

Do you want me to send you a zipped version 2011.05.14?

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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] pagereference broken in project

2012-02-28 Thread Steffen Wolfrum

Am 28.02.2012 um 16:28 schrieb Steffen Wolfrum:

 Hi,
 
 when I run (vers. 20120116) this minimal product with MyProduct.tex, 
 I get ?? instead of the pagenumber for \at[abb:n] to \pagereference[abb:n].
 
 Is there a fix, or did I do a mistake?


Just to be sure, I tested pagereference over components with various other 
versions from last year and and this year: referencing never works.

Can this be confirmed?

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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] solution for missing bookmark (minimal example)

2012-02-25 Thread Steffen Wolfrum
Hi,

is there a chance that this problem can be solved within the next days (the 
publishers won't wait too long for the working PDF).

Sorry for being persistent,
Steffen


Am 23.02.2012 um 09:53 schrieb Steffen Wolfrum:

 Hi Hans
 
 I managed to narrow down my example to just one bibliography, no index, no 
 register, nothing fancy.
 If I run this example with a pre-Feb.2012 version (say 2012.01.16), then the 
 bookmarks FIVE, SIX and SEVEN do not work.
 
 If you run this minimal example with all your tracing magic, can't you find 
 where the bug hides (that was part of MkIV at least since May 2011 and 
 vanished no more than with your experimental February 2012 versions)?
 
 Steffen
 ---
 
 
 \setuppublications[state=start,refcommand=author]
 
 \setupcite   [author]   [pubsep={},lastpubsep={},inbetween={},
 left={},right={},andtext={|::|}, otherstext={ \tf et al.}]
 
 \newbibfield[shorttitle]
 \newbibfield[shortauthor]
 
 \unexpanded\def\mycite
 {\dodoubleempty\domycite}
 
 \def\domycite[#1][#2]#3%
 {\bgroup
  \nocite[#3]%
   \getcitedata[shortauthor][#3] to \myshortauthor%
   \getcitedata[shorttitle][#3] to \myshorttitle%
   \getcitedata[title][#3] to \mytitle%
   \getcitedata[journal][#3] to \myjournal%
  \doifsomethingelse{#2}
   {{\em #1} in: \doifsomethingelse{\myshortauthor}{\myshortauthor}{\cite[#3]},
   
 \doifsomethingelse{\myshorttitle}{\myshorttitle}{\mytitle}\doifsomethingelse{#1}{,
  #2}{}}
   {{\em\doifsomethingelse{\myshortauthor}{\myshortauthor}{\cite[#3]}}, 
 \doifsomethingelse{\myjournal}{{\doifsomethingelse{\myshorttitle}{\myshorttitle}{\doifsomethingelse{\myjournal}{\myjournal\doifsomethingelse{\myvolume}{\
  \myvolume\ [\mypubyear]}{\ 
 \mypubyear}}{\mytitle{\doifsomethingelse{\myshorttitle}{\myshorttitle}{\mytitle}}\doifsomethingelse{#1}{,
  #1}{}}%
  \egroup}
 
 \setuppublicationlist[samplesize={DDBD08},totalnumber=2]
 
 \startpublication[k=Duetz2008,t=book,
 a={{Dütz}},y=2009,
 n=53,s=Düt09]
 \title{Arbeitsrecht}
 \stoppublication
 
 % 
 
 \starttext
 
 \setupinteraction
   [state=start,style=,color=black]
 
 \placebookmarks
 [chapter,section,subsection,subsubsection]
 [chapter,section,subsection,subsubsection][force=yes] 
 
 
 \chapter{ONE}
 
 \section{TWO}
 
 \input tufte \footnote{\input ward}
 
 \subsection{THREE}
 
 \subsubsection{FOUR}
 
 Text.\footnote{%
 Siehe
 \cite{Duetz2008}; 
 \mycite[Rn. 556 ff.]{Duetz2008}; 
 \mycite[Rn. 556 ff.]{Duetz2008}; 
 }
 
 
 \dorecurse{5}{\input tufte \footnote{\input ward}}
 
 \subsubsection{FIVE}
 
 {\input tufte \footnote{\input ward}}
 
 \subsection{SIX}
 
 \subsubsection{SEVEN}
 
 {\input tufte \footnote{\input ward}}
 
 \stoptext
 ___
 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  : http://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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] solution for missing bookmark (minimal example)

2012-02-23 Thread Steffen Wolfrum
Hi Hans

I managed to narrow down my example to just one bibliography, no index, no 
register, nothing fancy.
If I run this example with a pre-Feb.2012 version (say 2012.01.16), then the 
bookmarks FIVE, SIX and SEVEN do not work.

If you run this minimal example with all your tracing magic, can't you find 
where the bug hides (that was part of MkIV at least since May 2011 and vanished 
no more than with your experimental February 2012 versions)?

Steffen
---


\setuppublications[state=start,refcommand=author]

\setupcite   [author]   [pubsep={},lastpubsep={},inbetween={},
left={},right={},andtext={|::|}, otherstext={ \tf et al.}]

\newbibfield[shorttitle]
\newbibfield[shortauthor]

\unexpanded\def\mycite
{\dodoubleempty\domycite}

\def\domycite[#1][#2]#3%
 {\bgroup
  \nocite[#3]%
   \getcitedata[shortauthor][#3] to \myshortauthor%
   \getcitedata[shorttitle][#3] to \myshorttitle%
   \getcitedata[title][#3] to \mytitle%
   \getcitedata[journal][#3] to \myjournal%
  \doifsomethingelse{#2}
   {{\em #1} in: \doifsomethingelse{\myshortauthor}{\myshortauthor}{\cite[#3]},
   
\doifsomethingelse{\myshorttitle}{\myshorttitle}{\mytitle}\doifsomethingelse{#1}{,
 #2}{}}
   {{\em\doifsomethingelse{\myshortauthor}{\myshortauthor}{\cite[#3]}}, 
\doifsomethingelse{\myjournal}{{\doifsomethingelse{\myshorttitle}{\myshorttitle}{\doifsomethingelse{\myjournal}{\myjournal\doifsomethingelse{\myvolume}{\
 \myvolume\ [\mypubyear]}{\ 
\mypubyear}}{\mytitle{\doifsomethingelse{\myshorttitle}{\myshorttitle}{\mytitle}}\doifsomethingelse{#1}{,
 #1}{}}%
  \egroup}

\setuppublicationlist[samplesize={DDBD08},totalnumber=2]

\startpublication[k=Duetz2008,t=book,
a={{Dütz}},y=2009,
n=53,s=Düt09]
\title{Arbeitsrecht}
\stoppublication

% 

\starttext

\setupinteraction
   [state=start,style=,color=black]

\placebookmarks
[chapter,section,subsection,subsubsection]
[chapter,section,subsection,subsubsection][force=yes] 


\chapter{ONE}

\section{TWO}
 
\input tufte \footnote{\input ward}

\subsection{THREE}

\subsubsection{FOUR}

Text.\footnote{%
Siehe
\cite{Duetz2008}; 
\mycite[Rn. 556 ff.]{Duetz2008}; 
\mycite[Rn. 556 ff.]{Duetz2008}; 
}


\dorecurse{5}{\input tufte \footnote{\input ward}}

\subsubsection{FIVE}

{\input tufte \footnote{\input ward}}

\subsection{SIX}

\subsubsection{SEVEN}

{\input tufte \footnote{\input ward}}

\stoptext
___
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] solution for missing bookmark (minimal example)

2012-02-23 Thread Steffen Wolfrum

Am 23.02.2012 um 14:19 schrieb luigi scarso:

 On Thu, Feb 23, 2012 at 9:53 AM, Steffen Wolfrum cont...@st.estfiles.de 
 wrote:
 Hi Hans
 
 I managed to narrow down my example to just one bibliography, no index, no 
 register, nothing fancy.
 If I run this example with a pre-Feb.2012 version (say 2012.01.16), then the 
 bookmarks FIVE, SIX and SEVEN do not work.
 
 They seems ok with AdobeReader 9.4 on linux.



You must be joking?!

I ran the resulting PDF (attached) with every PDF reader on Mac and Windows ... 
and all results were the same:
no link for bookmark FIVE, SIX, SEVEN.

Did you actually test to click on the link?

Steffen
---


link_test.pdf
Description: Adobe PDF document
___
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

Re: [NTG-context] solution for missing bookmark (minimal example)

2012-02-23 Thread Steffen Wolfrum

Am 23.02.2012 um 15:48 schrieb Philipp Gesang:

 On 2012-02-23 14:45, Steffen Wolfrum wrote:
 I ran the resulting PDF (attached) with every PDF reader on Mac and Windows 
 ... and all results were the same:
 no link for bookmark FIVE, SIX, SEVEN.
 
 Confirmed for version 2012-01-16/Linux x64 with Okular. (Current
 beta seems fine, though.)


but current beta shouldn't be used, as it has not yet (fully) working footnotes.

thus, a version before february must be used ... (that's a problem).

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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] footnotes rewritten

2012-02-22 Thread Steffen Wolfrum

Am 22.02.2012 um 11:44 schrieb Thomas A. Schmitz:

 On 02/21/2012 09:24 PM, Steffen Wolfrum wrote:
 Am I the only one who uses footnotes ?
 
 ;o)
 
 Steffen
 
 
 No, I'm using footnotes too, and the current implementation is an absolute 
 disaster. I get weird and unexpected behavior as well.
 
 1. Footnotes are shifted to the following page. This puts a huge black 
 triangle at the position of the footnote marker. I have no idea how to get 
 rid of it, and I have no idea why this is the default behavior - nobody wants 
 that in printed documents, I suppose?
 
 2. Footnote numbers in the footnotes themselves are shifted one line down.
 
 Luckily, I still have 2011.11.29 around, which doesn't have these problems. 
 Hans had warned about the current beta a few days ago; I hope things will 
 calm down in the not-too-distant future...


Unfortunately up to vers. 20120125 there is a bug when cite/index/startregister 
and bookmarks are used in a project.
The first version that solved this bug was vers. 20120208 ... and this already 
introduced the new footnotes.

The triangle can be switched of by 
\setupnote[symbolcommand=\gobbleoneargument], as Wolfgang knew.

In general we'd need a comprehensive explanation what is new and what has to be 
changed.

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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] definestructureseparatorset

2012-02-21 Thread Steffen Wolfrum
Hi,

this command has been changed/deleted (seems so):

! Undefined control sequence.
l.19 \definestructureseparatorset
  [footnote][][]
?


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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] footnotes rewritten

2012-02-21 Thread Steffen Wolfrum
Hi,

as the footnotes mechanism was rewritten, there are several things that don't 
work anymore (as expected).

I collected some of them in my minimal below:
The lines with - OK! do work, those marked with - ??? don't.

Could someone please help me with the new syntax context expects now?

Thanks,
Steffen
---


% concering subfootnote 
\definestructureseparatorset [footnote][][]
\definestructureconversionset[footnote][numbers,characters][numbers] % - ???
\setupenumerations[footnote][numberconversionset=footnote,numberseparatorset=footnote]

% footnote's rule
\unexpanded\def\MyRule{\startcolor[orange]\vrule width18mm 
height0.4pt\vskip2mm\stopcolor}

% footnote's interlineskip etc.
\startsetups footnotesetup
\setupinterlinespace[line=9.8pt, height=.79,depth=.21]
\lineskiplimit-\maxdimen
\setupwhitespace[2pt]
\stopsetups

% footnotes bottom page
\def\newFNnumber#1{\kern0.05em\raise.385em\hbox{\switchtobodyfont[16pt]#1}}% 
size of number in front of FN-text - ???
\def\MyNote#1{\kern0.05em\raise.385em\hbox{\switchtobodyfont[8pt]#1}}% size of 
number in front of FN-text - ???
%%
\setupnote[footnote][before=\vskip3.0mm,textcolor=red,rule=\MyRule]%  distance 
lowest line of main text to ruler - ???
\setupnote[footnote][bottom=\strut\vskip5pt]% flushbottom adjustment - OK!
%%
\setupnote[footnote]
[split=strict,
 symbolcommand=\gobbleoneargument,% switch for triangle
 textcommand=\MyNote,% size of number in front of FN-text - ???
 numbercommand=\newFNnumber,% size of number in front of FN-text - ???
 setups=footnotesetup,
 align={block,hanging},% - OK!
 bodyfont={rm,9pt}]% - OK!
%%---%
\def\newFNcommand#1{\hskip10pt#1\enskip\strut}%
\setupnotation[before={\hfuzz0pt\setupinteraction[color=red,contrastcolor=darkgray]},after={\setupinteraction[color=black]},command=\newFNcommand,indentnext=yes,indenting={10pt,yes},location=serried]%
 - ???



\starttext

\dorecurse{3}{test\footnote{\input ward \par} text %
\dorecurse{3}{test\subfootnote{\input ward \par} text } }

\stoptext
___
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] random bookmarks not linked (with example)

2012-02-21 Thread Steffen Wolfrum

Am 16.02.2012 um 09:20 schrieb Hans Hagen:

 On 15-2-2012 12:28, Steffen Wolfrum wrote:
 Hi Hans,
 
 finally I managed to figure out a minimal 3 page example that can 
 reproduce this strange bug!
 
 It seems to be an interaction of \cite and \index with sectioning/bookmark 
 generation:
 Please run chap_1.tex and click on the bookmark 1.1.2 SIX ... no 
 destination is set.
 
 (As I explained before, this does not mean that anything strange is going on 
 at \subsection{SIX}.
 If the minimal file was longer, the missing link would have been somewhere 
 else.)
 
 If I delete the used \index entries the bug is gone.
 And if I delete the used \mycite commands the bug is gone, too.
 
 
 I hope this test file might help ...
 
 like Luigi I get a pdf where 1.1.2 SIX is a proper link



not today: when I run it with version 20120221 I get an error:


! Missing } inserted.

system   tex  error on line 1 in file chap_01.tex: Missing  ...

 1   %context
 2 %!TEX TS-program = luatex
 3 
 4 
 5 % 
 6 \setuppublications[state=start,refcommand=author]
 7 
 8 \setupcite   [author]   [pubsep={},lastpubsep={},inbetween={},   
 left={},right={},andtext={|::|}, otherstext={ \tf et al.}]
 9 
10 \newbibfield[shorttitle]
11 \newbibfield[shortauthor]

inserted text 
}
to be read again 
   \endgroup 
argument ...ct_yes [pubs][\c!type =\s!userdata ]
  [bibref=Franzen2001]\fi 
\firstofoneargument #1-#1
  
to be read again 
   \fi 
\next1 #1,-\docitation {#1}
\syst_helpers_do_process_comma_item 
...
l.341 }
   
? 
Process aborted

___
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] footnotes rewritten

2012-02-21 Thread Steffen Wolfrum

Am I the only one who uses footnotes ?

;o)

Steffen


Am 21.02.2012 um 11:11 schrieb Steffen Wolfrum:

 Hi,
 
 as the footnotes mechanism was rewritten, there are several things that don't 
 work anymore (as expected).
 
 I collected some of them in my minimal below:
 The lines with - OK! do work, those marked with - ??? don't.
 
 Could someone please help me with the new syntax context expects now?
 
 Thanks,
 Steffen
 ---
 
 
 % concering subfootnote 
 \definestructureseparatorset [footnote][][]
 \definestructureconversionset[footnote][numbers,characters][numbers] % - ???
 \setupenumerations[footnote][numberconversionset=footnote,numberseparatorset=footnote]
 
 % footnote's rule
 \unexpanded\def\MyRule{\startcolor[orange]\vrule width18mm 
 height0.4pt\vskip2mm\stopcolor}
 
 % footnote's interlineskip etc.
 \startsetups footnotesetup
 \setupinterlinespace[line=9.8pt, height=.79,depth=.21]
 \lineskiplimit-\maxdimen
 \setupwhitespace[2pt]
 \stopsetups
 
 % footnotes bottom page
 \def\newFNnumber#1{\kern0.05em\raise.385em\hbox{\switchtobodyfont[16pt]#1}}% 
 size of number in front of FN-text - ???
 \def\MyNote#1{\kern0.05em\raise.385em\hbox{\switchtobodyfont[8pt]#1}}% size 
 of number in front of FN-text - ???
 %%
 \setupnote[footnote][before=\vskip3.0mm,textcolor=red,rule=\MyRule]%  
 distance lowest line of main text to ruler - ???
 \setupnote[footnote][bottom=\strut\vskip5pt]% flushbottom adjustment - OK!
 %%
 \setupnote[footnote]
 [split=strict,
 symbolcommand=\gobbleoneargument,% switch for triangle
 textcommand=\MyNote,% size of number in front of FN-text - ???
 numbercommand=\newFNnumber,% size of number in front of FN-text - ???
 setups=footnotesetup,
 align={block,hanging},% - OK!
 bodyfont={rm,9pt}]% - OK!
 %%---%
 \def\newFNcommand#1{\hskip10pt#1\enskip\strut}%
 \setupnotation[before={\hfuzz0pt\setupinteraction[color=red,contrastcolor=darkgray]},after={\setupinteraction[color=black]},command=\newFNcommand,indentnext=yes,indenting={10pt,yes},location=serried]%
  - ???
 
 
 
 \starttext
 
 \dorecurse{3}{test\footnote{\input ward \par} text %
 \dorecurse{3}{test\subfootnote{\input ward \par} text } }
 
 \stoptext
 ___
 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  : http://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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] random bookmarks not linked (with example)

2012-02-20 Thread Steffen Wolfrum

Am 16.02.2012 um 09:48 schrieb Steffen Wolfrum:
 
 my project is an already finished and printed book.
 it was set with context vers. 2011.05.14, in this version the link is missing
 
 now the publishers asked for the pdf (to provide it on-line too) and thus 
 they noticed the defect.
 
 unfortunately running the same project with todays beta gives different line 
 breaks and so different page breaks. which is not acceptable for the 
 publishers.
 
 
 I retried it with vers. 2012.01.16, also here the link is missing:
 do you remember what changed you made between, say 2012.01.16 (not working) 
 and today (working)?
 then maybe a patch can be found out that could also be adapted to my original 
 vers. 2011.05.14?


Hi Hans,

is there a chance that there might be a patch that fixes the missing bookmark 
links in version 2011.05.14,
or should I better start locating and linking the large number of missing 
entries by hand?

Best, 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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] random bookmarks not linked (with example)

2012-02-20 Thread Steffen Wolfrum

Am 20.02.2012 um 12:54 schrieb Hans Hagen:

 On 20-2-2012 11:50, Steffen Wolfrum wrote:
 
 Am 16.02.2012 um 09:48 schrieb Steffen Wolfrum:
 
 my project is an already finished and printed book.
 it was set with context vers. 2011.05.14, in this version the link is 
 missing
 
 now the publishers asked for the pdf (to provide it on-line too) and thus 
 they noticed the defect.
 
 unfortunately running the same project with todays beta gives different 
 line breaks and so different page breaks. which is not acceptable for the 
 publishers.
 
 
 I retried it with vers. 2012.01.16, also here the link is missing:
 do you remember what changed you made between, say 2012.01.16 (not working) 
 and today (working)?
 then maybe a patch can be found out that could also be adapted to my 
 original vers. 2011.05.14?
 
 
 Hi Hans,
 
 is there a chance that there might be a patch that fixes the missing 
 bookmark links in version 2011.05.14,
 or should I better start locating and linking the large number of missing 
 entries by hand?
 
 not much chance ... you could grep'n'diff the lpdf-*.lua files and maybe see 
 some change



there are many changes in these files...
so, I replaced all of them in 2011.05.14 by the respective from 2012.02.16, 
just to see what happens:

1) not very surprisingly, there were no bookmarks at all generated anymore.
2) but in the TOC, the same entries that had no links (as bookmarks and as TOC 
entries) before, don't have links now.

Doesn't that prove that the changes that fixed this bug were made somewhere 
else (i.e. in other files)?

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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] pack_black_rule_pickup ?

2012-02-18 Thread Steffen Wolfrum

Am 18.02.2012 um 20:19 schrieb luigi scarso:

 On Sat, Feb 18, 2012 at 8:12 PM, Wolfgang Schuster
 schuster.wolfg...@googlemail.com wrote:
 
 Am 18.02.2012 um 20:04 schrieb luigi scarso:
 
 I think a separate key for the command is better because this
 
 \setupnote[footnote][rule=\MyRule]
 
 can also be \setupnote[…][rule={on,right,\MyRule}] which is ugly and two 
 step mechanism like \setuplist[…][alternative=command,command=\MyList] are 
 better but that’s only my opinion.
 it's ok for me -- it was a quick fix for Steffen



;o)


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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] pack_black_rule_pickup ?

2012-02-17 Thread Steffen Wolfrum
Hi,

what's wrong here??


\unexpanded\def\MyRule{\blackrule[color=orange,width=18mm,height=0.4pt]}

\setupnote[footnote][rule=\MyRule]

\starttext

 teset\footnote{text}.
 
 \stoptext


... gives ...


{\currentnote }]{\pack_black_rule_pickup }\def 
\syst_helpers_next_optional_command_nop \ETC.
! File ended while scanning use of \setup_notation.

system   tex  error on line 0 in file : File ended while scanning use 
of \setup_notation ...

empty file

inserted text 
\par 
* ./e.tex 
\stoptext
? 


Steffen
vers. 2012.02.16
___
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] notes changes

2012-02-17 Thread Steffen Wolfrum
Hi,

with current beta I get an interesting symbol in cases when my footnotetext 
doesn't fit on the same page as its marker:



PastedGraphic-2.pdf
Description: Adobe PDF document


Nice! But how can I switch it off?

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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

Re: [NTG-context] random bookmarks not linked (with example)

2012-02-16 Thread Steffen Wolfrum

Am 15.02.2012 um 23:51 schrieb Hans Hagen:

 On 15-2-2012 20:59, Steffen Wolfrum wrote:
 Dear developers, friends
 
 please have a look at the bug described below!
 
 It is not an academic detail ...
 It's a real book that's already have finished, containing hundreds of 
 sections.
 And unfortunately dozens of these cripples bookmarks.
 
 I don't know what else I can do for debugging. Is there some advanced 
 logging magic?
 
 i'll have a look at it but not today

ok, great



 btw, never use betas for critical (deadline) projects), esp not now I'm 
 redoing some otr and structure code


(thanks for the warning)

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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] random bookmarks not linked (with example)

2012-02-16 Thread Steffen Wolfrum

Am 16.02.2012 um 09:20 schrieb Hans Hagen:

 On 15-2-2012 12:28, Steffen Wolfrum wrote:
 Hi Hans,
 
 finally I managed to figure out a minimal 3 page example that can 
 reproduce this strange bug!
 
 It seems to be an interaction of \cite and \index with sectioning/bookmark 
 generation:
 Please run chap_1.tex and click on the bookmark 1.1.2 SIX ... no 
 destination is set.
 
 (As I explained before, this does not mean that anything strange is going on 
 at \subsection{SIX}.
 If the minimal file was longer, the missing link would have been somewhere 
 else.)
 
 If I delete the used \index entries the bug is gone.
 And if I delete the used \mycite commands the bug is gone, too.
 
 
 I hope this test file might help ...
 
 like Luigi I get a pdf where 1.1.2 SIX is a proper link


my project is an already finished and printed book.
it was set with context vers. 2011.05.14, in this version the link is missing

now the publishers asked for the pdf (to provide it on-line too) and thus they 
noticed the defect.

unfortunately running the same project with todays beta gives different line 
breaks and so different page breaks. which is not acceptable for the publishers.


I retried it with vers. 2012.01.16, also here the link is missing:
do you remember what changed you made between, say 2012.01.16 (not working) and 
today (working)?
then maybe a patch can be found out that could also be adapted to my original 
vers. 2011.05.14?

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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] random bookmarks not linked (with example)

2012-02-15 Thread Steffen Wolfrum
Hi Hans,

finally I managed to figure out a minimal 3 page example that can reproduce 
this strange bug!

It seems to be an interaction of \cite and \index with sectioning/bookmark 
generation:
Please run chap_1.tex and click on the bookmark 1.1.2 SIX ... no 
destination is set.

(As I explained before, this does not mean that anything strange is going on at 
\subsection{SIX}.
If the minimal file was longer, the missing link would have been somewhere 
else.)

If I delete the used \index entries the bug is gone.
And if I delete the used \mycite commands the bug is gone, too.


I hope this test file might help ...

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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] random bookmarks not linked (with example)

2012-02-15 Thread Steffen Wolfrum
Hi Hans,

finally I managed to figure out a minimal 3 page example that can reproduce 
this strange bug!

It seems to be an interaction of \cite and \index with sectioning/bookmark 
generation:
Please run chap_1.tex and click on the bookmark 1.1.2 SIX ... no 
destination is set.

(As I explained before, this does not mean that anything strange is going on at 
\subsection{SIX}.
If the minimal file was longer, the missing link would have been somewhere 
else.)

If I delete the used \index entries the bug is gone.
And if I delete the used \mycite commands the bug is gone, too.


I hope this test file might help ...

Steffen
---


chap_01.tex
Description: Binary data
___
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

Re: [NTG-context] texgyre termes: no ligatures

2012-02-15 Thread Steffen Wolfrum

Am 15.02.2012 um 12:32 schrieb Thomas A. Schmitz:

 Hi all,
 
 I think this has been around for a while, but I have never gotten round to 
 writing about it: ligatures do not work in tex gyre termes. AFAICS, they do 
 work in the other tex gyre fonts. However, they are most needed in termes (fi 
 without ligature is really ugly in this one), and they do not appear in the 
 current beta. Don't know if this is a luatex or ConTeXt issue. Example:
 
 \setupbodyfont[termes,12pt]
 
 \starttext
 
 office fine flat
 
 {\ss office fine flat}
 
 {\switchtobodyfont[pagella] office fine flat}
 
 \stoptext


At least in vers. 2012.01.16 there are ligatures ...



PastedGraphic-2.pdf
Description: Adobe PDF document


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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

Re: [NTG-context] random bookmarks not linked (with example)

2012-02-15 Thread Steffen Wolfrum
Dear developers, friends

please have a look at the bug described below!

It is not an academic detail ... 
It's a real book that's already have finished, containing hundreds of sections.
And unfortunately dozens of these cripples bookmarks.

I don't know what else I can do for debugging. Is there some advanced logging 
magic?


Please help!

Steffen


Am 15.02.2012 um 12:28 schrieb Steffen Wolfrum:

 Hi Hans,
 
 finally I managed to figure out a minimal 3 page example that can reproduce 
 this strange bug!
 
 It seems to be an interaction of \cite and \index with sectioning/bookmark 
 generation:
 Please run chap_1.tex and click on the bookmark 1.1.2 SIX ... no 
 destination is set.
 
 (As I explained before, this does not mean that anything strange is going on 
 at \subsection{SIX}.
 If the minimal file was longer, the missing link would have been somewhere 
 else.)
 
 If I delete the used \index entries the bug is gone.
 And if I delete the used \mycite commands the bug is gone, too.
 
 
 I hope this test file might help ...
 
 Steffen
 ---
 chap_01.tex___
 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  : http://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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] groupedcommand with color

2012-02-14 Thread Steffen Wolfrum
Hi,

due to \color[]{} now needs an argument, groupedcommand doesn't work as before:


\define\PlainSwitch%
{\groupedcommand{\language[de]\ss}{}} 

\define\ColorSwitch%
{\groupedcommand{\language[de]\ss\color[darkred]}{}} 

\starttext

English: \date

{\PlainSwitch German \date}

English: \date

{\ColorSwitch German \date}

Test \date

\stoptext




Someone knows what to change here (in order to get the red G back)?

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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] groupedcommand with color

2012-02-14 Thread Steffen Wolfrum

Am 14.02.2012 um 13:21 schrieb Hans Hagen:

 On 14-2-2012 12:55, Steffen Wolfrum wrote:
 Hi,
 
 due to \color[]{} now needs an argument, groupedcommand doesn't work as 
 before:
 
 
 \define\PlainSwitch%
 {\groupedcommand{\language[de]\ss}{}}
 
 \define\ColorSwitch%
 {\groupedcommand{\language[de]\ss\color[darkred]}{}}
 
 \starttext
 
 English: \date
 
 {\PlainSwitch German \date}
 
 English: \date
 
 {\ColorSwitch German \date}
 
 Test \date
 
 \stoptext
 
 Someone knows what to change here (in order to get the red G back)?
 
 something
 
 {\groupedcommand{\language[de]\ss\startcolor[darkred]}{\stopcolor}}


In version 2012.01.16  this gives an error:

! Extra }, or forgotten \endgroup.


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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] groupedcommand with color

2012-02-14 Thread Steffen Wolfrum

Am 14.02.2012 um 13:44 schrieb Hans Hagen:

 On 14-2-2012 13:37, Steffen Wolfrum wrote:
 
 Am 14.02.2012 um 13:21 schrieb Hans Hagen:
 
 On 14-2-2012 12:55, Steffen Wolfrum wrote:
 Hi,
 
 due to \color[]{} now needs an argument, groupedcommand doesn't work as 
 before:
 
 
 \define\PlainSwitch%
 {\groupedcommand{\language[de]\ss}{}}
 
 \define\ColorSwitch%
 {\groupedcommand{\language[de]\ss\color[darkred]}{}}
 
 \starttext
 
 English: \date
 
 {\PlainSwitch German \date}
 
 English: \date
 
 {\ColorSwitch German \date}
 
 Test \date
 
 \stoptext
 
 Someone knows what to change here (in order to get the red G back)?
 
 something
 
 {\groupedcommand{\language[de]\ss\startcolor[darkred]}{\stopcolor}}
 
 
 In version 2012.01.16  this gives an error:
 
 ! Extra }, or forgotten \endgroup.
 
 and how about
 
 {\groupedcommand{\language[de]\ss\directcolored[darkred]}{}}


now it works: directedcolor, as well as switchtolcolor

Thank you Hans and Philipp!
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Where to go????

2012-02-10 Thread Steffen Wolfrum

Am 10.02.2012 um 10:45 schrieb Verhaag, G.C.H.M.:

 Hi ConTeXt user's,
 
 Sorry about this question, but I want to find out to whom I should turn with 
 the ConTeXt problem I have?
 
 I've started two threads ('Cross-document referencing not working!' and 
 'Cross-document referencing: How to?!') recently dealing with a 
 cross-document referencing problem, but didn't get suggestions on how to get 
 it solved. Perhaps it's just a minor issue!? I got one confirmation of the 
 problem running a simple test file.
 
 This feature (described in detail in This Way, sep 2011 
 (http://pragma-ade.com/show-mag-15.htm)) is critical for a project I'd like 
 to start!
 
 But maybe this is not the right place to ask questions like these, but where 
 should I go, if that's indeed the case? Maybe I'm not patient enough!


As you are Dutch why don't you visit Hans in his office and discuss the problem?

Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com


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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] xtables: vertical stretch

2012-02-08 Thread Steffen Wolfrum

Am 07.02.2012 um 23:11 schrieb Hans Hagen:

 On 7-2-2012 21:13, Thomas A. Schmitz wrote:
 On 02/07/2012 09:10 PM, Hans Hagen wrote:
 I was wondering if it is possible to have some vertical stretch in
 xtables so they fill the entire page area. I know this sounds a bit
 bizarre, but it would look good on slides: have an option that will
 automatically calculate the height of every row as \textheight/x for
 any x.
 
 between rows or within cells?
 
 I was thinking of within (calculate height of cell), but between rows
 would be possible too.
 
 the next beta has option=height (controlled by texheight=..)
 
 (tested by thomas)



xtables only 
or natural tables too?

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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] How to make Figure captions justify if long?

2012-02-08 Thread Steffen Wolfrum

Am 09.02.2012 um 02:13 schrieb Wagner Macedo:

 Thanks by the answer, but I had already thought in this. I would like 
 something more definitive.


How about this:

\starttext

\placefigure[here]{This is just an example for this is just an example for this 
is just an example for this is just an example for this is just an example for 
this is just an example for this}{\externalfigure[any][width=0.5\textwidth]}

\stoptext

---
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] setupfloat[Myfloat] does not work

2012-02-07 Thread Steffen Wolfrum
Hi,

I want to set up individual floats with different spaces before/after.

Setting the frame on/off works,
but the spaces show no effect:


\definefloat[Myfigure][Myfigures]
\setupfloat[Myfigure][frame=on,spacebefore=200pt,spaceafter=300pt]

\starttext

test

\placeMyfigure{example}{{\externalfigure[foo][frame=off]}}%

text

\stoptext



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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] mirror one single character

2012-02-03 Thread Steffen Wolfrum
Hi,


one can use this ...

\rotate[rotation=180]{\utfchar{1D0E}}

... to rotate a single character when needed.


Do we have a similar, handy command for mirroring a single character?

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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


  1   2   3   4   5   6   7   8   9   10   >