Re: [NTG-context] Parsing HTML entities

2011-02-16 Thread luigi scarso
On Thu, Feb 17, 2011 at 1:06 AM, Khaled Hosny wrote: > Is there built-in support to parse HTML entities, I've some vague memory > about it but I don't seem to find much useful results. If not, build a lpeg parse should be feasible. -- luigi

Re: [NTG-context] EPUB workflow from ConTeXt source?

2011-02-16 Thread Gerben Wierda
On 16 Feb 2011, at 17:47, Wolfgang Schuster wrote: > > Am 16.02.2011 um 17:42 schrieb gerben.wie...@rna.nl: > >> I'd like to keep working in one format so I was wondering if there is a >> ConTeXt based workflow/setup that can produce EPUB (next to normal PDF)? > > With MkIV you can get a xml ve

Re: [NTG-context] using ConTeXt/LuaTeX instead of a spreadsheet program

2011-02-16 Thread Taco Hoekwater
On 02/16/11 23:46, Martin Schröder wrote: > 2011/2/16 Hans Hagen : >> I would put them in a lua table and access them when needed (you can load >> that table from an external file) > > Which precision do we have in luatex? Single or double? double. Best wishes, Taco ___

Re: [NTG-context] HTML-like "title" attribute

2011-02-16 Thread Wolfgang Schuster
Am 17.02.2011 um 01:08 schrieb Khaled Hosny: > The link https://github.com/jgm/lunamark :) How about making something like this: https://bitbucket.org/phg/context-rst Wolfgang ___ If your question is of interest to

[NTG-context] Parsing HTML entities

2011-02-16 Thread Khaled Hosny
Is there built-in support to parse HTML entities, I've some vague memory about it but I don't seem to find much useful results. Regards, Khaled -- Khaled Hosny Egyptian ___ If your question is of interest to other

Re: [NTG-context] HTML-like "title" attribute

2011-02-16 Thread Khaled Hosny
The link https://github.com/jgm/lunamark :) On Thu, Feb 17, 2011 at 02:03:04AM +0200, Khaled Hosny wrote: > I'm playing with some lua markdown parser[1], already added ConTeXt > output support except for two minor features. > > HTML links and images can have a "title" attribute that shows like a

[NTG-context] HTML-like "title" attribute

2011-02-16 Thread Khaled Hosny
I'm playing with some lua markdown parser[1], already added ConTeXt output support except for two minor features. HTML links and images can have a "title" attribute that shows like a tooltip, but I don't seem to find a way to do similar trick in ConTeXt, any ideas? \tooltip seems to be the closest

Re: [NTG-context] \setupalign[hz,hanging] breaks verbatim text

2011-02-16 Thread Hans Hagen
On 16-2-2011 9:11, C. wrote: I tried your code. Does not work. Again, when I comment the line with \setupalign it works. I was using Minion via simplefonts, but it seems modern fonts are also affected. I'working on Windows 7 32bit and updated Context Minimals before testing. @Wolfgang: I includ

Re: [NTG-context] What is preloaded by “mtxrun --script”?

2011-02-16 Thread Hans Hagen
On 16-2-2011 11:44, Philipp Gesang wrote: Hi all, I noticed that although mtxrun preloads some of the context libs that doesn’t cover everything available during an ordinary mkiv run. What would be the canonical way to load additional libs like “luat-ini”&c. on demand? “environment.loadluafile(

Re: [NTG-context] Braces in TexLive MKIV

2011-02-16 Thread Aditya Mahajan
On Wed, 16 Feb 2011, Tom wrote: When I recently upgraded to TexLive MKII, I learned that \lq, etc. no longer worked in that version but that \lbrace still did. Today, I tried MKIV and find that \lbrace does not work in MKIV. So, I tried \braceleft because \quoteleft worked in TexLive 2010 MKII.

Re: [NTG-context] Braces in TexLive MKIV

2011-02-16 Thread Tom
Thanks, Wolfgang. My document now compiles without errors and produces a PDF. It is my understanding that one of the ways MKIV differs greatly from MKII is in the handling of fonts. Which documentation should I look at first to learn about fonts in MKIV (not that I understand them in MKII yet)? T

Re: [NTG-context] using ConTeXt/LuaTeX instead of a spreadsheet program

2011-02-16 Thread Martin Schröder
2011/2/16 Hans Hagen : > I would put them in a lua table and access them when needed (you can load > that table from an external file) Which precision do we have in luatex? Single or double? Best Martin ___ If your

[NTG-context] What is preloaded by “mtxrun --script”?

2011-02-16 Thread Philipp Gesang
Hi all, I noticed that although mtxrun preloads some of the context libs that doesn’t cover everything available during an ordinary mkiv run. What would be the canonical way to load additional libs like “luat-ini” &c. on demand? “environment.loadluafile()”? Can this be configured globally? Is it

Re: [NTG-context] Braces in TexLive MKIV

2011-02-16 Thread Wolfgang Schuster
Am 16.02.2011 um 22:04 schrieb Tom: > When I recently upgraded to TexLive MKII, I learned that \lq, etc. no longer > worked in that version but that \lbrace still did. Today, I tried MKIV and > find that \lbrace does not work in MKIV. So, I tried \braceleft because > \quoteleft worked in TexLive

[NTG-context] problem with bibliography

2011-02-16 Thread Thomas A. Schmitz
Hi Hans and all, the current beta has a problem with a bibliography entry I have in my project. I can't quite put my finger to it, but here's a fairly minimal example. It compiles without problems with an older version I happen to have on my disk (2011.01.06 17:08), but not with the current bet

[NTG-context] Braces in TexLive MKIV

2011-02-16 Thread Tom
When I recently upgraded to TexLive MKII, I learned that \lq, etc. no longer worked in that version but that \lbrace still did. Today, I tried MKIV and find that \lbrace does not work in MKIV. So, I tried \braceleft because \quoteleft worked in TexLive 2010 MKII. Neither \lbrace nor \braceleft work

Re: [NTG-context] \setupalign[hz,hanging] breaks verbatim text

2011-02-16 Thread C.
I tried your code. Does not work. Again, when I comment the line with \setupalign it works. I was using Minion via simplefonts, but it seems modern fonts are also affected. I'working on Windows 7 32bit and updated Context Minimals before testing. @Wolfgang: I included the options because ConTeXt

Re: [NTG-context] using ConTeXt/LuaTeX instead of a spreadsheet program

2011-02-16 Thread Vnpenguin
On Wed, Feb 16, 2011 at 18:47, Paul Menzel wrote: > Dear ConTeXt folks, > > > could you please share your experiences with or point me to a resource > dealing with the following issue. > > I need to evaluate some physics experiments where I have some values > which got measured. I thought I could

Re: [NTG-context] using ConTeXt/LuaTeX instead of a spreadsheet program

2011-02-16 Thread Hans Hagen
On 16-2-2011 6:47, Paul Menzel wrote: Dear ConTeXt folks, could you please share your experiences with or point me to a resource dealing with the following issue. I need to evaluate some physics experiments where I have some values which got measured. I thought I could use ConTeXt with LuaTeX

Re: [NTG-context] \setupalign[hz,hanging] breaks verbatim text

2011-02-16 Thread Hans Hagen
On 16-2-2011 6:48, C. wrote: I have a strange problem in one of my documents. When I uncomment the line with \setupalign[hz,hanging] everything works fine. When I use it, I get this error because of a verbatim typing segment: \obeyedline ->\par \doverbatimendofline ->\dostoptagged \obeyedline

Re: [NTG-context] \setupalign[hz,hanging] breaks verbatim text

2011-02-16 Thread Wolfgang Schuster
Am 16.02.2011 um 18:48 schrieb C.: > I have a strange problem in one of my documents. > When I uncomment the line with \setupalign[hz,hanging] everything works > fine. When I use it, I get this error because of a verbatim typing segment: Can you test it with the latest beta, your example runs fi

Re: [NTG-context] using ConTeXt/LuaTeX instead of a spreadsheet program

2011-02-16 Thread Wolfgang Schuster
Am 16.02.2011 um 18:47 schrieb Paul Menzel: > Dear ConTeXt folks, > > could you please share your experiences with or point me to a resource > dealing with the following issue. > > I need to evaluate some physics experiments where I have some values > which got measured. I thought I could use C

[NTG-context] \setupalign[hz,hanging] breaks verbatim text

2011-02-16 Thread C.
I have a strange problem in one of my documents. When I uncomment the line with \setupalign[hz,hanging] everything works fine. When I use it, I get this error because of a verbatim typing segment: \obeyedline ->\par \doverbatimendofline ->\dostoptagged \obeyedline

[NTG-context] using ConTeXt/LuaTeX instead of a spreadsheet program

2011-02-16 Thread Paul Menzel
Dear ConTeXt folks, could you please share your experiences with or point me to a resource dealing with the following issue. I need to evaluate some physics experiments where I have some values which got measured. I thought I could use ConTeXt with LuaTeX to do all the calculations instead of th

Re: [NTG-context] EPUB workflow from ConTeXt source?

2011-02-16 Thread Wolfgang Schuster
Am 16.02.2011 um 17:42 schrieb gerben.wie...@rna.nl: > I'd like to keep working in one format so I was wondering if there is a > ConTeXt based workflow/setup that can produce EPUB (next to normal PDF)? With MkIV you can get a xml version of document with \setupbackend[export=yes]. Wolfgang ___

[NTG-context] EPUB workflow from ConTeXt source?

2011-02-16 Thread Gerben . Wierda
I'd like to keep working in one format so I was wondering if there is a ConTeXt based workflow/setup that can produce EPUB (next to normal PDF)? Thanks, G ___ If your question is of interest to others as well, please

Re: [NTG-context] Stretching chapter titles - MKII

2011-02-16 Thread Aditya Mahajan
On Wed, 16 Feb 2011, Tom wrote: I tried to execute MKIV by typing in context hello.tex and got an error message. Apparently something else needs to be installed. MTXrun | unknown script 'context.lua' or 'mtx-context.lua' Run mtxrun --generate What major changes to my documents will I likely

Re: [NTG-context] conditional evaluation and section names

2011-02-16 Thread Wolfgang Schuster
Am 16.02.2011 um 08:36 schrieb Cedric Mauclair: > On Wed, Feb 16, 2011 at 05:52, Daniel Lyons wrote: >> >> On Feb 15, 2011, at 12:05 PM, Wolfgang Schuster wrote: >> >>> \doiftextelse{\getmarking[sectionnumber]} >>> {§ \getmarking[sectionnumber]} >>> {\unknown} >> >> >> I assume there are o

Re: [NTG-context] Stretching chapter titles - MKII

2011-02-16 Thread John McGarrachan
remember to setuptex first, all other necessary steps are listed in http://wiki.contextgarden.net/Running_Mark_IV On Wed, 2011-02-16 at 15:14 +0100, Cedric Mauclair wrote: > On Wed, Feb 16, 2011 at 15:06, Tom wrote: > > I tried to execute MKIV by typing in context hello.tex and got an error > > m

Re: [NTG-context] curly bracket different values (entries)

2011-02-16 Thread Vyatcheslav Yatskovsky
Thank you for the clear answer. The only thing I wish that there was more information about mathcolumn (/MC) command on the wiki. with \startmathcases ... \stopmathcases you get a curly bracket to the left of "...", see [1]. If you just want to have multiline equations, then \startalign ... \

Re: [NTG-context] Stretching chapter titles - MKII

2011-02-16 Thread Cedric Mauclair
On Wed, Feb 16, 2011 at 15:06, Tom wrote: > I tried to execute MKIV by typing in context hello.tex and got an error > message. Apparently something else needs to be installed. > > MTXrun | unknown script 'context.lua' or 'mtx-context.lua' Seems like there are some TEXMF... defined. Try to unset t

Re: [NTG-context] Stretching chapter titles - MKII

2011-02-16 Thread Tom
I tried to execute MKIV by typing in context hello.tex and got an error message. Apparently something else needs to be installed. MTXrun | unknown script 'context.lua' or 'mtx-context.lua' What major changes to my documents will I likely need to make to shift to MKIV? Tom Benjey 717-258-9733 vo

Re: [NTG-context] problem with doifolderversionelse and correspondence module

2011-02-16 Thread Hans Hagen
On 16-2-2011 9:20, Florian Wobbe wrote: Hi, since beta 2011.02.14 23:30 the correspondence module complains that context is too old. what dates are fed into: doifolderversionelse - Hans

Re: [NTG-context] curly bracket different values (entries)

2011-02-16 Thread Stefan Müller
Hi, with \startmathcases ... \stopmathcases you get a curly bracket to the left of "...", see [1]. If you just want to have multiline equations, then \startalign ... \stopalign could be want you need (it's also on page [1]). There's also a "My Way" [2] about mathalign. HTH, Stefan [1] http

[NTG-context] problem with doifolderversionelse and correspondence module

2011-02-16 Thread Florian Wobbe
Hi, since beta 2011.02.14 23:30 the correspondence module complains that context is too old. Florian ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@nt