Re: [NTG-context] LinuxLibertine Typescript (was : fonts and luatex)

2008-04-14 Thread Wolfgang Schuster
On Mon, Apr 14, 2008 at 2:05 PM, Olivier Guéry <[EMAIL PROTECTED]> wrote: > > \starttypescript [serif] [linuxlibertine] > > \setups[font:fallback:serif] > > \definefontsynonym [Serif] [LinLibertine-Regular] > > \definefontsynonym [SerifBold] [LinLibertine-Bold] > > \definefontsynon

Re: [NTG-context] Unable to generate luatex formats

2008-04-14 Thread Michael Green
The two files Taco pointed to *appear* to be OK (though I'm too inexperienced to say with certainty). That leaves something esoteric or a tossed salad of old and new code. Since this is mainly a matter of learning and curiosity for me, I'll wait and see how things develop for a bit. Thanks

[NTG-context] 2 problems with "texexec --module"

2008-04-14 Thread Peter Münster
Hello, 1.) Compilation stop like this: [1.1] [2.1] . (./t-french.tex language : language specific options [default-fr] introduce a 4.0pt skip \wait= With the following example: %D \module %D [ file=t-french, %Dversion=2008.04.05, %D title=\CONTEXT\ User Module, %D

Re: [NTG-context] Module documentation

2008-04-14 Thread Mojca Miklavec
On Mon, Apr 14, 2008 at 10:27 AM, Wolfgang Schuster wrote: > > On Fri, Apr 11, 2008 at 4:25 PM, <[EMAIL PROTECTED]> wrote: > > > > Hello all, > > > > I have been using Context for a while now and have learnt a lot from the > > manuals and wiki. I now want to start to use features that are no

Re: [NTG-context] fonts and luatex

2008-04-14 Thread Mojca Miklavec
On Mon, Apr 14, 2008 at 7:43 PM, Hans Hagen wrote: > i'm wondering ... if a name is not found, i can regenerate the database > at runtime. i had that for a while; maybe i should reinstate that This sounds reasonable. If user is asking for non-existing font, he can be punished a bit (by a longer

Re: [NTG-context] mplib

2008-04-14 Thread Wolfgang Werners-Lucchini
On 13 Apr 2008 at 13:31, [EMAIL PROTECTED] wrote: Hallo Taco, thank you for your example. > % start low-level > \startlua > local function finder(name, mode, ftype) > if mode=="w" then > return name > else > return kpse.find_file(name,ftype) > end > end > mp = mp

Re: [NTG-context] ConTeXt Document with SVN Info Included

2008-04-14 Thread Stephan Hennig
Michael Hallgren schrieb: > Do we have, in userland, an already developed metod of including > SVN info in a ConTeXt output file? A la svn-multi in the LaTeX > world... I have not tested it with ConTeXt, but what about the vc bundle available at CTAN:support/vc? Feedback is welcome! Best regard

Re: [NTG-context] bug in mplib?

2008-04-14 Thread Peter Rolf
Hi Thomas, Thomas A. Schmitz schrieb: > Hi all, > > I just noticed that with the new incarnation of metapost, arrows > behave somewhat erratically. Take this minmal example: > > \starttext > > \startuseMPgraphic{arrowtest} > z1=(0,0) ; > z2=(3cm,0) ; > ahlength := 15pt ; > pickup pencircle sc

Re: [NTG-context] chapter setup / table of contents

2008-04-14 Thread luigi scarso
a bit of lua code ? \startluacode MyStuff = {} SecCount = 0 SecIndexCount = 0 \stopluacode \definelistplacement[MyListItem][none]#1#2#3{% \ctxlua{SecIndexCount = SecIndexCount +1} %% Do something with %%\ctxlua{tex.sprint(MyStuff[SecIndexCount])} %% } \setuplist[section][alternati

Re: [NTG-context] chapter setup / table of contents

2008-04-14 Thread Henning Hraban Ramm
Am 2008-04-14 um 22:26 schrieb luigi scarso: >> >> I've seen in core-lst > % \setuplist > % [section] > % [alternative=MyListItem, > %after=\blank, > %before=\blank] > % > % \definelistplacement[MyListItem][none]#1#2#3% > % {(#1) (#2) (#3)} > > Maybe this can help you ? I guess not -

Re: [NTG-context] chapter setup / table of contents

2008-04-14 Thread luigi scarso
On Mon, Apr 14, 2008 at 10:06 PM, Henning Hraban Ramm <[EMAIL PROTECTED]> wrote: > Ahoi! > > In a volume of proceedings, each chapter has an author and title and > sometimes a subtitle. > The ToC entry should look like: > > Author: Title \hfill Page > (no indents!) > > At the moment I've this

Re: [NTG-context] ConTeXt Document with SVN Info Included

2008-04-14 Thread Michael Hallgren
Le lundi 14 avril 2008 à 14:38 +0200, Peter Münster a écrit : > On Mon, Apr 14 2008, Michael Hallgren wrote: > > > > Do we have, in userland, an already developed metod of including > > SVN info in a ConTeXt output file? A la svn-multi in the LaTeX > > world... > > This is perhaps something, you

[NTG-context] bug in mplib?

2008-04-14 Thread Thomas A. Schmitz
Hi all, I just noticed that with the new incarnation of metapost, arrows behave somewhat erratically. Take this minmal example: \starttext \startuseMPgraphic{arrowtest} z1=(0,0) ; z2=(3cm,0) ; ahlength := 15pt ; pickup pencircle scaled 5pt ; drawarrow z1--z2 ; \stopuseMPgraphic \useMPgraphic{

[NTG-context] chapter setup / table of contents

2008-04-14 Thread Henning Hraban Ramm
Ahoi! In a volume of proceedings, each chapter has an author and title and sometimes a subtitle. The ToC entry should look like: Author: Title \hfill Page (no indents!) At the moment I've this setup: --- \def\Titel#1#2#3{% author, title, subtitle \page% {\writebetweenlist[cha

Re: [NTG-context] fonts and luatex

2008-04-14 Thread Hans Hagen
Arthur Reutenauer wrote: >> (i think that i wrote a fc-whatever parser but then one needs to tell >> where it lives etc etc) it's rather trivial to support it > If fontconfig is correctly installed, you shouldn't need to do > anything special: only run fc-list / configure fontconfig the normal

Re: [NTG-context] LuaTeX problems with \seeindex and \from

2008-04-14 Thread Drazen Baic
Hi, Here is a small test file. Compiled with 'texexec --lua' the register has only the entry 'Software 1' but it should have one additional entry 'Apache see Software'. This works OK when compiled with 'texexec --xtx' \starttext \index{Software}Software \seeindex{Apache}{Software}Apache \placein

Re: [NTG-context] LuaTeX problems with \seeindex and \from

2008-04-14 Thread Drazen Baic
Hi, Of course, I should have provided one in my first mail. Trying to create a minimal test file I also found out that the crash only happens when \setupinteraction [state=start] is set. Here is the file. \setupinteraction [state=start] \useURL[apache][http://httpd.apache.org/download.cgi] \star

[NTG-context] \hyphenatedfile redefined!!

2008-04-14 Thread Aditya Mahajan
Hi, Typeset this file :) \starttext The file \filename{knuth} contains a quotation from Don Knuth, the creator of \TEX. \stoptext core-ver.tex defines \filename to be \unexpanded\def\filename#1{{\tttf\hyphenatedfile{#1}}} and supp-lan.tex defines \hypenatedfile to be \let\hyphenatedfile\hyp

Re: [NTG-context] fonts and luatex

2008-04-14 Thread Arthur Reutenauer
> (i think that i wrote a fc-whatever parser but then one needs to tell > where it lives etc etc) If fontconfig is correctly installed, you shouldn't need to do anything special: only run fc-list / configure fontconfig the normal way (probably by editing things like /etc/fonts/local.conf). T

Re: [NTG-context] Adding custom key/value pairs

2008-04-14 Thread Aditya Mahajan
On Mon, 14 Apr 2008, Taco Hoekwater wrote: > Wolfgang Schuster wrote: >> >> Why not, I have nothing against a few predefined title pages layouts. > > Somewhat related: it would be nice if there was some common code for > titles (books as well as articles). > > [snip] > > Anyway, the maps module co

Re: [NTG-context] fonts and luatex

2008-04-14 Thread Olivier Guéry
I have this : export OSFONTDIR=/usr/share/fonts/otf in my .bashrc. And I put a copy in the same directory than the texgyre. The mtxrun problem is strange, do you have an explanation ? Olivier. ___ If your question is o

Re: [NTG-context] Error: Illegal entry in bfrange block in ToUnicode CMap

2008-04-14 Thread Taco Hoekwater
luigi scarso wrote: >> Then it's easy: it is a ghostscript bug. > or maybe a xpdf bug, > given that ghostscript has no problem to show it. > > BTW, what does this error mean ? ToUnicode CMaps vectors in PDF are used to aid in searches, and they have a pretty strict "official" format. Your pdf

Re: [NTG-context] Error: Illegal entry in bfrange block in ToUnicode CMap

2008-04-14 Thread luigi scarso
> Then it's easy: it is a ghostscript bug. or maybe a xpdf bug, given that ghostscript has no problem to show it. BTW, what does this error mean ? -- luigi it's new . it's powerful . it's luatex . http://www.luatex.org

Re: [NTG-context] Error: Illegal entry in bfrange block in ToUnicode CMap

2008-04-14 Thread Taco Hoekwater
luigi scarso wrote: >> Is the error in the original pdf or in the redistilled one? > in the redistilled one Then it's easy: it is a ghostscript bug. Best wishes, Taco ___ If your question is of interest to others a

Re: [NTG-context] Error: Illegal entry in bfrange block in ToUnicode CMap

2008-04-14 Thread luigi scarso
> Is the error in the original pdf or in the redistilled one? in the redistilled one -- luigi it's new . it's powerful . it's luatex . http://www.luatex.org ___ If your question is of interest to others as well, pleas

Re: [NTG-context] Error: Illegal entry in bfrange block in ToUnicode CMap

2008-04-14 Thread Taco Hoekwater
luigi scarso wrote: > > and many ( 4516 lines ) > Error: Illegal entry in bfrange block in ToUnicode CMap Is the error in the original pdf or in the redistilled one? ___ If your question is of interest to others as

Re: [NTG-context] LuaTeX problems with \seeindex and \from

2008-04-14 Thread Hans Hagen
Drazen Baic wrote: > Hi, > > this is my first posting to this list but I'm following it through the > archives for quite a long time. > > First I would like to thank the list for this huge archive. By reading > the documentation and searching this archive most of my questions > about ConTeXt wher

Re: [NTG-context] ConTeXt Document with SVN Info Included

2008-04-14 Thread Peter Münster
On Mon, Apr 14 2008, Michael Hallgren wrote: > > Do we have, in userland, an already developed metod of including > SVN info in a ConTeXt output file? A la svn-multi in the LaTeX > world... This is perhaps something, you are looking for: http://archive.contextgarden.net/message/20080403.194403.0

Re: [NTG-context] fonts and luatex

2008-04-14 Thread Hans Hagen
Mojca Miklavec wrote: > On Mon, Apr 14, 2008 at 11:38 AM, Olivier Guéry wrote: >> I can run context, but some otf fonts can't be find, like the nice >> linuxlibertine, for exemple (context used to find it with xetex). > > Hello Oliver, > > XeTeX finds fonts using fc-config, and fc-config usuall

[NTG-context] Error: Illegal entry in bfrange block in ToUnicode CMap

2008-04-14 Thread luigi scarso
I have a catalog.pdf Title: catalog Subject: Keywords: Author: Creator:ConTeXt - 2008.04.11 00:07 Producer: luaTeX-0.25.2 CreationDate: Mon Apr 14 14:58:34 2008 ModDate:20080414 Tagged: no Pages: 158 Encrypted: no Page size: 595.276 x

Re: [NTG-context] LinuxLibertine Typescript (was : fonts and luatex)

2008-04-14 Thread Olivier Guéry
> \starttypescript [serif] [linuxlibertine] > \setups[font:fallback:serif] > \definefontsynonym [Serif] [LinLibertine-Regular] > \definefontsynonym [SerifBold] [LinLibertine-Bold] > \definefontsynonym [SerifItalic] [LinLibertine-Italic] > \definefontsynonym [SerifBoldItalic] [L

Re: [NTG-context] fonts and luatex

2008-04-14 Thread Mojca Miklavec
On Mon, Apr 14, 2008 at 11:38 AM, Olivier Guéry wrote: > > I can run context, but some otf fonts can't be find, like the nice > linuxlibertine, for exemple (context used to find it with xetex). Hello Oliver, XeTeX finds fonts using fc-config, and fc-config usually knows about all your system-wi

Re: [NTG-context] fonts and luatex

2008-04-14 Thread Wolfgang Schuster
> > > I can run context, but some otf fonts can't be find, like the nice > > > linuxlibertine, for exemple (context used to find it with xetex). > > > > Can you use the TeX-Gyre Fonts, try the following example > > All the tex-gyre run well. > > > % engine=luatex > > > > \usetypescript[palatin

Re: [NTG-context] Adding custom key/value pairs

2008-04-14 Thread Wolfgang Schuster
On Mon, Apr 14, 2008 at 1:20 PM, Taco Hoekwater <[EMAIL PROTECTED]> wrote: > Wolfgang Schuster wrote: > > > > Why not, I have nothing against a few predefined title pages layouts. > > Somewhat related: it would be nice if there was some common code for > titles (books as well as articles). The Maps

Re: [NTG-context] Adding custom key/value pairs

2008-04-14 Thread Taco Hoekwater
Wolfgang Schuster wrote: > > Why not, I have nothing against a few predefined title pages layouts. Somewhat related: it would be nice if there was some common code for titles (books as well as articles). The Maps module currently defines an article in this fashion: \starttext \startArtic

Re: [NTG-context] Adding custom key/value pairs

2008-04-14 Thread Wolfgang Schuster
On Mon, Apr 14, 2008 at 12:34 PM, Olivier Guéry <[EMAIL PROTECTED]> wrote: > > On Mon, Apr 14, 2008 at 12:18 PM, Wolfgang Schuster > <[EMAIL PROTECTED]> wrote: > > On Mon, Apr 14, 2008 at 11:56 AM, Olivier Guéry <[EMAIL PROTECTED]> wrote: > > > > Thanks Taco, that was exactly what I needed. > >

Re: [NTG-context] Adding custom key/value pairs

2008-04-14 Thread Olivier Guéry
On Mon, Apr 14, 2008 at 12:18 PM, Wolfgang Schuster <[EMAIL PROTECTED]> wrote: > On Mon, Apr 14, 2008 at 11:56 AM, Olivier Guéry <[EMAIL PROTECTED]> wrote: > > > Thanks Taco, that was exactly what I needed. > > > > > > Cheers, > > > Rory > > > > Can you post the good syntax you use, or put

Re: [NTG-context] Adding custom key/value pairs

2008-04-14 Thread Wolfgang Schuster
On Mon, Apr 14, 2008 at 11:56 AM, Olivier Guéry <[EMAIL PROTECTED]> wrote: > > Thanks Taco, that was exactly what I needed. > > > > Cheers, > > Rory > > Can you post the good syntax you use, or put it on the wiki ? What do you mean. What he use use is already on the wiki and he midified it onl

Re: [NTG-context] fonts and luatex

2008-04-14 Thread Olivier Guéry
On Mon, Apr 14, 2008 at 11:49 AM, Wolfgang Schuster <[EMAIL PROTECTED]> wrote: > > On Mon, Apr 14, 2008 at 11:38 AM, Olivier Guéry <[EMAIL PROTECTED]> wrote: > > On Mon, Apr 14, 2008 at 2:00 AM, Yue Wang <[EMAIL PROTECTED]> wrote: > > > On 4/14/08, Hans Hagen <[EMAIL PROTECTED]> wrote: > > > >

Re: [NTG-context] Adding custom key/value pairs

2008-04-14 Thread Olivier Guéry
> Thanks Taco, that was exactly what I needed. > > Cheers, > Rory Can you post the good syntax you use, or put it on the wiki ? Cheers, Olivier. -- [Message tapé sur un clavier Bépo : http://www.clavier-dvorak.org ] Olivier [EMAIL PROTECTED] http://nemolivier.blogspot.com ___

Re: [NTG-context] fonts and luatex

2008-04-14 Thread Wolfgang Schuster
On Mon, Apr 14, 2008 at 11:38 AM, Olivier Guéry <[EMAIL PROTECTED]> wrote: > On Mon, Apr 14, 2008 at 2:00 AM, Yue Wang <[EMAIL PROTECTED]> wrote: > > On 4/14/08, Hans Hagen <[EMAIL PROTECTED]> wrote: > > > Olivier Guéry wrote: > > > >> also if you wanted named access: > > > >> > > > >>

Re: [NTG-context] luatools --ini plain

2008-04-14 Thread Hans Hagen
Hans van der Meer wrote: > On 14 apr 2008, at 00:38, Arthur Reutenauer wrote: > >>> luatools --ini plain >>> >>> Instead of the expected output 120,808 plain.fmt etc. I get an error: >>> "There is no lua initialization file found. ..." >> The ConTeXt tools don't support plain. If you really want

Re: [NTG-context] fonts and luatex

2008-04-14 Thread Olivier Guéry
On Mon, Apr 14, 2008 at 2:00 AM, Yue Wang <[EMAIL PROTECTED]> wrote: > On 4/14/08, Hans Hagen <[EMAIL PROTECTED]> wrote: > > Olivier Guéry wrote: > > >> also if you wanted named access: > > >> > > >> mtxrun --script fonts --reload > > > > > > Maybe it's a solution to finely have linu

Re: [NTG-context] MkIV and DVI output

2008-04-14 Thread Wolfgang Schuster
On Sun, Apr 13, 2008 at 3:01 PM, Mojca Miklavec <[EMAIL PROTECTED]> wrote: > On Fri, Apr 11, 2008 at 11:45 AM, Hans Hagen wrote: > > Wolfgang Schuster wrote: > > > Hi, > > > > > > is it possible to produce DVI files with Mark IV. > > > > > > I tried a simple file like > > > > > > \starttext

Re: [NTG-context] luatools --ini plain

2008-04-14 Thread Hans van der Meer
On 14 apr 2008, at 00:38, Arthur Reutenauer wrote: >> luatools --ini plain >> >> Instead of the expected output 120,808 plain.fmt etc. I get an error: >> "There is no lua initialization file found. ..." > > The ConTeXt tools don't support plain. If you really want a plain > format for LuaTeX yo

Re: [NTG-context] Module documentation

2008-04-14 Thread Wolfgang Schuster
On Fri, Apr 11, 2008 at 4:25 PM, <[EMAIL PROTECTED]> wrote: > > Hello all, > > I have been using Context for a while now and have learnt a lot from the > manuals and wiki. I now want to start to use features that are not > documented. On the wiki > (http://wiki.contextgarden.net/Official_ConTeXt

Re: [NTG-context] small caps and old numbers with open type fonts

2008-04-14 Thread Wolfgang Schuster
On Sun, Apr 13, 2008 at 8:39 PM, Antoine Junod <[EMAIL PROTECTED]> wrote: > Hello list, > > I'm still playing with a few otf fonts and enjoying the way ConTeXt > works :) > > I'm now playing with a beautiful Garamond. I try to typeset a few > things with old-style numbers and, well, the output cont

Re: [NTG-context] LuaTeX problems with \seeindex and \from

2008-04-14 Thread Taco Hoekwater
Hi, Drazen Baic wrote: > > with '--verbose' set - at least I couldn't see any. Finally I found out > that 'luatex' crashed during 'LuaTools | running command: luatex --fmt' > (see the CrashReporter log at the end of the mail). Can you please email me (or post) the smallest test file you can ma

Re: [NTG-context] Adding custom key/value pairs

2008-04-14 Thread Rory Molinari
On Apr 13, 2008, at 3:08 AM, Taco Hoekwater wrote: > Rory Molinari wrote: > >> \startvariables all >>degree: degree >> \stopvariables > > \c!... commands (keys) are created by \startconstants, > \v!... commands (enumerated values) by \startvariables. > > So: > >\startconstants all >

[NTG-context] ConTeXt Document with SVN Info Included

2008-04-14 Thread Michael Hallgren
Good morning, Do we have, in userland, an already developed metod of including SVN info in a ConTeXt output file? A la svn-multi in the LaTeX world... Cheers, mh ___ If your question is of interest to others as well

[NTG-context] LuaTeX problems with \seeindex and \from

2008-04-14 Thread Drazen Baic
Hi, this is my first posting to this list but I'm following it through the archives for quite a long time. First I would like to thank the list for this huge archive. By reading the documentation and searching this archive most of my questions about ConTeXt where answered. I searched for these pr

Re: [NTG-context] urw-garamond with MKIV

2008-04-14 Thread Wolfgang Schuster
On Sat, Apr 12, 2008 at 9:44 AM, Peter Münster <[EMAIL PROTECTED]> wrote: > Hello, > > This does no more work with MKIV: > > \usemodule[urwgaramond] > \starttext > \rm\input knuth > > \it\input knuth > > \bf\input knuth > > \bi\input knuth > \stoptext > > Could anybody help me, to get urw-garamond

Re: [NTG-context] Unfill with anglebetween

2008-04-14 Thread Aditya Mahajan
On Sun, 13 Apr 2008, David Arnold wrote: > All, > > I was trying to help a student today and the following came up. > > drawarrow anglebetween(path1, path2, btex $\theta$ etex) > > Is there some way to typeset the theta with an "unfilled" background? I know there is a metapost way to do this, but