[NTG-context] [OT] Documentation

2011-12-03 Thread Aditya Mahajan
http://www.icanbarelydraw.com/comic/821 ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage

[NTG-context] Bug with caption

2011-12-03 Thread Aditya Mahajan
Hi, If I use \setupcaption[number=no] and include a float with no caption, then all subsequent floats do not have a caption! Here is an example (using 2011.11.29) \setupcaption[number=no] \startbuffer \startnotmode[bugfix] \startplacefigure[location=here] Figure with no caption \stopp

Re: [NTG-context] Saving module data in tuc file

2011-12-03 Thread Aditya Mahajan
On Sun, 4 Dec 2011, luigi scarso wrote: On Sun, Dec 4, 2011 at 1:20 AM, Aditya Mahajan wrote: Hi, How does one save and read third-party data in tuc file at the lua end? You can read the data with loadfile or dofile: utilitydata=dofile('test.tuc') But doesn't ConTeXt already read the tuc f

Re: [NTG-context] Saving module data in tuc file

2011-12-03 Thread luigi scarso
On Sun, Dec 4, 2011 at 1:20 AM, Aditya Mahajan wrote: > Hi, > > How does one save and read third-party data in tuc file at the lua end? You can read the data with loadfile or dofile: utilitydata=dofile('test.tuc') and then you have the table stored into utilitydata See for the difference with load

[NTG-context] Saving module data in tuc file

2011-12-03 Thread Aditya Mahajan
Hi, How does one save and read third-party data in tuc file at the lua end? I am trying to write a module t-ifchanged that defines a \doiffilechanged macro that provides the functionality of mtxrun --ifchanged without calling an external program (This is meant to be a support module for t-vim

Re: [NTG-context] Fractions and binomial inlined in text ($n \choose \frac{n}2$): Parentheses not scaled

2011-12-03 Thread dalyoung
Dear Paul, > using the following minimal example > >\starttext >Using \type{\choose} in text $n \choose \frac{n}2$. > Please try $\displaystyle{n \choose \frac{n}2}$. It is working for me. I hope it is what you are looking for. best regards, Dalyoung

Re: [NTG-context] Word-wrap/hyphenation with very large font size not working consistently

2011-12-03 Thread Pavneet Arora
Thanks for the clarification! I'll keep that in mind. On 11-12-03 12:14 PM, Wolfgang Schuster wrote: Am 03.12.2011 um 17:55 schrieb Pavneet Arora: Thanks Wolfgang, I see that the main change was align=broad as an option to \framed. Could you tell me what that does, or point me to where it

[NTG-context] \lastpage is not set when using arranging

2011-12-03 Thread Aditya Mahajan
Hi, Consider the following example: \setuppapersize[A5][A4,landscape] \setuparranging[2SIDE] \setupfootertexts[Page \currentpage\ of \lastpage] \starttext \dorecurse{10}{\input knuth} \stoptext Notice that the footer says Page 1 or 0, Page 2 of 0, etc. Aditya

Re: [NTG-context] Parse error when using `\define`

2011-12-03 Thread Wolfgang Schuster
Am 03.12.2011 um 20:06 schrieb Paul Menzel: > Dear ConTeXt folks, > > > could some please try to parse the following minimal example and report > back if a parse problem occurs. Please find the protocols attached. > >\define[1]\abs{\lvert #1 \rvert} > >\define\Ew{{\mathbf E}}

[NTG-context] Parse error when using `\define`

2011-12-03 Thread Paul Menzel
]} \starttext a \starttext I am using ConTEXt MKIV 2011.11.25 21:29 with LuaTeX 0.70.1 and I have to insert `/end` manually. $ context 20111203--parse-error.tex mtx-context | run 1: luatex --fmt="/opt/context/tex/texmf-cache/luatex-cache/co

[NTG-context] Fractions and binomial inlined in text ($n \choose \frac{n}2$): Parentheses not scaled

2011-12-03 Thread Paul Menzel
Dear ConTeXt folks, using the following minimal example \starttext Using \type{\choose} in text $n \choose \frac{n}2$. \startformula n \choose \frac{n}2 \stopformula \CONTEXT\ \contextmark\ \contextversion\ with \texenginename\

Re: [NTG-context] [solved – `\texengineversion`] Define `\luatexversion` similar to `\contextversion`

2011-12-03 Thread Paul Menzel
Am Samstag, den 03.12.2011, 19:28 +0100 schrieb Wolfgang Schuster: > Am 03.12.2011 um 19:23 schrieb Paul Menzel: > > thanks to Robin’s example documents I found out about the following last > > two commands > > > >\Context\ \contextmark\ \contextversion > > > > allowing to put the used c

Re: [NTG-context] Define `\luatexversion` similar to `\contextversion`

2011-12-03 Thread Wolfgang Schuster
Am 03.12.2011 um 19:23 schrieb Paul Menzel: > Dear ConTeXt folks, > > > thanks to Robin’s example documents I found out about the following last > two commands > >\Context\ \contextmark\ \contextversion > > allowing to put the used components and versions into the document. > > Then

[NTG-context] Define `\luatexversion` similar to `\contextversion`

2011-12-03 Thread Paul Menzel
Dear ConTeXt folks, thanks to Robin’s example documents I found out about the following last two commands \Context\ \contextmark\ \contextversion allowing to put the used components and versions into the document. Then I found `\luaversion` to display the version of Lua. But I could no

Re: [NTG-context] Word-wrap/hyphenation with very large font size not working consistently

2011-12-03 Thread Wolfgang Schuster
Am 03.12.2011 um 17:55 schrieb Pavneet Arora: > Thanks Wolfgang, > > I see that the main change was align=broad as an option to \framed. Could you > tell me what that does, or point me to where it is described? I see broad > described in terms of width and height but not align under the descr

Re: [NTG-context] Word-wrap/hyphenation with very large font size not working consistently

2011-12-03 Thread Pavneet Arora
Thanks Wolfgang, I see that the main change was align=broad as an option to \framed. Could you tell me what that does, or point me to where it is described? I see broad described in terms of width and height but not align under the description for framed. Thanks. On 11-12-03 10:43 AM, Wolf

Re: [NTG-context] Lua script not registered

2011-12-03 Thread John Kitzmiller
---Mojca wrote: On Sat, Dec 3, 2011 at 04:56, John Kitzmiller wrote: > > I think I can get this setuptex.bat automated for random context runs but, > > for some reason(s) C:>context somefile.tex will not work globally on my > personal computer (Lenovo x100e) over which I have admin control (maybe

Re: [NTG-context] Word-wrap/hyphenation with very large font size not working consistently

2011-12-03 Thread Wolfgang Schuster
Am 03.12.2011 um 16:31 schrieb Pavneet Arora: > I am trying to typeset some signs for a construction site. I enclose a > (somewhat contrived) for consideration. > > What I am having difficulty with is to get word wrap and interline spacing to > work consistently. I am using \framed, but if t

[NTG-context] Title page for diploma thesis

2011-12-03 Thread Paul Menzel
Dear ConTeXt folks, I am trying to format the title page for a diploma thesis. Looking at the Wiki most of the title or cover pages just have the title centered and maybe a subtitle right below [1]. \starttext \definemakeup[titlepage][align=middle] \starttitlepag

[NTG-context] Word-wrap/hyphenation with very large font size not working consistently

2011-12-03 Thread Pavneet Arora
I am trying to typeset some signs for a construction site. I enclose a (somewhat contrived) for consideration. What I am having difficulty with is to get word wrap and interline spacing to work consistently. I am using \framed, but if there is a better way please let me know. The trouble I

[NTG-context] displaylines in textetxt?

2011-12-03 Thread Meer, H. van der
Is it impossible to typeset displaylines in textext called inside metapost? The gives an error: \starttext \startMPpage label(textext("$$\displaylines{a=b\cr}$$\strut"),origin); \stopMPpage \stoptext metapost/context/base/metafun.mpiv ! Missing } inserted. -- }

Re: [NTG-context] terrible png placement

2011-12-03 Thread Otared Kavian
Hi Hans, On Mac OS X 10.7.2, testing your file I get afile of 110 KB with mkii, and 72 KB with mkiv (from the minimals). You can find the outputs here: http://dl.dropbox.com/u/4316076/test-png-mkii.pdf http://dl.dropbox.com/u/4316076/test-png-mkiv.pdf All this with ConTeXt ver:

Re: [NTG-context] Lua script not registered

2011-12-03 Thread luigi scarso
On Sat, Dec 3, 2011 at 4:56 AM, John Kitzmiller wrote: > Replying to the list in this manner--having to retype the subject--is > unusual to me, and I hope it does not create problems for the list. Please > help me on how to reply within the mail archive to make more efficient. Many > thanks to tho

Re: [NTG-context] [ntg-context] beta

2011-12-03 Thread Hans Hagen
On 3-12-2011 11:13, robin.kirk...@csiro.au wrote: - I'll see what I can do with multiple units. Thanks. Not an urgent one for me. That should work in the copy I sent you (at least minutes and seconds do). Hans -

Re: [NTG-context] Lua script not registered

2011-12-03 Thread Hans Hagen
On 3-12-2011 04:56, John Kitzmiller wrote: Replying to the list in this manner--having to retype the subject--is unusual to me, and I hope it does not create problems for the list. Please help me on how to reply within the mail archive to make more efficient. Many thanks to those who have replied

Re: [NTG-context] interaction?

2011-12-03 Thread Hans Hagen
On 3-12-2011 08:17, Wolfgang Schuster wrote: Am 03.12.2011 um 01:02 schrieb Hans Hagen: Hi, what was the example that went wrong? I can make a example but not today. No problem as today/tomorrow I'm a bit busy anyway. Hans ---

[NTG-context] OT: Replying to messages from archive (was: Lua script not registered)

2011-12-03 Thread Paul Menzel
Dear John, Am Freitag, den 02.12.2011, 22:56 -0500 schrieb John Kitzmiller: > Replying to the list in this manner--having to retype the subject--is > unusual to me, and I hope it does not create problems for the list. Please > help me on how to reply within the mail archive to make more efficient

Re: [NTG-context] [ntg-context] beta

2011-12-03 Thread Robin.Kirkham
On 3 December 2011 Hans Hagen wrote: > - concerning unicode celsuis and fahrenheit symbols: lm has only one of > them hence the inconsistent rendering. I now check for both being > present and fallback in case one of them is missing. I thought it might be a font thing > - dB (A) : I've added tha

Re: [NTG-context] Lua script not registered

2011-12-03 Thread Mojca Miklavec
On Sat, Dec 3, 2011 at 04:56, John Kitzmiller wrote: > > I think I can get this setuptex.bat automated for random context runs but, > > for some reason(s) C:>context somefile.tex will not work globally on my > personal computer (Lenovo x100e) over which I have admin control (maybe I am > not a good