[NTG-context] hyphenating bug

2008-04-13 Thread Yue Wang
Hi Taco and Hans I was typesetting the manual of a software developed by me using ConTeXt while the problem occurred. I try to minimized the problem and the result is attached. luatex.pdf --- pdf produced by luatex 0.25.2 It seems luatex forgets to hyphenating capital words. I am not sure

Re: [NTG-context] LuaTex error attempt to index global 'lang' (a nil value)

2008-04-13 Thread Taco Hoekwater
Roland wrote: Anybody? Makes no sense to me. I hope Thomas can have a look. Something obviously goes wrong for you, but I have never yet see it go _so_ wrong. Is there a chance of a corrupted download of something? Best wishes, Taco

Re: [NTG-context] [Dev-luatex] hyphenating bug

2008-04-13 Thread Taco Hoekwater
Yue Wang wrote: Hi Taco and Hans I was typesetting the manual of a software developed by me using ConTeXt while the problem occurred. I try to minimized the problem and the result is attached. luatex.pdf --- pdf produced by luatex 0.25.2 It seems luatex forgets to hyphenating capital

Re: [NTG-context] luatexing

2008-04-13 Thread Taco Hoekwater
Wolfgang Werners-Lucchini wrote: May be I do not understand this right, but I thought that '\' is luas escape character and tex.print() returns '\' not '\\'. So TeX sees no macro '\\' which could expand to whatever. This depends on how exactly you have input that line (which in turn nicely

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

2008-04-13 Thread Taco Hoekwater
Peter Münster wrote: Hello, This does no more work with MKIV: I can tell you the cause of the problem: context mkiv loads the font from the AFM files in unicode mode, but the typescript defines TFM fonts in texnansi only. This results in mayhem (I am not sure what exactly goes wrong, but

Re: [NTG-context] two easy xml-questions

2008-04-13 Thread Taco Hoekwater
Thomas A. Schmitz wrote: Hi gang, speaking of xml... I have two easy questions, but can't find an answer. It's about tweaking the pdf-output I get: 1. How do you add an additional hyphenation to a word? How would I enter the equivalent of super\-duper in an xml-file? I tried

Re: [NTG-context] LuaTex error attempt to index global 'lang' (a nil value)

2008-04-13 Thread Mojca Miklavec
On Sat, Apr 12, 2008 at 4:24 PM, Roland wrote: @Mojca, I found that /usr/texbin was pointing to a missing directory, so this caused the problem mentioned below. I took /usr/texbin out of the $PATH and replaced it with /usr/local/texlive/2007/bin/i386-darwin -- this lets luatools

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

2008-04-13 Thread Taco Hoekwater
Rory Molinari wrote: \startvariables all degree: degree \stopvariables \c!... commands (keys) are created by \startconstants, \v!... commands (enumerated values) by \startvariables. So: \startconstants all degree: degree \stopconstants you also have a few smaller problems

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

2008-04-13 Thread Jean Magnan de Bornier
Le 12 avril à 22:53:53 Michael Green [EMAIL PROTECTED] écrit notamment: | I'm getting the following error when running this command: luatools -- | ini --verbose --compile cont-en | LuaTools | running command: luatex --ini --lua=cont-en.luc /usr/ |

Re: [NTG-context] updating minimals

2008-04-13 Thread Mojca Miklavec
On Sat, Apr 12, 2008 at 8:13 PM, Jean Magnan de Bornier [EMAIL PROTECTED] wrote: Le 12 avril à 19:53:27 Aditya Mahajan [EMAIL PROTECTED] écrit notamment: Here the whole thing (I see nothing about path though): . 18:58 [EMAIL PROTECTED]

Re: [NTG-context] mplib

2008-04-13 Thread Taco Hoekwater
Wolfgang Werners-Lucchini wrote: On 12 Apr 2008 at 9:39, [EMAIL PROTECTED] wrote: \startlua mp = mplib.new ( { hash_size = 10, main_memory = 200, param_size = 10, } ) if mp then res = mp:execute( beginfig(1) draw (0,0) .. (1,1) .. (2,1); endfig; bye; )

Re: [NTG-context] updating minimals

2008-04-13 Thread Jean Magnan de Bornier
Le 13 avril à 12:22:38 Mojca Miklavec [EMAIL PROTECTED] écrit notamment: | On Sat, Apr 12, 2008 at 8:13 PM, Jean Magnan de Bornier | [EMAIL PROTECTED] wrote: | Le 12 avril à 19:53:27 Aditya Mahajan [EMAIL PROTECTED] écrit notamment: | | Here the whole thing (I see nothing about path though):

[NTG-context] fonts and luatex

2008-04-13 Thread Antoine Junod
Hello, List! Is it still needed to 'install' fonts with luatex and otf fonts or is it enough to drop the otf font files in a random place inside texmf/fonts/opentype/ ? Thanks for your reply, -AJ ___ If your question

Re: [NTG-context] mplib undefined commands

2008-04-13 Thread Mojca Miklavec
Hi, On Sat, Apr 12, 2008 at 9:38 AM, Hans Hagen wrote: 2.) undefined command \forceMPTEXcheck{put_text} ok, i will add a fake Thanks. I have now used a wrapper to skip that line in LuaTeX (btw: what's the suggested \if clause or \beginNOLUATEX to check for luatex/mkiv?)

Re: [NTG-context] updating minimals

2008-04-13 Thread Mojca Miklavec
On Sun, Apr 13, 2008 at 1:03 PM, Jean Magnan de Bornier wrote: Le 13 avril à 12:22:38 Mojca Miklavec écrit notamment: | What does | which luatex | return? Arrggg! /usr/bin/luatex!!! (comes from my earlier attempts to set up system wide mkiv...) Let me delete this one, fix the

Re: [NTG-context] mplib undefined commands

2008-04-13 Thread Hans Hagen
Mojca Miklavec wrote: Thanks. Still - I don't know if it's still needed at all and what exactly it was used for (maybe metapost has complained about too long lines long time ago). indeed; also, at some point texexec would take care of it; nowadays the limitation is gone (in tex and mp)

Re: [NTG-context] fonts and luatex

2008-04-13 Thread Hans Hagen
Antoine Junod wrote: Hello, List! Is it still needed to 'install' fonts with luatex and otf fonts or is it enough to drop the otf font files in a random place inside texmf/fonts/opentype/ ? dropping is enough; here i use: texmfwhatever/fonts/data/vendor/collection/[otf, afm, pfb]

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

2008-04-13 Thread Peter Münster
On Sun, Apr 13 2008, Taco Hoekwater wrote: If you want existing tfms to have precedence over any afms (thereby loosing unicode support for legacy fonts) you can add this to cont-sys or the top of your input: \ctxlua{fonts.define.method=2} Thanks, Taco! This works. The right method for

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

2008-04-13 Thread Hans Hagen
Taco Hoekwater wrote: Michael Green wrote: I'm getting the following error when running this command: luatools -- ini --verbose --compile cont-en LuaTools | running command: luatex --ini --lua=cont-en.luc /usr/ local/texlive/2007/texmf-dist/tex/context/base/cont-en.tex \\dump This is

Re: [NTG-context] luatexing

2008-04-13 Thread Hans Hagen
Wolfgang Werners-Lucchini wrote: On 12 Apr 2008 at 9:39, [EMAIL PROTECTED] wrote: I have a few silly questions about tex.print() To produce $\sqrt{2}=1.4142135623731$ it should be enough to write tex.print($\\sqrt{2}= .. math.sqrt(2) .. $) this is because \\ can mean

Re: [NTG-context] new version luatex / mkiv

2008-04-13 Thread Hans Hagen
Lou wrote: Hello Hans, Saturday, April 12, 2008, 3:23:36 PM, you wrote: http://foundry.supelec.fr/plugins/scmsvn/viewcvs.php/tags/beta-0.25. 2/manual/?root=luatex This manual is not viewable without deleting a html-frame. Or what I am doing wrong? i don't know, it's a pdf document,

Re: [NTG-context] new version luatex / mkiv

2008-04-13 Thread Hans Hagen
Wolfgang Werners-Lucchini wrote: On 12 Apr 2008 at 12:00, [EMAIL PROTECTED] wrote: Hallo Taco, Real API documentation will be provided once I am past the alpha release stage. At the moment, I do not trust the API enough to expose it to anything except controlled environments (lua mplib,

Re: [NTG-context] fonts and luatex

2008-04-13 Thread Antoine Junod
Hans Hagen [EMAIL PROTECTED] writes: Antoine Junod wrote: Hello, List! Is it still needed to 'install' fonts with luatex and otf fonts or is it enough to drop the otf font files in a random place inside texmf/fonts/opentype/ ? dropping is enough; here i use:

Re: [NTG-context] fonts and luatex

2008-04-13 Thread Hans Hagen
Antoine Junod wrote: Hans Hagen [EMAIL PROTECTED] writes: Antoine Junod wrote: Hello, List! Is it still needed to 'install' fonts with luatex and otf fonts or is it enough to drop the otf font files in a random place inside texmf/fonts/opentype/ ? dropping is enough; here i use:

Re: [NTG-context] Streams

2008-04-13 Thread Henning Hraban Ramm
perhaps the streams module can help you? see streams startting at http://wiki.contextgarden.net/Columns#Column_Sets Luigi, Bert, you both completely miss that the OP already tried to use streams (see subject!) and can't achieve what he needs, i.e. streams in columns. That's simply not

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

2008-04-13 Thread Antoine Junod
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 contains old-style numbers but not in my Garamond (it seems to be in latin modern). What

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

2008-04-13 Thread Henning Hraban Ramm
Am 2008-04-13 um 20:39 schrieb Antoine Junod: I actually use my font as simple as possible with a \definefont[boum][MyFont at 12pt]. Is it the problem? Yes. You should set up your fonts with a typescript and access small caps / oldstyle as features. Sorry, can't help you further at the

[NTG-context] luatools --ini plain

2008-04-13 Thread Hans van der Meer
This is something I don't understand. In the mk.pdf manual on luatex on page 21 there is the following example: luatools --ini plain Instead of the expected output 120,808 plain.fmt etc. I get an error: There is no lua initialization file found. ... Running luatools --generate does not

Re: [NTG-context] fonts and luatex

2008-04-13 Thread Olivier Guéry
also if you wanted named access: mtxrun --script fonts --reload Maybe it's a solution to finely have linux-libertine run with context… :o) But : mtxrun --script fonts --reload give me that : MtxRun | unknown script: fonts and : mtxrun --verbose --script fonts MtxRun | version 1.0.2

Re: [NTG-context] fonts and luatex

2008-04-13 Thread Hans Hagen
Olivier Guéry wrote: also if you wanted named access: mtxrun --script fonts --reload Maybe it's a solution to finely have linux-libertine run with context… :o) But : mtxrun --script fonts --reload give me that : MtxRun | unknown script: fonts and : mtxrun --verbose --script

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

2008-04-13 Thread Hans Hagen
Hans van der Meer wrote: This is something I don't understand. In the mk.pdf manual on luatex on page 21 there is the following example: luatools --ini plain luatools --make plain (this will use the context base lua files)

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

2008-04-13 Thread Arthur Reutenauer
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 you can run luatex -ini instead: luatex -ini

Re: [NTG-context] fonts and luatex

2008-04-13 Thread Arthur Reutenauer
Where's the problem ? You haven't configured ConTeXt correctly. Where is your ConTeXt tree? It should be found by luatools (does luatools mtx-fonts.lua return something useful?) Arthur ___ If your

Re: [NTG-context] fonts and luatex

2008-04-13 Thread Yue Wang
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 linux-libertine run with context… :o) But : mtxrun --script fonts --reload give me that : MtxRun |

[NTG-context] Unfill with anglebetween

2008-04-13 Thread David Arnold
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? David. ___ If your