[NTG-context] typo in luatex-mplib.lua

2010-01-08 Thread luigi scarso
line 323 of tex/texmf-context/tex/generic/context/luatex-mplib.lua should be local fignum = tonumber(match(figure:filename(),([%d]+)$) or figure:charcode() or 0) -- luigi ___ If your question is of interest to

[NTG-context] Error with the actual beta

2010-01-08 Thread Andreas Harder
Hi, the example at the bottom ends up with: ! LuaTeX error ...text/tex/texmf-context/tex/context/base/font-otf.lua:1243: attempt to get length of local 'splt' (a nil value) \definefont[test][name:linuxlibertineo] \starttext \test test \stoptext Can someone confirm? Greetings Andreas

Re: [NTG-context] Error with the actual beta

2010-01-08 Thread Wolfgang Schuster
font-otf.diff Description: Binary data Am 08.01.2010 um 13:20 schrieb Andreas Harder: Hi, the example at the bottom ends up with: ! LuaTeX error ...text/tex/texmf-context/tex/context/base/font-otf.lua:1243: attempt to get length of local 'splt' (a nil value)

Re: [NTG-context] Error with the actual beta

2010-01-08 Thread Vladimir Lomov
2010/1/8 Andreas Harder andreas.har...@rz-online.de: Hi, the example at the bottom ends up with: ! LuaTeX error ...text/tex/texmf-context/tex/context/base/font-otf.lua:1243: attempt to get length of local 'splt' (a nil value) \definefont[test][name:linuxlibertineo] \starttext \test test

[NTG-context] Automated Quotation/Punctuation Placement

2010-01-08 Thread Tad Ashlock
Hi All, I'm trying to create a command that will apply a consistent style to a word or phrase. For example, when documenting source code, I'd like to be able to mark variables with \Var{var_name}. Then if I want the variable names to be in mono, I can \def\Var#1{\type{#1}}. No problem

Re: [NTG-context] Automated Quotation/Punctuation Placement

2010-01-08 Thread Wolfgang Schuster
Am 08.01.2010 um 17:27 schrieb Tad Ashlock: Hi All, I'm trying to create a command that will apply a consistent style to a word or phrase. For example, when documenting source code, I'd like to be able to mark variables with \Var{var_name}. Then if I want the variable names to be in

Re: [NTG-context] Automated Quotation/Punctuation Placement

2010-01-08 Thread Khaled Hosny
What about: \def\Var#1#2{'\type{#1}% \directlua{ if #2 == , then tex.sprint(#2') else tex.sprint('#2) end}} \Var{555}, hello \Var{666}. \Var{666}\par On Fri, Jan 08, 2010 at 09:27:37AM -0700, Tad Ashlock wrote: Hi All, I'm trying to create a command that will apply a consistent style

Re: [NTG-context] Automated Quotation/Punctuation Placement

2010-01-08 Thread Tad Ashlock
Wolfgang Schuster wrote: Am 08.01.2010 um 17:27 schrieb Tad Ashlock:Hi All, \startluacode function move_end_punctuation (text, punc, cmd_start, cmd_mid, cmd_end) context(cmd_start .. text .. cmd_mid) if string.find('.,!?', punc, 1, true) then context(punc ..

Re: [NTG-context] Automated Quotation/Punctuation Placement

2010-01-08 Thread Tad Ashlock
Khaled Hosny wrote: On Fri, Jan 08, 2010 at 09:27:37AM -0700, Tad Ashlock wrote: == \startluacode function move_end_punctuation (text, punc, cmd_start, cmd_mid, cmd_end) context(cmd_start .. text .. cmd_mid) if string.find('.,!?', punc, 1, true) then

Re: [NTG-context] sectionstopper

2010-01-08 Thread Hans Hagen
On 7-1-2010 22:07, Wolfgang Schuster wrote: Hi Hans, how I can i put symbols at both sides of a header, with sectionstopper i can get only on at the right side of the number but not at the left and tricks like numbercommand or setuplabeltext do not affect references and the content entries.

Re: [NTG-context] typo in luatex-mplib.lua

2010-01-08 Thread Hans Hagen
On 8-1-2010 11:51, luigi scarso wrote: line 323 of tex/texmf-context/tex/generic/context/luatex-mplib.lua should be local fignum = tonumber(match(figure:filename(),([%d]+)$) or figure:charcode() or 0) typo fixed as well as extra test in otf added ... new beta Hans

Re: [NTG-context] Verbatim Text with Embedded Formatting Commands (MkIV)

2010-01-08 Thread Tad Ashlock
Hans Hagen wrote: On 13-12-2009 12:26, Tad Ashlock wrote: As noted at http://wiki.contextgarden.net/Verbatim_text#Embedded_formatting_commands, the embedded formatting commands in verbatim text don't work in MkIV. Are there any plans to fix this capability soon? I'm planning on working on a

Re: [NTG-context] [tex-live] difference texlive 2008, 2009

2010-01-08 Thread Taco Hoekwater
Lubos Kolouch wrote: Hello, I have a strange problem and I am not sure what causes it. This is a context question, redirecting to the mailing list. (we will still need a small test file, though) Best wishes, Taco When I run texlive on one of my .tex files in Gentoo (texlive-2008),