Re: [NTG-context] BUG? Strange behavior (vertical space added!!!) with accentuated letters (was \inmargin / full textwidth line interaction)

2010-11-27 Thread Otared Kavian
Thanks to Wolfgang and Renaud for sharing all this…

However, Renaud, I didn't notice what you says about having « É » in the title: 
it seems that everything works as expected: see
http://dl.dropbox.com/u/4316076/inmargin-fullwidth-1.pdf

(using, ConTeXt  ver: 2010.11.26 22:49 MKIV, on MacOS 10.6.5).
Best regards: OK

On 26 nov. 2010, at 20:25, Renaud AUBIN wrote:

 Hi Wolfgang,
 
 First, thank you!
 
 Now, if I use some accentuated letters in title (the É just after the
 second subsection and before \input zapf), there is an unwanted vertical
 space… Bug, feature or misuse???
 Could you confirm the bug? (the resulting pdf:
 http://dl.dropbox.com/u/5289718/testWolfgang.pdf)
 
 I use the latest minimals on debian 64.
 
 Test −−
 \setupbodyfont[10pt]
 
 \setuplayout
  [leftedge=0mm,
   leftmargin=45mm,
   rightedge=0mm,
   rightmargin=0mm,
   backspace=60mm,
   topspace=10mm,
   bottomspace=10mm,
   header=0mm,
   headerdistance=0mm,
   footer=0mm,
   footerdistance=0mm,
   margindistance=0mm,
   height=middle,
   width=middle,
   grid=yes]
 
 \setuppagenumbering[state=stop]
 
 \setuphead[section]   [style=,command=\SectionCommand]
 \setuphead[subsection][style=,command=\SubsectionCommand]
 
 \define[2]\SectionCommand
  {\inleftmargin{\leftaligned{\structuretitle}}%
   \blackrule
 [ width=\textwidth,
  height=+.3\lineheight,
   depth=-.2\lineheight]}
 
 \define[2]\SubsectionCommand
   {\vbox\bgroup
  \inleftmargin{\leftaligned{\em\structureuservariable{date}}}%
  {\bfa\structuretitle}\wordright{\tfx\structureuservariable{topic}}
 %  \blank
  {\em\structureuservariable{info}}%
\egroup}
 
 \starttext
 
 \startsection[title={A Section}]
 
 \startsubsection
  [title={The detailled topic (which takes more than one line)}]
  [date={The date},topic={Knuth’s topic},info={some text}]
 
 \input knuth
 
 \stopsubsection
 
 \startsubsection
  [title={Éhe detailled topic (which takes more than one line)}]
  [date={Another date},topic={Zapf},info={some text}]
 
 É
 \input zapf
 
 \stopsubsection
 
 \startsubsection
  [title={The detailled topic (which takes more than one line)}]
  [date={Another date},topic={Zapf},info={some text}]
 
 \input zapf
 
 \stopsubsection
 
 \stopsection
 
 \startsection[title={Section}]
 
 \startsubsection
  [title={Some details}]
  [date={A date},topic={Tufte}]
 
 \input tufte
 
 \stopsubsection
 
 \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
 ___

%%
Otared Kavian
Département de Mathématiques
Université de Versailles Saint-Quentin
Bâtiment Fermat
45 aveue des Etats Unis
78035 Versailles cedex

Téléphone: +33 1 39 25 46 42
Secrétariat: +33 1 39 25 46 44 
Secrétariat: +33 1 39 25 46 46

e-mail: otared.kav...@math.uvsq.fr



___
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] Updated manual

2010-11-27 Thread luigi scarso
On Sat, Nov 27, 2010 at 8:55 AM, Taco Hoekwater t...@elvenkind.com wrote:
 Hi,

 When Hans uploaded the new beta last night, also

  general/manuals/cld-mkiv.pdf

 was updated.
impressive
-- 
luigi
___
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] Strange behavior (vertical space added!!!) with accentuated letters

2010-11-27 Thread Wolfgang Schuster

Am 27.11.2010 um 09:17 schrieb Otared Kavian:

 Thanks to Wolfgang and Renaud for sharing all this…
 
 However, Renaud, I didn't notice what you says about having « É » in the 
 title: it seems that everything works as expected: see
 http://dl.dropbox.com/u/4316076/inmargin-fullwidth-1.pdf

He means the space between the header and the following paragraph,
he can fix this by changing the interlinespace, e.g.

   \setupinterlinespace[height=.8,depth=.2]

or

   \setupinterlinespace[line=3ex]

He can also try if a different grid option give the correct output
without changing the interlinespace.

Wolfgang

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

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


Re: [NTG-context] Updated manual

2010-11-27 Thread Alan BRASLAU
On Saturday 27 November 2010 08:55:34 Taco Hoekwater wrote:
 Hi,
 
 When Hans uploaded the new beta last night, also
 
general/manuals/cld-mkiv.pdf
 
 was updated.
 
 Best wishes,
 Taco

Are the manuals available with the minimals?
If not, could they be, perhaps via an optional switch?

Alan
___
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] new beta

2010-11-27 Thread Alan BRASLAU
On Friday 26 November 2010 23:01:54 Mojca Miklavec wrote:
 On Fri, Nov 26, 2010 at 22:42, Hans Hagen wrote:
  On 26-11-2010 10:03, Willi Egger wrote:
  Hi Hans,
  
  just was busy to update Context
  
  already fixed
 
 Thanks. It seems to work now.
 

The problem is with loading mkiv files.
The files are included, but are not found automatically.
I just now updated the minimals, and had to input the full path
for these files (twice) in order to succeed.

Alan
___
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] Updated manual

2010-11-27 Thread Vianney le Clément
On Sat, Nov 27, 2010 at 10:13, Alan BRASLAU alan.bras...@cea.fr wrote:
 Are the manuals available with the minimals?
 If not, could they be, perhaps via an optional switch?

Second that. It would be awesome.

Vianney
___
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: colors in TikZ/ConTeXt MKIV

2010-11-27 Thread Vedran Miletić
2010/11/26 Mojca Miklavec mojca.miklavec.li...@gmail.com

 Dear Till/Christian/Hans,

 The following is broken in ConTeXt MKIV (assuming the usage of patched
 TikZ to allow running it under MKIV at all), but works fine in ConTeXt
 MKII:

 \usemodule[tikz]
 \starttext

 \starttikzpicture
\node[circle,ball color=red!10] (a) at (0,0,0) {$p_x$};
 \stoptikzpicture

 \stoptext

 Mojca


Same here.

Regards,

Vedran Miletić
___
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] sensible math

2010-11-27 Thread Andreas Harder
Hi all,

the following used to work in earlier releases

\starttext
$M\limits^4$ $a\!b$ % - error (whereby $a\,b\;c$ is OK)
% $\mathop{M}\limits^4$ $a\! b$ % - workaround
\stoptext

Will this change again?

Greeting
Andreas
___
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] Strange behavior (vertical space added!!!) with accentuated letters

2010-11-27 Thread Renaud AUBIN
Thanks to Wolgang and Otared,

My initial problem has disappeared using the latest beta 2010.11.26
22:49. I don't really know why but it works ;)
By the way, in the mean time, I've fixed that using the default grid
policy (i.e. removing grid=yes in setuplayout).

Cheers,

Renaud

Le 27/11/2010 09:57, Wolfgang Schuster a écrit :
 He can also try if a different grid option give the correct output
 without changing the interlinespace.

___
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: colors in TikZ/ConTeXt MKIV

2010-11-27 Thread Hans Hagen

On 27-11-2010 12:04, Vedran Miletić wrote:

2010/11/26 Mojca Miklavecmojca.miklavec.li...@gmail.com


Dear Till/Christian/Hans,

The following is broken in ConTeXt MKIV (assuming the usage of patched
TikZ to allow running it under MKIV at all), but works fine in ConTeXt
MKII:

\usemodule[tikz]
\starttext

\starttikzpicture
\node[circle,ball color=red!10] (a) at (0,0,0) {$p_x$};
\stoptikzpicture

\stoptext

Mojca



Same here.


\starttikzpicture
   \node[circle,ball color=darkred] (a) at (0,0,0) {$p_x$};
\stoptikzpicture
\starttikzpicture
   \node[circle,ball color=red] (a) at (0,0,0) {$p_x$};
\stoptikzpicture
\definecolor[myred][r=.1]
\starttikzpicture
   \node[circle,ball color=myred] (a) at (0,0,0) {$p_x$};
\stoptikzpicture


-
  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
___


Re: [NTG-context] Can't use buffers inside a block

2010-11-27 Thread Hans Hagen

On 27-11-2010 9:01, Bernhard Vogel wrote:

Hi all,

The latest beta gives the same error.

TIA,

Bernard

On Thursday 25 November 2010, Bernhard Vogel wrote:

Hi all,

When I use a buffer inside a block, this error message appears:
Runaway argument?
\st\ETC.t.\stopbuffer \getbuffer \dostopnormalblock \egroup \par
! File ended while scanning use of \dododowithbuffer.

When I define the buffer outside the block, it works.


it's somewhat tricky as we need to feed back into tex and do so under 
some catcode assumptions; i now use a different approach


can you check again in a while (uploading now)

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
___


Re: [NTG-context] MkII index bug?

2010-11-27 Thread Hans Hagen

On 25-11-2010 12:27, Jano Kula wrote:

Hi Hans,

playing with the solution for Horacio the line \enableregime[utf] stops
treating index entries and its subentries right in MkII.

%\enableregime[utf]
\starttext
\placeregister[index]
\page
A\index[arbol+rojo]{arbol+rojo}\page
B\index[araña+linda]{araña+linda}\page
C\index[arbol+verde]{arbol+verde}\page
D\index[araña+grande]{araña+grande}\page
E\index[arbol+blanco]{arbol+blanco}\page
\stoptext


hm, i'm not so sure if i want to waste time on mkii indexes; you can 
make a tracker on mantis justin case i've northing to do


(actually the best would be to map index sorting in mkii onto mkiv and 
back)


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
___


[NTG-context] \underbrace broken in latest beta

2010-11-27 Thread Mathieu Boespflug
Hi,

I upgraded to latest beta and something that used to work before
doesn't anymore. Here's a minimal example:

\starttext

Here's an underbrace :
\startformula
\underbrace{X \cdots X}_{n \text{ times}}
\stopformula
\stoptext

The error I get is:

! Missing number, treated as zero.
to be read again
   b
\Umathbotaccent -\Umathaccent b
ottom
\normalunderbrace -\Umathbotaccent
0 0 23DF
\mathopwithlimits #1#2-\mathop {#1
   {#2}}\limits
l.5 \underbrace{X \cdots X}
   _{n \text{ times}}

All the best,

Mathieu
___
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: colors in TikZ/ConTeXt MKIV

2010-11-27 Thread Mojca Miklavec
On Sat, Nov 27, 2010 at 13:29, Hans Hagen wrote:

 \starttikzpicture
   \node[circle,ball color=darkred] (a) at (0,0,0) {$p_x$};
 \stoptikzpicture

I made a workaround in that way, but it's still a bug ...

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

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


Re: [NTG-context] bug: colors in TikZ/ConTeXt MKIV

2010-11-27 Thread Hans Hagen

On 27-11-2010 2:16, Mojca Miklavec wrote:

On Sat, Nov 27, 2010 at 13:29, Hans Hagen wrote:


\starttikzpicture
   \node[circle,ball color=darkred] (a) at (0,0,0) {$p_x$};
\stoptikzpicture


I made a workaround in that way, but it's still a bug ...


I have no clue what the ! does apart from defining a color red at 10% 
but I do know that context ignores it.


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
___


Re: [NTG-context] \underbrace broken in latest beta

2010-11-27 Thread Hans Hagen

On 27-11-2010 2:15, Mathieu Boespflug wrote:

Hi,

I upgraded to latest beta and something that used to work before
doesn't anymore. Here's a minimal example:


at the end of math-ini.mkiv patch:

\ifnum\luatexversion65
\def\Umathbotaccent{\Umathaccent bottom }
\fi

it's a prelude to a luatex update

-
  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
___


Re: [NTG-context] Tables and nobreakable space

2010-11-27 Thread Hans Hagen

On 22-11-2010 8:24, Wolfgang Schuster wrote:

\starttext
\starttable[|p|]
\NC ~ \NC\NR
\stoptable
\stoptext


fixed in next beta

-
  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
___


Re: [NTG-context] \underbrace broken in latest beta

2010-11-27 Thread Mathieu Boespflug
Hi Hans,

thank you for the quick response. Unfortunately, your fix below
doesn't seem to work. Or perhaps I need to regenerate some files? I
ran context --generate and context --make after your instructions but
I still get the same error. My context version is:

ConTeXt  ver: 2010.11.27 14:27 MKIV  fmt: 2010.11.27  int: english/english

Thanks,

Mathieu


On Sat, Nov 27, 2010 at 2:27 PM, Hans Hagen pra...@wxs.nl wrote:
 On 27-11-2010 2:15, Mathieu Boespflug wrote:

 Hi,

 I upgraded to latest beta and something that used to work before
 doesn't anymore. Here's a minimal example:

 at the end of math-ini.mkiv patch:

 \ifnum\luatexversion65
    \def\Umathbotaccent{\Umathaccent bottom }
 \fi

 it's a prelude to a luatex update

 -
                                          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
___


Re: [NTG-context] \underbrace broken in latest beta

2010-11-27 Thread Hans Hagen

On 27-11-2010 3:13, Mathieu Boespflug wrote:

Hi Hans,

thank you for the quick response. Unfortunately, your fix below
doesn't seem to work. Or perhaps I need to regenerate some files? I
ran context --generate and context --make after your instructions but
I still get the same error. My context version is


weird, for the  moment comment the line in math-ini.mkiv and run

context --make

-
  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
___


Re: [NTG-context] \underbrace broken in latest beta

2010-11-27 Thread Mathieu Boespflug
Ok, that works. Thanks!

On Sat, Nov 27, 2010 at 3:22 PM, Hans Hagen pra...@wxs.nl wrote:
 On 27-11-2010 3:13, Mathieu Boespflug wrote:

 Hi Hans,

 thank you for the quick response. Unfortunately, your fix below
 doesn't seem to work. Or perhaps I need to regenerate some files? I
 ran context --generate and context --make after your instructions but
 I still get the same error. My context version is

 weird, for the  moment comment the line in math-ini.mkiv and run

 context --make

 -
                                          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
___


[NTG-context] Bibliogrraphy MKIV sort does NOT work

2010-11-27 Thread barndog1946

Hans,

Could we (you and I) fix sort= so that we can make choices? Default  
sort=author does NOT function. As a matter of fact there seems to be no  
sort available.


Also, can someone point me to the files required so that we (I) could write  
code to chose biblio style files for reference list eg econometric,  
elsevier, AEA, etc.
___
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] Composed words: a simple way without a global replacement to |-|?

2010-11-27 Thread Marco Pessotto

Dear list,

today I was reviewing the hyphenation and stumbled on the composed word
problem, as explained at http://wiki.contextgarden.net/Composed_words
and in the ref-manual. 

Now, the trivial question sounds: is there a way to say to TeX hey,
consider the hyphen inside words a good breakpoint? 

If not, I'm going to do a global replacement of ([a-z])-([a-z]) to
$1|-|$2 , but somehow I feel I'm doing this wrong (because this will
harm to the readability of the source).

Any idea?

Thanks in advance.

-- 
Marco


___
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] Composed words: a simple way without a global replacement to |-|?

2010-11-27 Thread Wolfgang Schuster

Am 27.11.2010 um 16:35 schrieb Marco Pessotto:

 
 Dear list,
 
 today I was reviewing the hyphenation and stumbled on the composed word
 problem, as explained at http://wiki.contextgarden.net/Composed_words
 and in the ref-manual. 
 
 Now, the trivial question sounds: is there a way to say to TeX hey,
 consider the hyphen inside words a good breakpoint? 

For MkIV you can add „\setbreakpoints[compound]“ to your document.

Wolfgang

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

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


Re: [NTG-context] Composed words: a simple way without a global replacement to |-|?

2010-11-27 Thread Marco
Wolfgang Schuster schuster.wolfg...@googlemail.com writes:

 Am 27.11.2010 um 16:35 schrieb Marco Pessotto:

 
 Dear list,
 
 today I was reviewing the hyphenation and stumbled on the composed word
 problem, as explained at http://wiki.contextgarden.net/Composed_words
 and in the ref-manual. 
 
 Now, the trivial question sounds: is there a way to say to TeX hey,
 consider the hyphen inside words a good breakpoint? 

 For MkIV you can add „\setbreakpoints[compound]“ to your document.


Thanks a lot, you saved my day. I've added the solution to
http://wiki.contextgarden.net/Composed_words

-- 
Marco

___
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 flip even pages upside down??

2010-11-27 Thread Leo Razoumov
Hi List,
I am a new ConTeXt user coming from LaTeX background.
To print duplex on my printer I need to flip even pages upside down. I
looked into section 3.7 Arranging Pages of the latest ConTeXt manual
(2010-10-26). It shows how to setup very elaborate page compositions
but somehow I failed to find a solution for my little problem.

Any help/advice is greatly appreciated.

--Leo--
___
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 flip even pages upside down??

2010-11-27 Thread Renaud AUBIN
Hi Leo,

Uh? Use the right printer driver and set the automatic duplex mode to
short edge/side?
Do you have any good reason to do that directly with your pdf instead of
using the printer configuration?
If yes, then http://wiki.contextgarden.net/Reference/en/setuparranging
and http://wiki.contextgarden.net/Imposition

Cheers,

Renaud

Le 27/11/2010 23:56, Leo Razoumov a écrit :
 Hi List,
 I am a new ConTeXt user coming from LaTeX background.
 To print duplex on my printer I need to flip even pages upside down. I
 looked into section 3.7 Arranging Pages of the latest ConTeXt manual
 (2010-10-26). It shows how to setup very elaborate page compositions
 but somehow I failed to find a solution for my little problem.

 Any help/advice is greatly appreciated.

 --Leo--
 _
   
___
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 flip even pages upside down??

2010-11-27 Thread Leo Razoumov
On Sat, Nov 27, 2010 at 19:45, Renaud AUBIN au...@nibua-r.org wrote:
 Hi Leo,

 Uh? Use the right printer driver and set the automatic duplex mode to
 short edge/side?
 Do you have any good reason to do that directly with your pdf instead of
 using the printer configuration?
 If yes, then http://wiki.contextgarden.net/Reference/en/setuparranging
 and http://wiki.contextgarden.net/Imposition

 Cheers,

 Renaud


Currently I am using pstops filter to flip off pages. Reading
ConTeXt manual I got captivated by sheer power and flexibility of
ConTeXt. It can produce quite elaborate booklet layouts with up to 32
pages/sheet. Just flipping every other page should be possible as
well. Being a newbie I simply do not see how.

--Leo--
___
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 flip even pages upside down??

2010-11-27 Thread luigi scarso
On Sun, Nov 28, 2010 at 2:15 AM, Leo Razoumov slonik...@gmail.com wrote:
 On Sat, Nov 27, 2010 at 19:45, Renaud AUBIN au...@nibua-r.org wrote:
 Hi Leo,

 Uh? Use the right printer driver and set the automatic duplex mode to
 short edge/side?
 Do you have any good reason to do that directly with your pdf instead of
 using the printer configuration?
 If yes, then http://wiki.contextgarden.net/Reference/en/setuparranging
 and http://wiki.contextgarden.net/Imposition

 Cheers,

 Renaud


 Currently I am using pstops filter to flip off pages. Reading
 ConTeXt manual I got captivated by sheer power and flexibility of
 ConTeXt. It can produce quite elaborate booklet layouts with up to 32
 pages/sheet. Just flipping every other page should be possible as
 well. Being a newbie I simply do not see how.
Willi is the master of page arrangements: see also
http://meeting.contextgarden.net/2010/talks/2010-09-18-willi-arrangements/


-- 
luigi
___
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
___