Re: [NTG-context] Font features not always working

2008-04-29 Thread Wolfgang Schuster
On Tue, Apr 29, 2008 at 3:25 PM, Taco Hoekwater <[EMAIL PROTECTED]> wrote:
>
>
> Wolfgang Schuster wrote:
> > Hi,
> >
> > the features from OpenType fonts are not accesable for all fonts, I tried 
> > to use
> > my old test case for Microsofts Cambria fonts and none of the features did 
> > work,
> > also kerning is disabled.
> >
> > I put the files with the result from last year and the latest stable online.
> > http://schuster.wolfgang.googlepages.com/files
>
> IIRC, \Var depends on a very particular way of writing typescripts,
> and is currently considered deprecated by Hans, and that there is a
> new way to do things like this using \setfontfeature or something
> similar. Hans will know for sure (but he at bachotex right now)

I wrote a simpler example and compiled it with my old and my current ConTeXt.

http://schuster.wolfgang.googlepages.com/files -> Fontfeature

Greetings
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] letter

2008-04-29 Thread Wolfgang Schuster
On Wed, Apr 30, 2008 at 8:15 AM, Wolfgang Werners-Lucchini
<[EMAIL PROTECTED]> wrote:
> > To: "mailing list for ConTeXt users" 
> > Message-ID:
> >   <[EMAIL PROTECTED]>
> > Content-Type: text/plain; charset=ISO-8859-1
> >
> > Hi Wolfgang,
> >
> > > it seems to me that referenzline, subject, foldmarks, etc, are about
> > > 4mm or 5mm to big (A4 paper). The foldmark for example should be
> > > 105mm from papertop. It is 110mm from top.
> > > The horizontal offset (3.5mm) of foldmarks ist to small. A
> > > laserprinter often is not able to print 5mm or more from paperedge.
> > > So the foldmarks are invisibel.
> >
> > I never measured the real values and it should be simple whitespace
> > problem somewhere in the code.
>
> Have you found that whitespace?
>
> Aren't the foldmarks positioned in absolute values relative to the
> page? There is no whitespace involved, isn't it?
> So I don't understand this 5mm offset at all. Are your vertical
> foldmark positions ok?

I found the whitespace and it is was not 4 or 5mm but \lineheight, the problem
was I place the content for the layers in a frame and the strut moved
the symbols
a little bit down by \strutht, I fixed it for the marks and this was
also the problem
for the address field.

I put a new version online and you could test it, the horizontal
position and the
length for the marks are unchanged but you could try different values and report
which of them did work for you.

> > The address field was wrong placed and I corrected it, the place for the
> > referenece line should work but I change the position dependen on
> > the alternative for the layout and the value in the default letterstyle
> > is ignored at the moment.
> >
> > Don't what do you mean about the subject, the position is controlled
> > with the normal page layout.
>
> But the bodyspace depends on the space occupied by the header
> (addresfield, referenceline etc.). Wrong?

The distance between the top of the subject line and the topmargin of the
page depends indeed on the height from the reference line and the address
field, the DIN specification is very unclear in this point and what i wanted is
to have always the same distance between the reference line and the subject.

(Could you write me a privat mail, would be a easier to discuss it in german.)

> > I could change the values for the foldmarks, I corrected the position
> > already and it got them at least on my own printer. You could try
> > to play with \setupletterstyle[topmark,botmark,cutmark][hoffset=...]
> > and give me a value that did work for your printer.
>
> 6mm should be enough for laserprinters.

Could you try this before I will change the value.

Gruß
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] columns and \definemakeup

2008-04-29 Thread Wolfgang Schuster
On Tue, Apr 29, 2008 at 7:22 PM, Suno Ano <[EMAIL PROTECTED]> wrote:
>  >| On Tue, 29 Apr 2008 13:40:59 +0200,
>  >| Wolfgang Schuster
>  >| who can be reached at: [EMAIL PROTECTED]
>  >| (whose comments are cited below with " Wolfgang> "),
>  >| had this to say in article <[EMAIL PROTECTED]>
>  >| in newsgroups gmane.comp.tex.context
>  >| concerning the subject of Re: columns and \definemakeup
>  >| (see <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> for more details)
>
>  Wolfgang> Alternative solution:
>
>  Wolfgang> \Definelayout
>  Wolfgang>   [titlepage]
>  Wolfgang>   [header=0pt,
>  Wolfgang>footer=0pt,
>  Wolfgang>backspace=4cm,
>  Wolfgang>width=12cm]
>
> [skipping a lot of lines ...]
>
>
> Thank you Wolfgang, it works! However, I tried but did not figure out
> how to also change the fontsize from within the \definelayout block. Is
> it possible?

No possible, \definelayout is resposible for margings, textheight and width ...
not for the fontsize

> I want to change the fontsize to 11pt. I know I could use
> \switchtobodyfont but I would rather save myself some typing in the
> future and put it in the \definelayout block -- or something else that
> does not require me typing it over and over again if \definelayout is
> the wrong way to go here altogether (/me is still a novice to ConTeXt).

Not within \definelayout but see below.

> Same as for the fontsize -- can I "demand" two columns from within the
> \definelayout block instead of always putting \startcolumns[n=2]
> respectively \stopcolumns in the actual source?

\definestartstop
 [titlepage]
 [before={\setuplayout[titlepage]\bgroup\switchtobodyfont[11pt]\startcolumns},
  after={\stopcolumns\egroup\page[right]\setuplayout[reset]}]


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] letter

2008-04-29 Thread Wolfgang Werners-Lucchini
> To: "mailing list for ConTeXt users" 
> Message-ID:
>   <[EMAIL PROTECTED]>
> Content-Type: text/plain; charset=ISO-8859-1
> 
> Hi Wolfgang,
> 
> > it seems to me that referenzline, subject, foldmarks, etc, are
> about
> > 4mm or 5mm to big (A4 paper). The foldmark for example should be
> > 105mm from papertop. It is 110mm from top.
> > The horizontal offset (3.5mm) of foldmarks ist to small. A
> > laserprinter often is not able to print 5mm or more from
> paperedge.
> > So the foldmarks are invisibel.
> 
> I never measured the real values and it should be simple
> whitespace
> problem somewhere in the code.

Have you found that whitespace?

Aren't the foldmarks positioned in absolute values relative to the 
page? There is no whitespace involved, isn't it?
So I don't understand this 5mm offset at all. Are your vertical 
foldmark positions ok?

> The address field was wrong placed and I corrected it, the place for
> the
> referenece line should work but I change the position dependen on
> the
> alternative for the layout and the value in the default letterstyle
> is ignored
> at the moment.
> 
> Don't what do you mean about the subject, the position is controlled
> with
> the normal page layout.

But the bodyspace depends on the space occupied by the header 
(addresfield, referenceline etc.). Wrong?

 
> I could change the values for the foldmarks, I corrected the
> position
> already and it got them at least on my own printer. You could try
> to
> play with \setupletterstyle[topmark,botmark,cutmark][hoffset=...]
> and
> give me a value that did work for your printer.

6mm should be enough for laserprinters.

Grusz, 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] do is impossible to install mark iv in gnu/linux/amd64?

2008-04-29 Thread raven aloof
Hi...

Many thanks for the help, I thought I could never use luatex. Again, thank
you very much :)...
___
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] columns and \definemakeup

2008-04-29 Thread Suno Ano
 >| On Tue, 29 Apr 2008 13:40:59 +0200,
 >| Wolfgang Schuster
 >| who can be reached at: [EMAIL PROTECTED]
 >| (whose comments are cited below with " Wolfgang> "),
 >| had this to say in article <[EMAIL PROTECTED]>
 >| in newsgroups gmane.comp.tex.context
 >| concerning the subject of Re: columns and \definemakeup
 >| (see <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> for more details)

 Wolfgang> Alternative solution:

 Wolfgang> \Definelayout
 Wolfgang>   [titlepage]
 Wolfgang>   [header=0pt,
 Wolfgang>footer=0pt,
 Wolfgang>backspace=4cm,
 Wolfgang>width=12cm]

[skipping a lot of lines ...] 


Thank you Wolfgang, it works! However, I tried but did not figure out
how to also change the fontsize from within the \definelayout block. Is
it possible?

I want to change the fontsize to 11pt. I know I could use
\switchtobodyfont but I would rather save myself some typing in the
future and put it in the \definelayout block -- or something else that
does not require me typing it over and over again if \definelayout is
the wrong way to go here altogether (/me is still a novice to ConTeXt).

Same as for the fontsize -- can I "demand" two columns from within the
\definelayout block instead of always putting \startcolumns[n=2]
respectively \stopcolumns in the actual source?

___
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] French typesetting?

2008-04-29 Thread Olivier Guéry
>  There's a solution but not perfect since you mustn't put space before
>  those spaces.
>

I mean before those symbols (and the space are not so good).

Olivier.
-- 
[Message tapé sur un clavier Bépo : http://www.clavier-dvorak.org ]
Olivier [EMAIL PROTECTED] http://nemolivier.blogspot.com
___
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] French typesetting?

2008-04-29 Thread Olivier Guéry
On Tue, Apr 29, 2008 at 6:40 PM, Oliv <[EMAIL PROTECTED]> wrote:
> Hi,
>
>  I'm new with ConTeXt. However, during my University years, I frequently
>  used LaTeX.
>
>  As I'm mostly writing in French, I'd like to know how to configure
>  ConTeXt for the French typesetting.
>
>  I've already tried the \mainlanguage [fr] switch but this doesn't seem
>  to be enough. For example, it does not insert automatically a small
>  space before the !?: punctuation symbols.
>
>  So I'm looking for something more complete, like the Babel French or
>  French LE packages worked with LaTeX.

Salut,

You can look at this thread :
http://archive.contextgarden.net/message/20080404.085856.ac87c2ec.en.html

There's a solution but not perfect since you mustn't put space before
those spaces.

I hope Arthur Reutenauer had met Hans in order to find a solution.

Olivier.
-- 
[Message tapé sur un clavier Bépo : http://www.clavier-dvorak.org ]
Olivier [EMAIL PROTECTED] http://nemolivier.blogspot.com
___
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] French typesetting?

2008-04-29 Thread Mikael Persson
Hi,

maybe this is what you look for?

http://modules.contextgarden.net/t-french

Best regards, Micke P

On Tue, Apr 29, 2008 at 6:40 PM, Oliv <[EMAIL PROTECTED]> wrote:
> Hi,
>
>  I'm new with ConTeXt. However, during my University years, I frequently
>  used LaTeX.
>
>  As I'm mostly writing in French, I'd like to know how to configure
>  ConTeXt for the French typesetting.
>
>  I've already tried the \mainlanguage [fr] switch but this doesn't seem
>  to be enough. For example, it does not insert automatically a small
>  space before the !?: punctuation symbols.
>
>  So I'm looking for something more complete, like the Babel French or
>  French LE packages worked with LaTeX.
>
>  Thanks in advance for your help!
>
>  Oliv
>  
> ___
>  If your question is of interest to others as well, please add an entry to 
> the Wiki!
>
>  maillist : ntg-context@ntg.nl / 
> http://www.ntg.nl/mailman/listinfo/ntg-context
>  webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
>  archive  : https://foundry.supelec.fr/projects/contextrev/
>  wiki : http://contextgarden.net
>  
> ___
>
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

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


[NTG-context] French typesetting?

2008-04-29 Thread Oliv
Hi,

I'm new with ConTeXt. However, during my University years, I frequently
used LaTeX.

As I'm mostly writing in French, I'd like to know how to configure
ConTeXt for the French typesetting.

I've already tried the \mainlanguage [fr] switch but this doesn't seem
to be enough. For example, it does not insert automatically a small
space before the !?: punctuation symbols.

So I'm looking for something more complete, like the Babel French or
French LE packages worked with LaTeX.

Thanks in advance for your help!

Oliv
___
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] Itemize numbering

2008-04-29 Thread Aditya Mahajan
On Tue, 29 Apr 2008, [EMAIL PROTECTED] wrote:

> Hello All,
>
> I just tried the following on Context Live:
>
> \starttext
> \startitemize[n]
>  \item one
>  \item two
>\startitemize
>  \item a
>  \item b
>\stopitemize
>  \item three
> \stopitemize
> \stoptext
>
> and the first itemize starts at 0.  Remove the inner itemize and it starts
> at 1.
>
> Is this a feature or a bug?  How do I get around it?

I can confirm that here. This is indeed a bug.

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

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


Re: [NTG-context] do is impossible to install mark iv in gnu/linux/amd64?

2008-04-29 Thread Diego Depaoli
2008/4/29 raven aloof <[EMAIL PROTECTED]>:
> Hi...
>
> The installation of 'minimals'
> (http://wiki.contextgarden.net/ConTeXt_Minimals) generates the following
> error.:
>
> -- log file --
>  /usr/bin/rsync
> /usr/bin/ruby
> receiving file list ... done
> bin/
> bin/mtx-update-old.lua
> bin/mtx-update.lua
> bin/mtxrun
> bin/texlua
>
> sent 187 bytes  received 4764416 bytes  635280.40 bytes/sec
> total size is 4763505  speedup is 1.00
>
> MtxRun | version 1.0.2 - 2007+ - PRAGMA ADE / CONTEXT
>
> MtxRun | skipping configuration for /texmf-local/web2c from
> /tmp/luatex-cache/context/08b938442c7b7e1f996277c98fdaf1cc/trees/1ea0d653b7d442eb525f5b14e44e43d4
>  MtxRun | skipping configuration for /texmf/web2c from
> /tmp/luatex-cache/context/08b938442c7b7e1f996277c98fdaf1cc/trees/81dad2a0cb293b981fa86dd0b7cae550
> MtxRun | using script: ./bin/mtx-update.luareport >> state: loaded
>  report >> update: start
> Error in lua file loading: ./bin/mtx-update.lua:181: bad argument #1 to
> 'pairs' (table expected, got nil)
> -- end log file 

Try this
a) open in vi/vim first-setup-sh
b) apply these changes
:62s/$platform/linux-64
:66s/force/force\ --platform=linux-64
c) save
d) rerun first-setup.sh

-- 
Diego Depaoli
___
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] do is impossible to install mark iv in gnu/linux/amd64?

2008-04-29 Thread raven aloof
Hi...

The installation of 'minimals' (
http://wiki.contextgarden.net/ConTeXt_Minimals) generates the following
error.:

-- log file --
/usr/bin/rsync
/usr/bin/ruby
receiving file list ... done
bin/
bin/mtx-update-old.lua
bin/mtx-update.lua
bin/mtxrun
bin/texlua

sent 187 bytes  received 4764416 bytes  635280.40 bytes/sec
total size is 4763505  speedup is 1.00

MtxRun | version 1.0.2 - 2007+ - PRAGMA ADE / CONTEXT

MtxRun | skipping configuration for /texmf-local/web2c from
/tmp/luatex-cache/context/08b938442c7b7e1f996277c98fdaf1cc/trees/1ea0d653b7d442eb525f5b14e44e43d4
MtxRun | skipping configuration for /texmf/web2c from
/tmp/luatex-cache/context/08b938442c7b7e1f996277c98fdaf1cc/trees/81dad2a0cb293b981fa86dd0b7cae550
MtxRun | using script: ./bin/mtx-update.luareport >> state: loaded
report >> update: start
Error in lua file loading: ./bin/mtx-update.lua:181: bad argument #1 to
'pairs' (table expected, got nil)
-- end log file 

And, again, it is not installable on gnu/linux/x86_64...

In other hand, the method used from http://pmrb.free.fr/texlive/ seem very
good, but I cannot use it because I use a flavor such as debian (ubuntu) and
I do not know how to translate the instructions from rpm (texlive.spec
script) to deb...

Someday I will be able to install luatex and could use its enormous capacity
for fonts :). Meanwhile, I will continue using xe(la)tex :(...

Thanks for the help and greetings from Auria, Galicia, Spain
___
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] Itemize numbering

2008-04-29 Thread richard . stephens
Hello All,

I just tried the following on Context Live:

\starttext
\startitemize[n]
  \item one
  \item two
\startitemize
  \item a
  \item b
\stopitemize
  \item three
\stopitemize
\stoptext

and the first itemize starts at 0.  Remove the inner itemize and it starts 
at 1. 

Is this a feature or a bug?  How do I get around it?

Thanks,

Richard
___
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] Missing character in texgyreheros

2008-04-29 Thread Taco Hoekwater


luigi scarso wrote:
> 2008/4/28 luigi scarso <[EMAIL PROTECTED]>:
>> Sorry for the noise,
>>  but i'm in the middle between an old
>>  context mkii (2005) and mkiv stylesheet for a greek utf-encoded  file
>>  and i'm a bit confused.
>>
>>  While using Heros font, I have:
>>  Missing character: There is no ώ (974) in font
>>  
>> /home/usr7/tex/texmf/fonts/opentype/public/tex-gyre/texgyreheros-regular.otf!
>>
>>  But in enco-def.tex there is
>>  \definecharacter greekomegatonos{'w}
>>
>>  so I believe that it's possible to replace missing glyph with {'w}
>>  Maybe some switch ?
>>
>>  I'm using
>>  \usetypescript[postscript]
>>  \setupbodyfont[postscript,10pt,ss]
>>
> 
> This works,
> but nothing else.

This should also work (but untested)

   \catcode`\ώ=\active \def ώ{\buildtextaccent\textacute\greekomega}

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

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


Re: [NTG-context] Font features not always working

2008-04-29 Thread Wolfgang Schuster
On Tue, Apr 29, 2008 at 3:25 PM, Taco Hoekwater <[EMAIL PROTECTED]> wrote:
>
>
> Wolfgang Schuster wrote:
> > Hi,
> >
> > the features from OpenType fonts are not accesable for all fonts, I tried 
> > to use
> > my old test case for Microsofts Cambria fonts and none of the features did 
> > work,
> > also kerning is disabled.
> >
> > I put the files with the result from last year and the latest stable online.
> > http://schuster.wolfgang.googlepages.com/files
>
> IIRC, \Var depends on a very particular way of writing typescripts,
> and is currently considered deprecated by Hans, and that there is a
> new way to do things like this using \setfontfeature or something
> similar. Hans will know for sure (but he at bachotex right now)

This did also happen with [feature=...] in typescripts or with \setfontfeature
in a document. A few fonts like Pagella or Linux Libertine work as expected
but Cambria is a example where none of both methods work.

\Var is really obsolete because \setfontfeature is more powerfull, I wrote
my file before \setfontfeature was available and it should nevetheless still
work but I don't need it.

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] Font features not always working

2008-04-29 Thread Taco Hoekwater


Wolfgang Schuster wrote:
> Hi,
> 
> the features from OpenType fonts are not accesable for all fonts, I tried to 
> use
> my old test case for Microsofts Cambria fonts and none of the features did 
> work,
> also kerning is disabled.
> 
> I put the files with the result from last year and the latest stable online.
> http://schuster.wolfgang.googlepages.com/files

IIRC, \Var depends on a very particular way of writing typescripts,
and is currently considered deprecated by Hans, and that there is a
new way to do things like this using \setfontfeature or something
similar. Hans will know for sure (but he at bachotex right now)

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

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


Re: [NTG-context] Missing character in texgyreheros

2008-04-29 Thread luigi scarso
2008/4/28 luigi scarso <[EMAIL PROTECTED]>:
> Sorry for the noise,
>  but i'm in the middle between an old
>  context mkii (2005) and mkiv stylesheet for a greek utf-encoded  file
>  and i'm a bit confused.
>
>  While using Heros font, I have:
>  Missing character: There is no ώ (974) in font
>  /home/usr7/tex/texmf/fonts/opentype/public/tex-gyre/texgyreheros-regular.otf!
>
>  But in enco-def.tex there is
>  \definecharacter greekomegatonos{'w}
>
>  so I believe that it's possible to replace missing glyph with {'w}
>  Maybe some switch ?
>
>  I'm using
>  \usetypescript[postscript]
>  \setupbodyfont[postscript,10pt,ss]
>

This works,
but nothing else.

\usetypescript[postscript]
\setupbodyfont[postscript,10pt,ss]

\startluacode
function add_ties (line)
 line = line:gsub('ά','\\buildtextaccent\\textacute\\greekalpha')
 line = line:gsub('έ','\\buildtextaccent\\textacute\\greekepsilon')
 line = line:gsub('ή','\\buildtextaccent\\textacute\\greeketa')
 line = line:gsub('ί','\\buildtextaccent\\textacute\\greekiota')
 line = line:gsub('ό','\\buildtextaccent\\textacute\\greekomicron')
 line = line:gsub('ύ','\\buildtextaccent\\textacute\\greekupsilon')
 line = line:gsub('ώ','\\buildtextaccent\\textacute\\greekomega')
 line = line:gsub('Ό',"'\\greekOmicron")
 line = line:gsub("Ά","'\\greekAlpha")
 line = line:gsub("Έ","'\\greekEpsilon")
 line = line:gsub("Ή","'\\greekEta")
 line = line:gsub("Ί","'\\greekIota")
 line = line:gsub("ϊ","\\buildtextaccent\\textdiaeresis\\greekiota")
 line = line:gsub("Ύ","'\\greekUpsilon")
 line = line:gsub("Ώ","'\\greekOmega")
 return line
end
\stopluacode

\setupcolors[state=start]
\def\startfiltered{\ctxlua {callback.register('process_input_buffer',
add_ties)}}
\def\stopfiltered{\ctxlua {callback.register('process_input_buffer', nil)}}


\language[gr]

\starttext
\startfiltered
%%  see
%%  http://www.lorem-ipsum.info/generator3
\input Greek-Lipsum.txt
\stopfiltered
\stoptext


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

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


[NTG-context] Font features not always working

2008-04-29 Thread Wolfgang Schuster
Hi,

the features from OpenType fonts are not accesable for all fonts, I tried to use
my old test case for Microsofts Cambria fonts and none of the features did work,
also kerning is disabled.

I put the files with the result from last year and the latest stable online.
http://schuster.wolfgang.googlepages.com/files

I saw this effect also in a few other fonts where I was unable to
select features
in the font like oldstyle or smallcaps.

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] Table of contents customization

2008-04-29 Thread Noé Cuneo
>

Hi Wolfgang! It works impeccably! Thanks a lot for your help!

> \setuplist
>  [chapter,section,...]
>  [numbercommand=\DotAfterNumber]
>
> \def\DotAfterNumber#1{\doiftext{#1}{#1.}}



___
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] columns and \definemakeup

2008-04-29 Thread Wolfgang Schuster
On Tue, Apr 29, 2008 at 1:32 PM, Wolfgang Schuster
<[EMAIL PROTECTED]> wrote:
>
> On Tue, Apr 29, 2008 at 12:54 PM, Suno Ano <[EMAIL PROTECTED]> wrote:
> > Hi Folks!
> >
> > I am in the curse of setting up the environment plus a project structure
> > for a book. My problem is with a few pages like for example colofon
> > where I used
> >
> > ,[ content from comp_colophon.tex ]
> > | \startcomponent comp_colophon
> > | \product prod_back_matter
> > | \project proj_a_book
> > |
> > | \startstandardmakeup[doublesided=no, page=right]
> > |
> > | \startalignment[flushleft]
> > |   \ssd Colophon\par
> > |   \blank[1mm]
> > |   \ssa \title\par
> > | \stopalignment
> > |
> > | \hairline
> > |
> > | \stopstandardmakeup
> > |
> > | % ---
> > |
> > | \startstandardmakeup[doublesided=no, page=left]
> > | \stopstandardmakeup
> > |
> > |
> > | \stopcomponent
> > `
> >
> > Now I want the text to be in columns -- two that is ... However, I tried
> > with
> >
> > ,
> > | \startcolumns[n=2]
> > |  
> > | \stopcolumns
> > `
> >
> > and
> >
> > ,
> > | \definecolumnset[example][n=2]
> > |
> > | \starttext
> > | \startcolumnset[example]
> > | \dorecurse{15}{\fakewords{100}{200}\par}
> > | \stopcolumnset
> > | \stoptext
> > `
> >
> > but I just get one column in both cases. Can anyone tell me how I would
> > for example use \definemakeup in order to get exactly what
> > \startstandardmakeup and \stopstandardmakeup provides me with PLUS the
> > text gets typeset into two columns? Maybe if it is not possible with
> > \definemakeup what else could I do? Tia!
>
> Try this:
>
> \starttext
> \startstandardmakeup
> \startsimplecolumns
> \dorecurse{3}{\input knuth\par}
> \stopsimplecolumns
> \stopstandardmakeup
> \stoptext

Alternative solution:

\definelayout
  [titlepage]
  [header=0pt,
   footer=0pt,
   backspace=4cm,
   width=12cm]

\definestartstop
  [titlepage]
  [before={\setuplayout[titlepage]},
   after={\page[right]\setuplayout[reset]}]

\starttext

\starttitlepage

\startcolumns
\dorecurse{3}{\input knuth\par}
\stopcolumns

\stoptitlepage

\input knuth

\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] columns and \definemakeup

2008-04-29 Thread Wolfgang Schuster
On Tue, Apr 29, 2008 at 12:54 PM, Suno Ano <[EMAIL PROTECTED]> wrote:
> Hi Folks!
>
> I am in the curse of setting up the environment plus a project structure
> for a book. My problem is with a few pages like for example colofon
> where I used
>
> ,[ content from comp_colophon.tex ]
> | \startcomponent comp_colophon
> | \product prod_back_matter
> | \project proj_a_book
> |
> | \startstandardmakeup[doublesided=no, page=right]
> |
> | \startalignment[flushleft]
> |   \ssd Colophon\par
> |   \blank[1mm]
> |   \ssa \title\par
> | \stopalignment
> |
> | \hairline
> |
> | \stopstandardmakeup
> |
> | % ---
> |
> | \startstandardmakeup[doublesided=no, page=left]
> | \stopstandardmakeup
> |
> |
> | \stopcomponent
> `
>
> Now I want the text to be in columns -- two that is ... However, I tried
> with
>
> ,
> | \startcolumns[n=2]
> |  
> | \stopcolumns
> `
>
> and
>
> ,
> | \definecolumnset[example][n=2]
> |
> | \starttext
> | \startcolumnset[example]
> | \dorecurse{15}{\fakewords{100}{200}\par}
> | \stopcolumnset
> | \stoptext
> `
>
> but I just get one column in both cases. Can anyone tell me how I would
> for example use \definemakeup in order to get exactly what
> \startstandardmakeup and \stopstandardmakeup provides me with PLUS the
> text gets typeset into two columns? Maybe if it is not possible with
> \definemakeup what else could I do? Tia!

Try this:

\starttext
\startstandardmakeup
\startsimplecolumns
\dorecurse{3}{\input knuth\par}
\stopsimplecolumns
\stopstandardmakeup
\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] Table of contents customization

2008-04-29 Thread Wolfgang Schuster
> Thanks a lot for your answer!
>
> However, I have no idea why, but I still get:
>
> .  Preamble
> 1.   ChapterOne
> 1.1. Section

Seems ConTeXt is not testing if there is there is no number, you could
modify your first solution.

\setuplist
  [chapter,section,...]
  [numbercommand=\DotAfterNumber]

\def\DotAfterNumber#1{\doiftext{#1}{#1.}}

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] columns and \definemakeup

2008-04-29 Thread Suno Ano
Hi Folks!

I am in the curse of setting up the environment plus a project structure
for a book. My problem is with a few pages like for example colofon
where I used 

,[ content from comp_colophon.tex ]
| \startcomponent comp_colophon
| \product prod_back_matter
| \project proj_a_book
| 
| \startstandardmakeup[doublesided=no, page=right]
| 
| \startalignment[flushleft]
|   \ssd Colophon\par
|   \blank[1mm] 
|   \ssa \title\par
| \stopalignment
| 
| \hairline
| 
| \stopstandardmakeup
| 
| % --- 
| 
| \startstandardmakeup[doublesided=no, page=left]
| \stopstandardmakeup
| 
| 
| \stopcomponent
`

Now I want the text to be in columns -- two that is ... However, I tried
with

,
| \startcolumns[n=2]
|  
| \stopcolumns
`

and

,
| \definecolumnset[example][n=2]
| 
| \starttext
| \startcolumnset[example]
| \dorecurse{15}{\fakewords{100}{200}\par}
| \stopcolumnset
| \stoptext
`

but I just get one column in both cases. Can anyone tell me how I would
for example use \definemakeup in order to get exactly what
\startstandardmakeup and \stopstandardmakeup provides me with PLUS the
text gets typeset into two columns? Maybe if it is not possible with
\definemakeup what else could I do? Tia!


___
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] minimal example for Cyrillic

2008-04-29 Thread Gour
> "Wolfgang" == <[EMAIL PROTECTED]> writes:

Wolfgang> You could also write

Wolfgang> % engine=xetex

Wolfgang> or

Wolfgang> texexec --xtx myfile

Thanks. I know about that and checked that it works with both xetex and
luatex, although I'm mostly interested in luatex.

Wolfgang> As Hraban told you need a font with the symbols.

Right. Therefore it would be nice to have working example on wiki.


Sincerely,
Gour

-- 

Gour  | Zagreb, Croatia  | GPG key: C6E7162D



pgphyHPQ1GmiT.pgp
Description: PGP signature
___
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] Table of contents customization

2008-04-29 Thread Noé Cuneo
>
Hi Wolfgang!

Thanks a lot for your answer!

However, I have no idea why, but I still get:

.  Preamble
1.   ChapterOne
1.1. Section

With the stopper being displayed even when there is no number! And I  
am 100% sure this doesn't come from somewhere else, because if I set  
stoper={ppp}, I get

ppp  Preamble
1ppp   ChapterOne
1.1ppp Section

So clearly this stopper is called even when it should not...

Here is the exact code I used (according to your suggestion):

\setupcombinedlist[content][level=4,alternative=c]
\setuplist[chapter,section,subsection,subsubsection][stopper={ppp}]
\setuplist[section][width=7mm,style=bold]
\setuplist[subsection][width=10mm,margin=10mm]
\setuplist[subsubsection] 
[width=13mm,style=slanted,pagestyle=normal,margin=21mm]

Any idea?

Thank you very much!

> \setuplist
>  [chapter,section,subsection]
>  [stopper={.}]
>
> Greetings
> 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] minimal example for Cyrillic

2008-04-29 Thread Mikael Persson
On Tue, Apr 29, 2008 at 12:22 PM, Gour <[EMAIL PROTECTED]> wrote:
> > "Wolfgang" == <[EMAIL PROTECTED]> writes:
>
>  Wolfgang> You could also write
>
>  Wolfgang> % engine=xetex
>
>  Wolfgang> or
>
>  Wolfgang> texexec --xtx myfile
>
>  Thanks. I know about that and checked that it works with both xetex and
>  luatex, although I'm mostly interested in luatex.
>
>  Wolfgang> As Hraban told you need a font with the symbols.
>
>  Right. Therefore it would be nice to have working example on wiki.

Gour,

Indeed. I was the one creating that page. This was before XeTeX/LuaTeX
became popular. I then installed the cm-super fonts where cyrillic
letters are available and used them more or less as is explained
there.

Please update it with the current example. I think everybody agree
that the solution from this thread is the way to go.

Best regards, Micke P
___
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] minimal example for Cyrillic

2008-04-29 Thread Gour
> "Wolfgang" == <[EMAIL PROTECTED]> writes:

Wolfgang> You could also write

Wolfgang> % engine=xetex

Wolfgang> or

Wolfgang> texexec --xtx myfile

Thanks. I know about that and checked that it works with both xetex and
luatex, although I'm mostly interested in luatex.

Wolfgang> As Hraban told you need a font with the symbols.

Right. Therefore it would be nice to have working example on wiki.


Sincerely,
Gour

-- 

Gour  | Zagreb, Croatia  | GPG key: C6E7162D



pgprMGjgg4Axb.pgp
Description: PGP signature
___
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] Table of contents customization

2008-04-29 Thread Wolfgang Schuster
On Tue, Apr 29, 2008 at 11:23 AM, Noé Cuneo <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> I've been using ConTeXT for quite a while now, and I am trying to
> build my own customized environnment.
>
> I have some trouble customizing my content table. I tried everything I
> could, including reading the manual twice over, and I still can't
> figure out why none of my ideas will work!
>
> In fact, my configuration looks like this:
>
> \setupcombinedlist[content][level=4,alternative=c]
> \setuplist[chapter][width=7mm,style=bold]
> \setuplist[section][width=10mm,margin=10mm]
> \setuplist[subsection]
> [width=13mm,style=slanted,pagestyle=normal,margin=21mm]
>
> What I would like is the number to be separated from the page name by
> a ".", which would give something like:
>
> 1. Chapter name. 32
>
> I tried \setupcombinedlist[content][level=4,alternative=c,
> separator={.}], but it doesn't work. Although 'separator' is
> documented as the separator between the number and the pagename, it
> appears to be the separator between the number and subnumbers, like,
> with separator={ppp}:
>
> 1 MyChapter 
> 1ppp1 Mysection..
>
> Which is not quite what I expect!
>
> So i tried setting something like
>
> \def\mycommand#1{#1.}
> \setupcombinedlist[content][level=4,alternative=c,
> numbercommand={\mycommand}]
>
> Which works, except for the fact that when there is no number (like in
> my frontmatter), the "." is shown anyway... So I naturally tried:
>
> \def\mycommand#1{\doifnotempty{#1}{#1.}}
>
> Which doesn't work! I still get something like
>
> .  Preamble
> 1.   ChapterOne
> 1.1 Section
>
> So even if no number is given, the doifnotempty block still is executed!
>
> I tried a lot of combinations, like
>
> \def\mycommand#1{\doifdefined{#1}{#1.}} or
> \def\mycommand#1{\doifnot{#1}{}{#1.}}
>
> But none of these will compile...
>
> So at this point, I don't see any solution, which is why I really
> would appreciate any suggestion!
>
> Thank you very much!

\setuplist
  [chapter,section,subsection]
  [stopper={.}]

Greetings
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] Table of contents customization

2008-04-29 Thread Noé Cuneo
Hi all,

I've been using ConTeXT for quite a while now, and I am trying to  
build my own customized environnment.

I have some trouble customizing my content table. I tried everything I  
could, including reading the manual twice over, and I still can't  
figure out why none of my ideas will work!

In fact, my configuration looks like this:

\setupcombinedlist[content][level=4,alternative=c]
\setuplist[chapter][width=7mm,style=bold]
\setuplist[section][width=10mm,margin=10mm]
\setuplist[subsection] 
[width=13mm,style=slanted,pagestyle=normal,margin=21mm]

What I would like is the number to be separated from the page name by  
a ".", which would give something like:

1. Chapter name. 32

I tried \setupcombinedlist[content][level=4,alternative=c,  
separator={.}], but it doesn't work. Although 'separator' is  
documented as the separator between the number and the pagename, it  
appears to be the separator between the number and subnumbers, like,  
with separator={ppp}:

1 MyChapter 
1ppp1 Mysection..

Which is not quite what I expect!

So i tried setting something like

\def\mycommand#1{#1.}
\setupcombinedlist[content][level=4,alternative=c,  
numbercommand={\mycommand}]

Which works, except for the fact that when there is no number (like in  
my frontmatter), the "." is shown anyway... So I naturally tried:

\def\mycommand#1{\doifnotempty{#1}{#1.}}

Which doesn't work! I still get something like

.  Preamble
1.   ChapterOne
1.1 Section

So even if no number is given, the doifnotempty block still is executed!

I tried a lot of combinations, like

\def\mycommand#1{\doifdefined{#1}{#1.}} or
\def\mycommand#1{\doifnot{#1}{}{#1.}}

But none of these will compile...

So at this point, I don't see any solution, which is why I really  
would appreciate any suggestion!

Thank you very much!


___
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] minimal example for Cyrillic

2008-04-29 Thread Wolfgang Schuster
On Tue, Apr 29, 2008 at 10:12 AM, Gour <[EMAIL PROTECTED]> wrote:
> > "Wolfgang" ==  <[EMAIL PROTECTED]> writes:
>
> Wolfgang> % engine=luatex
>
> [...]
>
> Thanks a lot ;)

You could also write

% engine=xetex

or

texexec --xtx myfile

As Hraban told you need a font with the symbols.

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] minimal example for Cyrillic

2008-04-29 Thread Gour
> "Wolfgang" ==  <[EMAIL PROTECTED]> writes:

Wolfgang> % engine=luatex

[...]

Thanks a lot ;)


Sincerely,
Gour


-- 

Gour  | Zagreb, Croatia  | GPG key: C6E7162D



pgp1UVFRDuxJy.pgp
Description: PGP signature
___
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] minimal example for Cyrillic

2008-04-29 Thread Wolfgang Schuster
On Tue, Apr 29, 2008 at 8:23 AM, Gour <[EMAIL PROTECTED]> wrote:
> > "Henning" == Henning Hraban Ramm <[EMAIL PROTECTED]> writes:
>
> Henning> Since I just adapted a ConTeXt based business card generator to
> Henning> work with cyrillic type, I can assure that it's possible - with
> Henning> XeTeX or LuaTeX.
>
> That's my conviction as well...
> Henning> There you just need to encode your sources in UTF-8 and use
> Henning> OpenType fonts that contain cyrillic glyphs, like TeX Gyre.
>
> ...however an (working) example or two would help.
>
> The guy tried example (which I posted here) from Contextgarden and based
> on that concluded that ConTeXt does not support Cyrillic.

% engine=luatex

\usetypescript[palatino]
\setupbodyfont[palatino]

\starttext
Мама и Папа % Some Russian characters
\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] reference manual for cont-en.lua

2008-04-29 Thread Taco Hoekwater


Peter Münster wrote:
> Hello,
> 
> Is there a reference manual for the functions in cont-en.lua? Or just a
> function index?
> There are really a lot of nice functions, for example table.serialize(),
> for the every-day usage!

No reference. It will be easier to read the source of l-.lua and
luat-XXX.lua in tex/context/base, these are included in cont-en.lua,
luatools.lua, and mtxrun.lua.

The l-.lua modules are intended to be "pure" lua: you are able
to use these in texlua(c) scripts.  The luat-XXX.lua ones are more
specific to the internals of mkiv (finding files etc.)

Best wishes,
Taco


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

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


Re: [NTG-context] reference manual for cont-en.lua

2008-04-29 Thread luigi scarso
On Tue, Apr 29, 2008 at 8:25 AM, Peter Münster <[EMAIL PROTECTED]> wrote:
> Hello,
>
>  Is there a reference manual for the functions in cont-en.lua?
Are you talking about l-table.lua ?

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

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


[NTG-context] [OT] Interview with Donald Knuth

2008-04-29 Thread luigi scarso
http://www.informit.com/articles/article.aspx?p=1193856


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

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


Re: [NTG-context] who eats my spaces

2008-04-29 Thread Wolfgang Schuster
On Mon, Apr 28, 2008 at 9:36 PM, Henning Hraban Ramm <[EMAIL PROTECTED]> wrote:
> Am 2008-04-28 um 11:45 schrieb Wolfgang Schuster:
> >> I don't know who eats you spaces, but I assume you could do
> > The period after "B" in the author filed eats the space, I tried
> > the example
> > with "B Rüssel" and the space is in the output.
>
> Of course, every normal inter-word space is kept; that's why I wrote
> "that in titles the space after a dot ... gets eaten". (Ok, it's a
> full stop, maybe not a dot?)

Seems I forgot what you wrote after I tested your example.

> I consider this a very strange bug, can't avoid punctuation in titles.

Enclosing the period in braces {.} did work and is a temprorary solution
but the problem need to be solved.

> >>   \def\\{\nomarking{\unskip\nolist\crlf}}
> >>
> >> together with
> >>
> >> \startsectionworld[chapter][author=B. Rüssel, title=Consequences of
> >>   the Brussels Declaration \\for German cultural politics]
>
> Thank you, Taco!
> \unskip really seems to be what I was looking for.
>
> \nocr was a meaningless duplication of \\, and I should have thought
> of a space before that.
>
> > \setuphead[chapter][incrementnumber=no]
>
> I had that already. And I don't see how that would influence
> typesetting of punctuation or spaces?

I inserted it to get a space for \\ in the table of content, I wasn't related
to the space after punctuation but to the header content. Just related to
the minimum example.

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] reference manual for cont-en.lua

2008-04-29 Thread luigi scarso
On Tue, Apr 29, 2008 at 8:25 AM, Peter Münster <[EMAIL PROTECTED]> wrote:
> Hello,
>
>  Is there a reference manual for the functions in cont-en.lua? Or just a
>  function index?
>  There are really a lot of nice functions, for example table.serialize(),
>  for the every-day usage!
maybe
texmfstart texexec --ctx=x-ldx somefile.lua
can help you ?


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

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