Re: [NTG-context] Fwd: Re: xml-processing: missing or ungrouped '='

2011-01-09 Thread Achim Jander
Hi Thomas, sorry, I dont want to bother you. But in fact that is not what I'm looking for. Maybe its my fault that I mixed a - as I thougt - related problem in my second mail. What I try to do is reduce redundancy. I cannot see where my explanations differ. In fact, I started with something

Re: [NTG-context] Gnuplot module: Patching of Gnuplot binary still needed?

2011-01-09 Thread jeroen . muskee
In the past I was using this instruction set to install GnuPlot in Windows Context Mkiv minimals but it does not work anymore. Is there a bug in t-gnuplot version 2009-07-21? Create folder c:\context\gnuplot Download from http://dl.contextgarden.net/modules/gnuplot-win.zip the gnuplot file

Re: [NTG-context] PDF Bookmarks on unnumbered subjects/titles etc

2011-01-09 Thread Florian Wobbe
Dear Wolfgang, 3 years ago, you wrote: [...] \setupinteraction[state=start] \placebookmarks[chapter] \setupinteractionscreen[option=bookmark] \starttext \chapter{some chapter} \bookmark{a title} some text \stoptext The above example correctly generates bookmarks in the PDF. I can't,

[NTG-context] Natural tables (split) + setupinteraction = fail? (latest mkiv)

2011-01-09 Thread Marco Pessotto
Hello there. See the following minimal example: begin \setupinteraction[state=start,color=black,contrastcolor=black] \starttext \placetable[split]{Test} {\bTABLE[split=yes] \dorecurse{60}{ \bTR \bTD hello \eTD \eTR } \eTABLE} \stoptext end % If I try to compile it, I get

[NTG-context] How to invoke Unicode symbols?

2011-01-09 Thread Vyatcheslav Yatskovsky
Hi, How to invoke pre-defined Unicode symbols? E.g., in symb-uni.tex I see \startsymbolset[Unicode Musical] % 0x2600: Requires UnicodeRegular26 \definesymbol[QuarterNote][\USymbChar{38}{105}] % QUARTER NOTE \definesymbol[EighthNote][\USymbChar{38}{106}] % EIGHTH NOTE ...

Re: [NTG-context] How to invoke Unicode symbols?

2011-01-09 Thread Wolfgang Schuster
Am 09.01.2011 um 16:57 schrieb Vyatcheslav Yatskovsky: Hi, How to invoke pre-defined Unicode symbols? Use a font with the symbols. \starttext Symbols: \definedfont[file:Symbola sa 2]♩♪ \stoptext You can download the font here: http://users.teilar.gr/~g1951d/ Wolfgang

[NTG-context] External figures in section headings

2011-01-09 Thread Felix Ingram
Hello all, I need to have an image as part of my section headings. I've read through an example in the It's in the details manual and came up with the following example: \definelayer[chapterstart][width=\paperwidth,height=\paperheight]

Re: [NTG-context] howto start with presentations?

2011-01-09 Thread Jonas Stein
On 2011-01-09, Jonas Stein n...@jonasstein.de wrote: You can extract the files inside $TEXMFLOCAL (usually set to /usr/local/share/texmf, but see the output of Thank you again. I tried it now: $ kpsewhich --expand-var=\$TEXMFLOCAL /usr/local/share/texmf i extracted the zip file there as

Re: [NTG-context] howto start with presentations?

2011-01-09 Thread Wolfgang Schuster
Am 09.01.2011 um 18:15 schrieb Jonas Stein: there are two things i do not understand: 1) why are the modules still not found? 2) why is no errorcode raised but a pdf is created on a major problem like missing module? kind regards, sorry i forgot the link: the log files and the .tex

Re: [NTG-context] howto start with presentations?

2011-01-09 Thread Aditya Mahajan
On Sun, 9 Jan 2011, Wolfgang Schuster wrote: Am 09.01.2011 um 18:15 schrieb Jonas Stein: there are two things i do not understand: 1) why are the modules still not found? 2) why is no errorcode raised but a pdf is created on a major problem like missing module? kind regards, sorry i

Re: [NTG-context] How to invoke Unicode symbols?

2011-01-09 Thread Vyatcheslav Yatskovsky
On 09.01.2011 18:33, ntg-context-requ...@ntg.nl wrote: Use a font with the symbols. \starttext Symbols: \definedfont[file:Symbola sa 2]♩♪ \stoptext You can download the font here: http://users.teilar.gr/~g1951d/ http://users.teilar.gr/%7Eg1951d/ Wolfgang Thank you, but... I can easily get ♪

Re: [NTG-context] howto start with presentations?

2011-01-09 Thread Jonas Stein
It appears that you have a mismatch of the log and tex files. sorry, my fault. module. (BTW, the style is Swoosh, with capital S). Moreover, the call to i changed it to capital Swoosh now i have different color for the text in the pdf, but i can not see the wave-effect yet. near the

Re: [NTG-context] \lgroup in mkIV

2011-01-09 Thread Khaled Hosny
On Sun, Jan 09, 2011 at 01:13:25AM +, Arthur Reutenauer wrote: That was the same range that I had looked at, but somehow that pdf did not have 27EC-27EF. Neither does char-def.lua. So, I guess that these are newer additions. It's been introduced in Unicode 5.1 in March 2008.

Re: [NTG-context] How to invoke Unicode symbols?

2011-01-09 Thread Wolfgang Schuster
Am 09.01.2011 um 19:14 schrieb Vyatcheslav Yatskovsky: I can easily get ♪ just by copy-pasting, but I cannot get ♩ ! Even when the font is specified. When I paste ♩ symbol into TeXWorks, it disappears. That's why I want how to call it by name. \starttext \startfont[file:Symbola sa 2]

Re: [NTG-context] \lgroup in mkIV

2011-01-09 Thread Khaled Hosny
On Sat, Jan 08, 2011 at 08:29:17PM +, Arthur Reutenauer wrote: There are, but context is looking for the wring character; it is looking for U+3014 (which I think is a CJK bracket Indeed. It's one of the angle brackets that one finds in many CJK fonts. while it

Re: [NTG-context] Gnuplot module: Patching of Gnuplot binary still needed?

2011-01-09 Thread Mojca Miklavec
On Sun, Jan 9, 2011 at 22:50, jeroen.mus...@hotmail.com wrote: In the past I was using this instruction set to install GnuPlot in Windows Context Mkiv minimals but it does not work anymore. Is there a bug in t-gnuplot version 2009-07-21? Thanks a lot for the bug report. I can confirm that

Re: [NTG-context] howto start with presentations?

2011-01-09 Thread Aditya Mahajan
On Sun, 9 Jan 2011, Jonas Stein wrote: It appears that you have a mismatch of the log and tex files. sorry, my fault. module. (BTW, the style is Swoosh, with capital S). Moreover, the call to i changed it to capital Swoosh now i have different color for the text in the pdf, but i can not

Re: [NTG-context] \lgroup in mkIV

2011-01-09 Thread Aditya Mahajan
On Sun, 9 Jan 2011, Khaled Hosny wrote: On Sun, Jan 09, 2011 at 01:13:25AM +, Arthur Reutenauer wrote: That was the same range that I had looked at, but somehow that pdf did not have 27EC-27EF. Neither does char-def.lua. So, I guess that these are newer additions. It's been introduced

Re: [NTG-context] Gnuplot module: Patching of Gnuplot binary still needed?

2011-01-09 Thread Aditya Mahajan
On Sun, 9 Jan 2011, Mojca Miklavec wrote: On Sun, Jan 9, 2011 at 22:50, jeroen.mus...@hotmail.com wrote: In the past I was using this instruction set to install GnuPlot in Windows Context Mkiv minimals but it does not work anymore. Is there a bug in t-gnuplot version 2009-07-21? Thanks a

Re: [NTG-context] howto start with presentations?

2011-01-09 Thread Jonas Stein
now i have different color for the text in the pdf, but i can not see the wave-effect yet. Please also upload the pdf. https://github.com/jonasstein/context-quickstart/blob/master/context-schnelleinstieg.pdf Does a simple file with metappost graphics works? \starttext \startMPcode

Re: [NTG-context] \lgroup in mkIV

2011-01-09 Thread Mojca Miklavec
On Sun, Jan 9, 2011 at 19:59, Aditya Mahajan wrote: On Sun, 9 Jan 2011, Khaled Hosny wrote: That is why I asked Hans while ago how char-def.lua was generated, from what version of Unicode and whether it is updated/updatable or not; I don't know how it was generated. Mojca and I occasionally

Re: [NTG-context] \lgroup in mkIV

2011-01-09 Thread Khaled Hosny
On Sun, Jan 09, 2011 at 01:59:20PM -0500, Aditya Mahajan wrote: On Sun, 9 Jan 2011, Khaled Hosny wrote: On Sun, Jan 09, 2011 at 01:13:25AM +, Arthur Reutenauer wrote: That was the same range that I had looked at, but somehow that pdf did not have 27EC-27EF. Neither does char-def.lua. So,

Re: [NTG-context] howto start with presentations?

2011-01-09 Thread Aditya Mahajan
On Sun, 9 Jan 2011, Jonas Stein wrote: now i have different color for the text in the pdf, but i can not see the wave-effect yet. Please also upload the pdf. https://github.com/jonasstein/context-quickstart/blob/master/context-schnelleinstieg.pdf Does a simple file with metappost

Re: [NTG-context] Passing and retrieveing a variable

2011-01-09 Thread Hans Hagen
On 8-1-2011 7:12, Procházka Lukáš wrote: So, an earlier splitting may be performed by something like for a in document.arguments:gmatch(([^,]+)) do local k, v = a:match((.*)=(.*)) document.arguments[k] = v end utilities.parsers.settings_to_hash( document.arguments.arg or ,

Re: [NTG-context] How to invoke Unicode symbols?

2011-01-09 Thread Vyatcheslav Yatskovsky
On 09.01.2011 20:46, ntg-context-requ...@ntg.nl wrote: \starttext \startfont[file:Symbola sa 2] \fontchar{notequarter} \fontchar{musicalnote} \fontchar{musicalnotedbl} \fontchar{sixteenthnotedbl} \stopfont \stoptext You can define symbols for them. \startfont[file:Symbola602 sa 2]

Re: [NTG-context] \lgroup in mkIV

2011-01-09 Thread Hans Hagen
On 9-1-2011 7:59, Aditya Mahajan wrote: I don't know how it was generated. Mojca and I occasionally update the file by adding the names of math symbols. If the latest unicode symbol list is available in text format, it should not be too difficult to check if the table in char-def has any

Re: [NTG-context] \lgroup in mkIV

2011-01-09 Thread Hans Hagen
On 9-1-2011 8:58, Mojca Miklavec wrote: It is definitely updatable, but not necessary regularly updated :) :) :) The code that generated the list cannot be used without modifications since there have been many manual changes on the old list, but it is definitely doable. I have a couple of

Re: [NTG-context] External figures in section headings

2011-01-09 Thread luigi scarso
On Sun, Jan 9, 2011 at 5:33 PM, Felix Ingram f.ingram.li...@gmail.com wrote: Hello all, I need to have an image as part of my section headings. I've read through an example in the It's in the details manual and came up with the following example:

[NTG-context] mkiv: verbatim lua eats my quotes

2011-01-09 Thread Thomas A. Schmitz
Hi all, is this a bug or a feature: in verbatim lua code, my double and ' single quotation marks are eaten up in mkiv (everything is colorless, but correct in mkii). Example: \starttext \startLUA require 'lpeg' sep = lpeg.P(,) \stopLUA \stoptext Thanks Thomas

Re: [NTG-context] External figures in section headings

2011-01-09 Thread Felix Ingram
On 9 January 2011 20:39, luigi scarso luigi.sca...@gmail.com wrote: On Sun, Jan 9, 2011 at 5:33 PM, Felix Ingram f.ingram.li...@gmail.com wrote: Hello all, I need to have an image as part of my section headings. I've read through an example in the It's in the details manual and came up with

Re: [NTG-context] howto start with presentations?

2011-01-09 Thread Jonas Stein
You need to either enable write18 or add \runMPgraphicsfalse on the top of your file. I put \runMPgraphicsfalse in the first line of test.tex. That changed nothing. Then i searched for write18 in the wiki. I found ConTeXt defines \systemcommandmode that is 2 if \write18 is enabled, 1

Re: [NTG-context] Natural tables (split) + setupinteraction = fail? (latest mkiv)

2011-01-09 Thread luigi scarso
On Sun, Jan 9, 2011 at 4:14 PM, Marco Pessotto melmo...@gmail.com wrote: Hello there. See the following minimal example: begin \setupinteraction[state=start,color=black,contrastcolor=black] \starttext \placetable[split]{Test} {\bTABLE[split=yes] \dorecurse{60}{ \bTR \bTD

[NTG-context] handling key=value sets with lua

2011-01-09 Thread Philipp A.
hi list, skip to the many %%% if you just want to help me ;) i need to make a macro which consists of ten optional arguments. it wouldn’t be too ugly to require to write the following to use it, since it outputs a 3×3 matrix with an adjacent tenth item, but tex can’t handle ten arguments afaik.

Re: [NTG-context] handling key=value sets with lua

2011-01-09 Thread Hans Hagen
On 9-1-2011 11:13, Philipp A. wrote: i wanted to instead define bigcrafting to work like this: \bigcrafting [21=planks, 22=planks, 31=planks, 32=planks] [workbench] but \getparametershttp://wiki.contextgarden.net/Commands_with_KeyVal_argumentscan’t handle numerical values. Why

Re: [NTG-context] howto start with presentations?

2011-01-09 Thread Aditya Mahajan
On Sun, 9 Jan 2011, Jonas Stein wrote: You need to either enable write18 or add \runMPgraphicsfalse on the top of your file. I put \runMPgraphicsfalse in the first line of test.tex. That changed nothing. Do you have the metapost executable and format. Does a minimal metapost file work.

Re: [NTG-context] handling key=value sets with lua

2011-01-09 Thread Philipp A.
2011/1/9 Hans Hagen pra...@wxs.nl On 9-1-2011 11:13, Philipp A. wrote: i wanted to instead define bigcrafting to work like this: \bigcrafting [21=planks, 22=planks, 31=planks, 32=planks] [workbench] but \getparameters

Re: [NTG-context] handling key=value sets with lua

2011-01-09 Thread luigi scarso
On Sun, Jan 9, 2011 at 11:13 PM, Philipp A. flying-sh...@web.de wrote: hi list, skip to the many %%% if you just want to help me ;) i need to make a macro which consists of ten optional arguments. it wouldn’t be too ugly to require to write the following to use it, since it outputs a 3×3

[NTG-context] Math delimiters too big in lucida in MKII

2011-01-09 Thread Yue Wang
Hi, Hans: I dont know why you do this in math-lbr.mkii: \def\LBRbig {\@@dobig{8.20}} \def\LBRBig {\@@dobig{10.80}} \def\LBRbigg {\@@dobig{13.42}} \def\LBRBigg {\@@dobig{16.03}} \def\LBRbiggg{\@@dobig{17.72}} \def\LBRBiggg{\@@dobig{21.25}} % \def\LBRbig {\@@dobig{0.820}} % \def\LBRBig

Re: [NTG-context] Gnuplot module: Patching of Gnuplot binary still needed?

2011-01-09 Thread Mojca Miklavec
On Sun, Jan 9, 2011 at 19:54, Mojca Miklavec mojca.miklavec.li...@gmail.com wrote: On Sun, Jan 9, 2011 at 22:50,  jeroen.mus...@hotmail.com wrote: In the past I was using this instruction set to install GnuPlot in Windows Context Mkiv minimals but it does not work anymore. Is there a bug in

[NTG-context] mptopdf (broken again)

2011-01-09 Thread Mojca Miklavec
Hans Taco, A tiny request: is there any chance to make the mptopdf script point to --script mptopdf instead of --script base? And note for Taco: I have no idea how it got there (I think that I use TLContrib), but my TL installation (/usr/texbin/mptopdf) contains: eval '(exit $?0)' eval 'exec

Re: [NTG-context] howto start with presentations?

2011-01-09 Thread Jonas Stein
I put \runMPgraphicsfalse in the first line of test.tex. That changed nothing. Do you have the metapost executable and format. Does a minimal metapost file work. i think i have metapost installed: # whereis mpost mpost: /usr/bin/mpost /usr/share/man/man1/mpost.1.gz Hans response on the

Re: [NTG-context] howto start with presentations?

2011-01-09 Thread Aditya Mahajan
On Mon, 10 Jan 2011, Jonas Stein wrote: I put \runMPgraphicsfalse in the first line of test.tex. That changed nothing. Do you have the metapost executable and format. Does a minimal metapost file work. i think i have metapost installed: # whereis mpost mpost: /usr/bin/mpost

Re: [NTG-context] howto start with presentations?

2011-01-09 Thread Jonas Stein
# whereis mpost mpost: /usr/bin/mpost /usr/share/man/man1/mpost.1.gz Does it work? That is if you compile beginfig(1) draw fullcircle scaled 3cm ; endfig ; end ; using `mp file.mp` do you get a correct file.1 file (open it using a ps viewer). $ mpost file.mp okular file.1 shows

[NTG-context] Problem with Encoding math symbols

2011-01-09 Thread Anand Raj
Hi, I have xml containing following mathml. The Ω is symbol replaced with * #937;* in the xml. But when i run the tex file. The pdf is not rendered with Ω symbol. I have enclosed my xml and tex files. Suppose that math xmlns=http://www.w3.org/1998/Math/MathML; mstyle displaystyle=true

[NTG-context] Computer Modern Typewriter Proportional

2011-01-09 Thread Raymond LeClair
Does anyone know how the Computer Modern Typewriter Proportional font would be specified in ConTeXt? In Latex is is specified as follows: \usepackage[T1]{fontenc} \renewcommand*\ttdefault{cmvtt} \renewcommand*\familydefault{\ttdefault} %% Only if the base font of the document is to be

Re: [NTG-context] mptopdf (broken again)

2011-01-09 Thread Taco Hoekwater
Hi, That mptopdf probably comes from the 'mptopdf' texlive package. On 01/10/2011 12:37 AM, Mojca Miklavec wrote: And when I try to use it I get: mptopdf a.mp -bash: /usr/texbin/mptopdf: Permission denied Permission denied is usually a file permission error (script is not executable).