[NTG-context] currentheadnumber / doif.. problem

2007-09-10 Thread Peter Schorsch
Hi,

I tried to get the full present heading-number. If I am using currentnumber
the result is only the last part of the heading-number. So I tried do
implement a function like this:

\def\presentheadnumber%
{\doifelse{\headnumber[section]}{}%
{\headnumber[chapter]}%
{\headnumber[section]}%
}

but always the else-part is executed. I also tried to use doifemptyelse,
doifnumber etc.. but as soon i am using headnumber[...] only the else-part
will be executed. Can anyone help me with this problem? Or am I going a
complete wrong way?

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

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


Re: [NTG-context] Greek in luatex

2007-09-10 Thread Thomas A. Schmitz
OK, the message below didn't get too many responses, so maybe I can  
rephrase my quiestions in a more precise manner:

1. For otftotfm, there's the "unicoding" command where you can  
replace a character in a certain slot with another unicode character,  
so you could say
unicoding "A = uni03D1"
Is anything like this possible in luatex?

2. I see this code in font-otf.lua:
fonts.otf.features.data.tex = {
 { "endash", "hyphen hyphen" },
 { "emdash", "hyphen hyphen hyphen" },
 { "quotedblleft", "quoteleft quoteleft" },
 { "quotedblright", "quoteright quoteright" },
 { "quotedblleft", "grave grave" },
 { "quotedblright", "quotesingle quotesingle" },
 { "quotedblbase", "comma comma" }
}

and this list is used in the function function  
fonts.initializers.base.otf.texligatures(tfm,value)

How is it possible to write a similar list and function for just a  
single font or fonts in a specific typescript?

Thanks a lot!

Thomas


On Sep 1, 2007, at 12:56 PM, Thomas A. Schmitz wrote:

> Hi all,
>
> I've been experimenting with my Greek stuff in luatex, and I think
> I'm making nice progress. Things pretty much work with Unicode input,
> and as soon as the kerning problem is solved, I'm very optimistic.
> Two questions came up for me; I assume the answers are
> straightforward, but couldn't find anything:
>
> 1. How can I remap single characters? Let's say that we have a
> Unicode character in the input stream that maps to 0x03c3, but I want
> it remapped to 0x3f2, how can this be achieved?
>
> 2. Similarly: if I want to support the legacy input method babel, I
> need to remap the input stream to the Greek characters (question 1)
> and also need to feed the font some ligature rules, such as: the
> combination >a needs to be combined into the character 0x1f00. What
> would be the syntax and the way to do this?
>
> All best
>
> Thomas
>
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

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


Re: [NTG-context] close-up (was: backward compatibility ... )

2007-09-10 Thread Wolfgang Schuster
2007/9/10, Steffen Wolfrum <[EMAIL PROTECTED]>:
>
> Am 10.09.2007 um 13:38 schrieb Wolfgang Schuster:
>
> > You should write now in your documents "erste beruf|*|liche Laufbahn".
>
>
> Please take a close-up at the minimal below.
> There are three components: hyphenation, ligatures and space in
> ligatures.
>
> Up to now I couldn't find the *right* solution, where all three are
> correct.
>
> Maybe some wizards know?
>
> Steffen
>
>
>
> \usetypescript[postscript][\defaultencoding]
> \setupencoding[default=texnansi]
> \mainlanguage[deo]
> \enableregime[mac]
> \setupbodyfont[postscript,36pt]
>
>
> \starttext
> \showframe
>
> %Auflagen {\txx the fl-ligature is wrong here}
>
> %Auf\-lagen {\txx the right fl for false ligatures!}
>
> %Auf\/lagen {\txx this is too much space in fl}
>
> %Auf|*|lagen {\txx  this is too much space in fl}
>
>
> 1234567890 Auflagen Auflagen {\txx right hyphenation, but wrong
> ligature\break - -}
>
> 1234567890 Auf\-lagen Auf\-lagen
>
> 1234567890 Auf\/lagen Auf\/lagen {\txx these -- and also \verbatim
> {Auf|\-|lagen} -- kill the other hyphenation Aufla-gen. Esp ugly for
> long words ... \break - -}
>
> 1234567890 Auf|*|lagen Auf|*|lagen {\txx right hyphenation, but too
> much space in fl\break - -}
>
>
>   % for the right space between fl see also ff:
>
>
>   Auf\-fangen {\txx perfect!}
>
>   Auf\/fangen {\txx too much space}
>
>   Auf|*|fangen {\txx too much space}
>
>
> \stoptext
>
> \stoptext

Hi Steffen,

you can change the space between the characters the |*| inserts.

% original definition
%\definetextmodediscretionary *
%  {\prewordbreak\discretionary{-}{}{\kern.05em}\prewordbreak}

\definetextmodediscretionary *
  {\prewordbreak\discretionary{-}{}{}\prewordbreak}

Now Auf|*|lagen give for me the same output as Auf\-lagen.

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

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


[NTG-context] luatex + MP

2007-09-10 Thread Thomas A. Schmitz
Hi all,

just a quick one: for the time being, luatex doesn't seem to support  
any MP graphics, right? Even the most simple files both here and on  
the garden fail to produce any output. Any hints when this will be  
included?

Best

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

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


[NTG-context] currentheadnumber / doif.. problem

2007-09-10 Thread Peter Schorsch
Hi,

I tried to get the full present heading-number. If I am using currentnumber
I am getting back only the last part of the heading-number. So I tried do
implement a function like this:

\def\presentheadnumber%
{\doifelse{\headnumber[section]}{}%
{\headnumber[chapter]}%
{\headnumber[section]}%
}

but always the else-part is executed. I also tried to use doifemptyelse,
doifnumber etc.. but as soon i am using headnumber[...] only the else-part
will be executed. Can anyone help me with this problem? Or am I going a
complete wrong way?

Thanks

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

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


Re: [NTG-context] fret-diagrams in Lilypond + ConTeXt

2007-09-10 Thread Arthur Reutenauer
> Any ideas?

  This is a catcode problem.  Surround \start ... \stoplilypond with

\catcode`\-=11

  and

\catcode`\-=12

  Then you will probably experience a Lilypond problem because the line
of code you type (\markup \fret-diagram ...) apparently isn't a
legitimate Lilypond stand-alone score and you need to place it on the
page with \mark, for example.  But even then Lilypond is not so happy
and complains that there is no note on the page, and you'd better put
some there.

  To sum up, the following works for me:

 cut after

\usemodule[lilypond]
\starttext

\catcode`\-=11
\startlilypond
d'' ^ \markup { \fret-diagram #"s:0.75;6-x;5-x;4-o;3-2;2-3;1-2;" }
\stoplilypond
\catcode`\-=12

\stoptext

 cut before

  Have fun!

  Note for Hraban: this problem is apparently special to markups, that
somehow the minus signs loses his letterhood when used in a markup.
The fault lies obviously with Lilypond, since when I try to compile the
following exact line (with the added curly braces):

  { \markup \fret-diagram #"s:0.75;f:1;6-x;5-x;4-o;3-2-1;2-3-3;1-2-2;" }

Lilypond seems to suddenly forget that the minus is part of the command
and complains about an “unknown escaped string: `\fret'”.

  I have no idea what to do in t-lilypond to fix it.  Maybe you know?

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

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


[NTG-context] Acrobat don't accept compiled documents

2007-09-10 Thread Vyatcheslav Yatskovsky
Hello Hans,

Sorry, but the problem is wider. Nothing using fonts compiles into valid pdf 
now. It seems like the problem arose after upgrading to newest 09-10 version of 
cont-tfm.

-- 
Best,
 Vyatcheslav   

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

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


Re: [NTG-context] [OT] slide shows on www

2007-09-10 Thread Arthur Reutenauer
>  http://meyerweb.com/eric/tools/s5/s5-intro.html

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

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


[NTG-context] [OT] slide shows on www

2007-09-10 Thread Mojca Miklavec
For slide-shows enthusiasts:

Sample:
 http://meyerweb.com/eric/tools/s5/s5-intro.html

Homepage:
 http://meyerweb.com/eric/tools/s5/

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

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


Re: [NTG-context] XeTeX + ConTeXt in TeXShop

2007-09-10 Thread Henning Hraban Ramm
Am 2007-09-10 um 18:18 schrieb Andrea Valle:

> so now my XeConTeXt.engine file contains:
>
> #!/bin/tcsh
> set path= ($path  /usr/texbin)
> texexec --xtx  "$1"
>
> (including a blank line)
> It works

BTW, for the records:

tcsh is rather exotic (was default on OSX 10.1, though).

I'd suggest:

in your ~/.profile:

export PATH='$PATH:/usr/texbin'
alias texetex='texexec --xtx'

and just call 'texetex' in TeXshop (or on the commandline).


Greetlings from Lake Constance!
Hraban
---
http://www.fiee.net/texnique/
http://wiki.contextgarden.net
https://www.cacert.org (I'm an assurer)

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

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


[NTG-context] close-up (was: backward compatibility ... )

2007-09-10 Thread Steffen Wolfrum

Am 10.09.2007 um 13:38 schrieb Wolfgang Schuster:

> You should write now in your documents "erste beruf|*|liche Laufbahn".


Please take a close-up at the minimal below.
There are three components: hyphenation, ligatures and space in  
ligatures.

Up to now I couldn't find the *right* solution, where all three are  
correct.

Maybe some wizards know?

Steffen



\usetypescript[postscript][\defaultencoding]
\setupencoding[default=texnansi]
\mainlanguage[deo]
\enableregime[mac]
\setupbodyfont[postscript,36pt]


\starttext
\showframe

%Auflagen {\txx the fl-ligature is wrong here}

%Auf\-lagen {\txx the right fl for false ligatures!}

%Auf\/lagen {\txx this is too much space in fl}

%Auf|*|lagen {\txx  this is too much space in fl}


1234567890 Auflagen Auflagen {\txx right hyphenation, but wrong  
ligature\break - -}

1234567890 Auf\-lagen Auf\-lagen

1234567890 Auf\/lagen Auf\/lagen {\txx these -- and also \verbatim 
{Auf|\-|lagen} -- kill the other hyphenation Aufla-gen. Esp ugly for  
long words ... \break - -}

1234567890 Auf|*|lagen Auf|*|lagen {\txx right hyphenation, but too  
much space in fl\break - -}


  % for the right space between fl see also ff:


  Auf\-fangen {\txx perfect!}

  Auf\/fangen {\txx too much space}

  Auf|*|fangen {\txx too much space}


\stoptext

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


Re: [NTG-context] XeTeX + ConTeXt in TeXShop

2007-09-10 Thread Andrea Valle

Thanks Arthur

so now my XeConTeXt.engine file contains:

#!/bin/tcsh
set path= ($path  /usr/texbin)
texexec --xtx  "$1"

(including a blank line)
It works


Best


-a-

On 10 Sep 2007, at 17:49, Arthur Reutenauer wrote:


Any hints?


  Make sure the xetex binary is indeed in /usr/local/texlive/2007/ 
bin/i386-darwin

or in /usr/texbin, and the XeConTeXt.engine is an executable file
(type "chmod 755 ~/Library/TeXShop/Engines/XeConTeXt.engine" in  
Terminal.app)

You can also remove the stand-alone slash after "set path=" in
XeConTeXt.engine (it tells tcsh to add the root directory to the  
list of

directories where executable files are looked for, and that's really
both useless and dangerous).

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


maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ 
ntg-context

webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
__ 
_


--
Andrea Valle
--
CIRMA - DAMS
Università degli Studi di Torino
--> http://www.cirma.unito.it/andrea/
--> [EMAIL PROTECTED]
--


I did this interview where I just mentioned that I read Foucault. Who  
doesn't in university, right? I was in this strip club giving this  
guy a lap dance and all he wanted to do was to discuss Foucault with  
me. Well, I can stand naked and do my little dance, or I can discuss  
Foucault, but not at the same time; too much information.

(Annabel Chong)




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

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


Re: [NTG-context] XeTeX + ConTeXt in TeXShop

2007-09-10 Thread Arthur Reutenauer
> Any hints?

  Make sure the xetex binary is indeed in 
/usr/local/texlive/2007/bin/i386-darwin
or in /usr/texbin, and the XeConTeXt.engine is an executable file
(type "chmod 755 ~/Library/TeXShop/Engines/XeConTeXt.engine" in Terminal.app)
You can also remove the stand-alone slash after "set path=" in
XeConTeXt.engine (it tells tcsh to add the root directory to the list of
directories where executable files are looked for, and that's really
both useless and dangerous).

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

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


Re: [NTG-context] XeTeX + ConTeXt in TeXShop

2007-09-10 Thread Andrea Valle

Ok, sorry, I solved adding the infamous blank line suggested by Jelle...

http://article.gmane.org/gmane.comp.tex.macosx/23622/match=xecontext 
+texshop
http://article.gmane.org/gmane.comp.tex.macosx/23634/match=xecontext 
+texshop


I think I will add some stuff to wiki/xetex

Best

-a-



On 10 Sep 2007, at 17:12, Andrea Valle wrote:


Hi,

I was trying to configure teXShop so that it can run texexec --xtx

I was following Otared's suggestions:

http://www.ntg.nl/pipermail/ntg-context/2006/016502.html

I tried a brainless practice, creating the suggested file with

#!/bin/tcsh

set path= ($path /usr/local/teTeX/bin/powerpc-apple-darwin-current /
usr/local/bin)
texexec --xtx  "$1"

but it didn't work, so I changed the provided paths (I'm an Unix  
ignorant: proceeded by nose, as we say in Italy)


And I have this:

#!/bin/tcsh
set path= ($path  /usr/local/texlive/2007/bin/i386-darwin / /usr/ 
texbin)

texexec --xtx  "$1"

(I have mactex on macosx 10.4)

In TeXShop while launching the typesetting process I'm having a  
white console and nothing happens.


Any hints?

Thanks a lot as usual

Best

-a-



--
Andrea Valle
--
CIRMA - DAMS
Università degli Studi di Torino
--> http://www.cirma.unito.it/andrea/
--> [EMAIL PROTECTED]
--


I did this interview where I just mentioned that I read Foucault.  
Who doesn't in university, right? I was in this strip club giving  
this guy a lap dance and all he wanted to do was to discuss  
Foucault with me. Well, I can stand naked and do my little dance,  
or I can discuss Foucault, but not at the same time; too much  
information.

(Annabel Chong)



--
Andrea Valle
--
CIRMA - DAMS
Università degli Studi di Torino
--> http://www.cirma.unito.it/andrea/
--> [EMAIL PROTECTED]
--


I did this interview where I just mentioned that I read Foucault.  
Who doesn't in university, right? I was in this strip club giving  
this guy a lap dance and all he wanted to do was to discuss  
Foucault with me. Well, I can stand naked and do my little dance,  
or I can discuss Foucault, but not at the same time; too much  
information.

(Annabel Chong)




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


maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ 
ntg-context

webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
__ 
_


--
Andrea Valle
--
CIRMA - DAMS
Università degli Studi di Torino
--> http://www.cirma.unito.it/andrea/
--> [EMAIL PROTECTED]
--


I did this interview where I just mentioned that I read Foucault. Who  
doesn't in university, right? I was in this strip club giving this  
guy a lap dance and all he wanted to do was to discuss Foucault with  
me. Well, I can stand naked and do my little dance, or I can discuss  
Foucault, but not at the same time; too much information.

(Annabel Chong)




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

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


[NTG-context] XeTeX + ConTeXt in TeXShop

2007-09-10 Thread Andrea Valle

Hi,

I was trying to configure teXShop so that it can run texexec --xtx

I was following Otared's suggestions:

http://www.ntg.nl/pipermail/ntg-context/2006/016502.html

I tried a brainless practice, creating the suggested file with

#!/bin/tcsh

set path= ($path /usr/local/teTeX/bin/powerpc-apple-darwin-current /
usr/local/bin)
texexec --xtx  "$1"

but it didn't work, so I changed the provided paths (I'm an Unix  
ignorant: proceeded by nose, as we say in Italy)


And I have this:

#!/bin/tcsh
set path= ($path  /usr/local/texlive/2007/bin/i386-darwin / /usr/texbin)
texexec --xtx  "$1"

(I have mactex on macosx 10.4)

In TeXShop while launching the typesetting process I'm having a white  
console and nothing happens.


Any hints?

Thanks a lot as usual

Best

-a-



--
Andrea Valle
--
CIRMA - DAMS
Università degli Studi di Torino
--> http://www.cirma.unito.it/andrea/
--> [EMAIL PROTECTED]
--


I did this interview where I just mentioned that I read Foucault. Who  
doesn't in university, right? I was in this strip club giving this  
guy a lap dance and all he wanted to do was to discuss Foucault with  
me. Well, I can stand naked and do my little dance, or I can discuss  
Foucault, but not at the same time; too much information.

(Annabel Chong)



--
Andrea Valle
--
CIRMA - DAMS
Università degli Studi di Torino
--> http://www.cirma.unito.it/andrea/
--> [EMAIL PROTECTED]
--


I did this interview where I just mentioned that I read Foucault. Who  
doesn't in university, right? I was in this strip club giving this  
guy a lap dance and all he wanted to do was to discuss Foucault with  
me. Well, I can stand naked and do my little dance, or I can discuss  
Foucault, but not at the same time; too much information.

(Annabel Chong)




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

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


Re: [NTG-context] figures using xetex

2007-09-10 Thread Andrea Valle

Many thanks Jelle,

I'm solving also following some previous emails in the list.
I have to say that I'm not really fond of changing commands for  
figure control depending on the engine



Best

-a-


On 10 Sep 2007, at 11:32, Jelle Huisman wrote:


Hi Andrea,

I saw that many tmp .rli files are generated. Apart form the
increasing compiling time, the first problem is that I had to run
several times texexec --xtx in order to generate them all. Is it  
normal?
This (many .rli files) is normal if you use \externalfigure in an  
older

version of ConTeXt, but ...

Most important it behaves strangely with layers using pdfs figures.
Color is not applied, or typically they are not shown.

... if you use the special command \XeTeXpicfile or (in this case)
\XeTeXpdffile everything should be OK. I'm not sure how this interacts
with layers (not tested).

HTH,

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


maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ 
ntg-context

webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
__ 
_


--
Andrea Valle
--
CIRMA - DAMS
Università degli Studi di Torino
--> http://www.cirma.unito.it/andrea/
--> [EMAIL PROTECTED]
--


I did this interview where I just mentioned that I read Foucault. Who  
doesn't in university, right? I was in this strip club giving this  
guy a lap dance and all he wanted to do was to discuss Foucault with  
me. Well, I can stand naked and do my little dance, or I can discuss  
Foucault, but not at the same time; too much information.

(Annabel Chong)




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

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


Re: [NTG-context] backward compatibility broken !

2007-09-10 Thread Wolfgang Schuster
2007/9/10, Steffen Wolfrum <[EMAIL PROTECTED]>:
> Hi Taco,
>
> Am 10.09.2007 um 11:26 schrieb Taco Hoekwater:
>
> > Steffen Wolfrum wrote:
> >> Hi,
> >>
> >> I need to re-typeset an *old* book (from January 2004).
> >>
> >> Unfortunately it doesn't work anymore with ConTeXt  ver: 2007.08.09
> >> 13:04 MKII:
> >
> > Fetch
> >
> >http://foundry.supelec.fr/frs/download.php/87/cont-tmf-20041217.zip
> >
> > This is exactly what the museum is for.
>
>
> First:
> Great – the old books are saved!
> (Jesus Christ ... )
>
>
> Second:
> The "| was extremely important for contexting german texts (because
> of our huge amount of false ligatures).
> Why is it not supported anymore (or at least replaced)??
>
> Steffen

Hi Steffen,

this did also work in a current ConTeXt but " is no longer a active
character and you have to enable this feature by yourself.

\useencoding[fde]
\mainlanguage[de]
\starttext
erste beruf"|liche Laufbahn
\stoptext

You should write now in your documents "erste beruf|*|liche Laufbahn".

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

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


Re: [NTG-context] figures using xetex

2007-09-10 Thread Jelle Huisman
Hi Andrea,
> I saw that many tmp .rli files are generated. Apart form the 
> increasing compiling time, the first problem is that I had to run 
> several times texexec --xtx in order to generate them all. Is it normal?
This (many .rli files) is normal if you use \externalfigure in an older 
version of ConTeXt, but ...
> Most important it behaves strangely with layers using pdfs figures.  
> Color is not applied, or typically they are not shown.
... if you use the special command \XeTeXpicfile or (in this case) 
\XeTeXpdffile everything should be OK. I'm not sure how this interacts 
with layers (not tested).

HTH,

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

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


[NTG-context] how to start all chapters on a left page

2007-09-10 Thread Liesbeth van der Plas
Dear all,



Does anyone know how to start a chapter on a left page in a doublesided
paper?


Every chapter consists of two pages which I always want to start at the left
side.
Whatever I try, \chapter always starts with a right page.


Liesbeth van der Plas
-- 
[EMAIL PROTECTED]
www.wiskunde-interactief.nl
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

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


Re: [NTG-context] Page numbers at empty pages

2007-09-10 Thread Steffen Wolfrum

Am 07.09.2007 um 10:57 schrieb Gerhard Kugler:

> On Thu, Sep 06, 2007 at 08:05:12PM +0200, Steffen Wolfrum wrote:
>
>> % zusätzlich innerhalb des bodymatter leere linke Seiten mit \page
>> [yes,empty] manuell setzen
>
> Thank you Steffen,
>
> your lines help. Only inserting "\page[yes,empty]" is a "dirty"
> solution because I must omit it if there is no empty (left) page.

Yes, it is "dirty" as it is only needed for emergency cases.


But apart from Wolfgang's very elegant solution you can do it also a  
more ConTeXt-like way:

As you may have seen I use ConTeXt's project-structure ...

\setupsectionblock[frontpart][page=no]
\setupsectionblock[bodypart][page=no]
\setupsectionblock[backpart][page=no]

... and the lowest part of this structure is the component – which in  
my case is the chapter.

See for example:


\startproduct KP_ED1
%
\project KP_book
\useexternalfigure[AbbildungsTeil][Abbildungen.pdf]
\useexternalfigure[WerksTeil][Werkverzeichnisteil.pdf]
%
\startfrontmatter
\component Kapitel/Titelei
\setuppagenumber[number=5]
\completecontent
\component Kapitel/Vorwort
\component Kapitel/Einleitung
\stopfrontmatter
%
\startbodymatter
\component Kapitel/Kap_1
\component Kapitel/Kap_2
\component Kapitel/Kap_3
\component Kapitel/Kap_4
\component Kapitel/Kap_5
\component Kapitel/Kap_6
\component Kapitel/Kap_7
\stopbodymatter
%
\startbackmatter
%\component Kapitel/Zusammenfassung
%\component Kapitel/Werkverzeichnis
%\component Kapitel/Werkverzeichnisteil
%\component Kapitel/Abbverz
%\component Kapitel/Abbildungsteil
%\component Kapitel/Literatur
%\component Kapitel/Literaturabk
%\component Kapitel/Anhang
\stopbackmatter
%
\stopproduct


This gives flexibility for larger projects as you can comment/ 
uncomment certain chapters
(and thus you can save a lot of time when manually fine-tuning your  
book!)


And using
\definepagebreak[chapter][yes,header,right]
with this projects-stucture always gives you a chapter starting on a  
right page
*and* guarantees the respective empty left page to be completely empty.


Steffen







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

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


Re: [NTG-context] how to start all chapters on a left page

2007-09-10 Thread Liesbeth van der Plas
Thanks and sorry for asking this easy question.

2007/9/10, Wolfgang Schuster <[EMAIL PROTECTED]>:
>
> 2007/9/10, Liesbeth van der Plas <[EMAIL PROTECTED]>:
> >
> >
> > Dear all,
> >
> >
> >
> > Does anyone know how to start a chapter on a left page in a doublesided
> > paper?
> >
> >
> > Every chapter consists of two pages which I always want to start at the
> left
> > side.
> > Whatever I try, \chapter always starts with a right page.
> >
> >
> > Liesbeth van der Plas
> > --
> > [EMAIL PROTECTED]
> > www.wiskunde-interactief.nl
>
> \setuphead
> [chapter]
> [page=left]
>
> Wolfgang
>
> ___
> If your question is of interest to others as well, please add an entry to
> the Wiki!
>
> maillist : ntg-context@ntg.nl /
> http://www.ntg.nl/mailman/listinfo/ntg-context
> webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
> archive  : https://foundry.supelec.fr/projects/contextrev/
> wiki : http://contextgarden.net
>
> ___
>



-- 
[EMAIL PROTECTED]
www.wiskunde-interactief.nl
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

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


Re: [NTG-context] backward compatibility broken !

2007-09-10 Thread Steffen Wolfrum
Hi Taco,

Am 10.09.2007 um 11:26 schrieb Taco Hoekwater:

> Steffen Wolfrum wrote:
>> Hi,
>>
>> I need to re-typeset an *old* book (from January 2004).
>>
>> Unfortunately it doesn't work anymore with ConTeXt  ver: 2007.08.09
>> 13:04 MKII:
>
> Fetch
>
>http://foundry.supelec.fr/frs/download.php/87/cont-tmf-20041217.zip
>
> This is exactly what the museum is for.


First:
Great – the old books are saved!
(Jesus Christ ... )


Second:
The "| was extremely important for contexting german texts (because  
of our huge amount of false ligatures).
Why is it not supported anymore (or at least replaced)??

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

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


Re: [NTG-context] backward compatibility broken !

2007-09-10 Thread Taco Hoekwater


Steffen Wolfrum wrote:
> Hi,
> 
> I need to re-typeset an *old* book (from January 2004).
> 
> Unfortunately it doesn't work anymore with ConTeXt  ver: 2007.08.09  
> 13:04 MKII:

Fetch

   http://foundry.supelec.fr/frs/download.php/87/cont-tmf-20041217.zip

This is exactly what the museum is for.

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

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


[NTG-context] backward compatibility broken !

2007-09-10 Thread Steffen Wolfrum
Hi,

I need to re-typeset an *old* book (from January 2004).

Unfortunately it doesn't work anymore with ConTeXt  ver: 2007.08.09  
13:04 MKII:

Runaway argument?
liche Laufbahn
! Paragraph ended before \next was complete.

\par
l.12

?


The phrase causing the trouble is:

erste beruf"|liche Laufbahn


Is "| not working anymore?

Hopefully there is a successor that works the same way – and please  
(!) doesn't change the line-/page-breaks???


Steffen




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

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


Re: [NTG-context] verb-c.tex

2007-09-10 Thread Wolfgang Schuster
2007/9/6, Wolfgang Werners-Lucchini <[EMAIL PROTECTED]>:
> Hmm!
>
> I can not find the problem.
> Here is a short example, showing the error.
> Hope that someone can give me a hint!
>
> \usemodule[verb-c]
> \starttext
> \startC
> "*\0"
> \stopC
> \stoptext

use \definetyping and not \usemodule, the following works.

\definetyping[C][option=C]
\starttext
\startC
"*\0"
\stopC
\stoptext

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

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


Re: [NTG-context] how to start all chapters on a left page

2007-09-10 Thread Wolfgang Schuster
2007/9/10, Liesbeth van der Plas <[EMAIL PROTECTED]>:
>
>
> Dear all,
>
>
>
> Does anyone know how to start a chapter on a left page in a doublesided
> paper?
>
>
> Every chapter consists of two pages which I always want to start at the left
> side.
> Whatever I try, \chapter always starts with a right page.
>
>
> Liesbeth van der Plas
> --
> [EMAIL PROTECTED]
> www.wiskunde-interactief.nl

\setuphead
  [chapter]
  [page=left]

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

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