[NTG-context] t-letter: problem with align

2011-07-07 Thread Peter Münster
Hello, The align key seems to be ignored here: \usemodule[letter] \setupletterstyle[head][align=flushright] \setupletterstyle[letterhead][align=flushright] \setupletter[fromname=bla, fromaddress=bla bla] \starttext \startletter bla \stopletter \stoptext TIA for any help! -- Peter

Re: [NTG-context] t-letter: problem with align

2011-07-07 Thread Peter Münster
On Thu, Jul 07 2011, Wolfgang Schuster wrote: The head use predefined layouts and you can select between a left aligned, a centered or a right aligned layout. \setupletterstyle[head][alternative=right] On page 99 of lettercorrespondence.pdf you write: The default alternative a prints the

Re: [NTG-context] t-letter: problem with align

2011-07-07 Thread Peter Münster
On Fri, Jul 08 2011, Wolfgang Schuster wrote: With the alternative “a” i print only the values from the variables “fromname” and “fromaddress” while “left”, “middle” and “right” are complexer. Another feature from the last three alternatives is that the alignment is fixed and you can’t change

Re: [NTG-context] modules in minimals (important)

2011-07-06 Thread Peter Münster
On Wed, Jun 29 2011, Mojca Miklavec wrote: Hans has changed the command line parameter for modules (--modules=vim should work now). The problem is that he now stores the chosen modules to a variable modules as opposed to extras. So if you want to keep your modules, please edit

Re: [NTG-context] Scaling down the resolution of used pictures

2011-06-29 Thread Peter Münster
On Wed, Jun 29 2011, Hans Hagen wrote: That would be a possibility, but I was wondering if there was a way to let ConTeXt do it. Saves a lot of time. Also: when changing from A4 to A5, you have to do it all over again. You can plugin in a converter. However, it only works for one to anothe

Re: [NTG-context] \about[node] quotation marks

2011-06-27 Thread Peter Münster
On Tue, Jun 28 2011, Kip Warner wrote: Is there any way to have ConTeXt not surround the link in the text with quotation marks when using \about[some_node]? \setupreferencing[left=, right=] -- Peter

Re: [NTG-context] Trailing Space after \cldcontext

2011-06-26 Thread Peter Münster
On Mon, Jun 27 2011, Kip Warner wrote: Is there any way to remove the trailing space that appears to be automatically inserted when \cldcontext output is captured? For instance, Bazaar revision \cldcontext{os.resultofbzr revno}. Will show Bazaar revision 43 . I've manually checked the

[NTG-context] no-break space broken

2011-06-14 Thread Peter Münster
Hello, With the latest beta, the no-break space seems to be broken: \starttext \hsize1pt bla~bla % line breaks here \stoptext No problem with mkii. -- Peter ___ If your question is of interest to others

Re: [NTG-context] Getting arguments by Lua

2011-06-09 Thread Peter Münster
On Thu, Jun 09 2011, Procházka Lukáš Ing. - Pontex s. r. o. wrote: but I'd need to get also the source file name (Source.mkiv) and the option (--result - Result.pdf). \starttext result (lua): \ctxlua{context(environment.outputfilename)}\par result (tex): \systemparameter{file} \stoptext --

[NTG-context] bad page breaks with \startitemize[columns]

2011-06-06 Thread Peter Münster
Hello, How can one avoid these bad page breaks here: \starttext \dorecurse{10}{ \startsection[title=test] \startitemize[columns, intro] \item bla \stopitemize \input tufte \stopsection } \stoptext TIA for any hints, -- Peter

Re: [NTG-context] bad page breaks with \startitemize[columns]

2011-06-06 Thread Peter Münster
On Mon, Jun 06 2011, luigi scarso wrote: \starttext \dorecurse{10}{  \startsection[title=test]    \startitemize[columns, intro]    \item bla    \stopitemize    \input tufte  \stopsection } \stoptext \setuphead[section][before={\testpage[5]\blank}] I've already tried that... Please

Re: [NTG-context] Custom function

2011-06-04 Thread Peter Münster
On Sat, Jun 04 2011, Wolfgang Schuster wrote: Edition de Trilogie de l'enfer en novembre 2011 chez Sens Tonka Should be: Édition (common error in French) -- Peter ___ If your question is of

Re: [NTG-context] math: command for absolute value: `\define\abs[1]{\lvert #1 \rvert}` throws `\lvert -\Udelimiter`.

2011-06-04 Thread Peter Münster
On Sat, Jun 04 2011, Paul Menzel wrote: I want to define `\abs` as the command for the absolute value. The following minimal example is also attached. \define\abs[1]{\lvert #1 \rvert} Don't ask me why \define doesn't work (certainly related to expansion), but \def does the job:

Re: [NTG-context] xml syntax for \externalfigure

2011-06-03 Thread Peter Münster
On Fri, Jun 03 2011, Thomas A. Schmitz wrote: Ah, expdoifelse is for expanded doifelse, right? Any examples for such a lua helper? Sounds good, but I still haven't been able to understand how to mix xml and lua code. \startluacode function my_externalfigure(file, t) local args_present

[NTG-context] \startitemize: intro ignored with columns

2011-06-01 Thread Peter Münster
Hello, How can I avoid a page break here: \setuplayout[height=2cm] \starttext \startsection[title=test] \startitemize[columns, intro] \item bla \stopitemize \stopsection \stoptext TIA for any hints! -- Peter

Re: [NTG-context] \startitemize: intro ignored with columns

2011-06-01 Thread Peter Münster
On Wed, Jun 01 2011, Wolfgang Schuster wrote: How can I avoid a page break here: \setuplayout[height=2cm] \starttext \startsection[title=test] \startitemize[columns, intro] \item bla \stopitemize \stopsection \stoptext It would help when you give ConTeXt space for the text, Of

[NTG-context] \asciimode and cld

2011-05-27 Thread Peter Münster
Hello, How can one use \asciimode in cld syntax? This does not seem to work: context.starttext() context.asciimode() contextbla % bla context.stoptext() TIA for any hints! -- Peter ___ If your question

Re: [NTG-context] checking mainlanguage setup

2011-05-27 Thread Peter Münster
On Fri, May 27 2011, Jeong Dalyoung wrote: Is it possible to check what is the mainlanguage set in document? Yes. Example: %\mainlanguage[fr] %\language[fr] \starttext currentlanguage: \doifelse\currentlanguage{fr}{French}{Not French}\par currentmainlanguage:

Re: [NTG-context] Last names

2011-05-20 Thread Peter Münster
Steffen Wolfrum cont...@st.estfiles.de writes: \setupTABLE[…][…][align=nothyphenated] I thought the same, but why does this end in lines that are not only nothyphenated but also not-wrapped?? align={nothyphenated, stretch} or align={nothyphenated, flushleft} can help here. --

Re: [NTG-context] Last names

2011-05-20 Thread Peter Münster
Steffen Wolfrum cont...@st.estfiles.de writes: \setupTABLE[column][1][width=2.7cm,align={nothyphenated,right}] Please don't use align=right, it's so horrible ! ;)) (the big bug, that'll never be fixed...) -- Peter

[NTG-context] key=val in cld syntax: val not protected

2011-05-19 Thread Peter Münster
Hello, With this test.cld file, the = blub is not printed: context.starttext() context.startchapter{title = bla = blub} context.stopchapter() context.stoptext() Workaround: context.startchapter{title = {bla = blub}} But according to the documentation

[NTG-context] 2 problems with \date[]

2011-05-18 Thread Peter Münster
Hello, The year is always 2011 and the French month août has wrong spelling: \mainlanguage[fr] \starttext \date[d=23, m=3, y=1985]: must be \quote{1985}\par \date[d=1, m=8, y=2011]: must be \quote{août} \stoptext Cheers, -- Peter

[NTG-context] error with table.serialize(environment)

2011-05-18 Thread Peter Münster
Hello, Here a test file test.cld to show the problem: local t = {bla = blub} -- no problem: print(table.serialize(t)) -- error: l-table.lua:565: unable to dump given function: print(table.serialize(environment)) context.bye() -- Peter

Re: [NTG-context] error with table.serialize(environment)

2011-05-18 Thread Peter Münster
Hans Hagen pra...@wxs.nl writes: -- error: l-table.lua:565: unable to dump given function: print(table.serialize(environment)) to be expected And what about replacing line 565 by something like this: handle(format(%s [%q]=loadstring(%q),,depth,k,

[NTG-context] \setuplayout[grid=yes] - undefined control sequence

2011-05-18 Thread Peter Münster
Hello, With this file, I get an undefined control sequence: \setuplayout[grid=yes] \starttext bla \stoptext Thanks for the fixes in the latest beta, Hans! -- Peter ___ If your question is of interest to

Re: [NTG-context] t-filter: no table created when Unicode characters are included

2011-05-01 Thread Peter Münster
Aditya Mahajan adit...@umich.edu writes: (but I don't see why locale should be different when a program is run from inside context then when it is run from a shell). Taco can surely better explain why. I think somewhere in the luatex manual, he explains why luatex sets locale to C. To see the

Re: [NTG-context] [t-rst] inclusion into Minimals, i. e. installation using `./first-setup.sh --extras='t-rst'`

2011-05-01 Thread Peter Münster
Mojca Miklavec mojca.miklavec.li...@gmail.com writes: 2. Until we do something about it, it would be very very desirable to put it to modules.contextgarden.net (I know that it is painful). Indeed, very painful ... ;) I'm sure, that the module authors would like to run just one simple command

Re: [NTG-context] t-filter: no table created when Unicode characters are included

2011-05-01 Thread Peter Münster
Aditya Mahajan adit...@umich.edu writes: $context --pipe Oh, nice option, that I haven't known yet! :) *\directlua{os.execute(locale)} LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 Strange, here it's: LANG= LC_CTYPE=C LC_NUMERIC=C LC_TIME=POSIX LC_COLLATE=C LC_MONETARY=POSIX LC_MESSAGES=POSIX

Re: [NTG-context] t-filter: no table created when Unicode characters are included

2011-05-01 Thread Peter Münster
Aditya Mahajan adit...@umich.edu writes: *\directlua{os.execute(locale)} Ok, locale outputs something depending on the enviroment. Lets look directly at the enviroment: $ CMD=set | grep -e ^LC_ -e ^LANG --8---cut here---start-8--- $ eval $CMD

Re: [NTG-context] is this possbile ? \externalfigure[c:\test\test.pdf at page 5 (0, 0) (20, 20)]

2011-04-18 Thread Peter Münster
정진기 jinkijinki.j...@partner.samsung.com writes: What I like to do is “getting certain area of certain page of a PDF file” using context command without saving to a separate JPG file. \clip[...]{\externalfigure[filename.pdf][page=X]} See also:

Re: [NTG-context] Using forms and saving values

2011-04-05 Thread Peter Münster
Cecil Westerhof cldwester...@gmail.com writes: I tried the first example from fill-in fields: \starttext \usemodule[fields, abr-pseudocaps] \setupinteraction[state=start] \starttext -- Peter ___ If

Re: [NTG-context] Using forms and saving values

2011-04-05 Thread Peter Münster
Wolfgang Schuster schuster.wolfg...@googlemail.com writes: No, “mkvi” is a valid file extension for MkIV. The difference between a mkiv and a mkvi file is that you can use named parameters, e.g. Hello, Why mkvi and not mkv ? -- Peter

Re: [NTG-context] nested quotes ?

2011-03-31 Thread Peter Münster
Steffen Wolfrum cont...@st.estfiles.de writes: \enquote{Needless to say \enquote{mind mapping} is just ...} And the result looked like this ... “Needless to say ‘mind mapping’ is just ...” Do we have something like this in ConTeXt too? \quotation{Needless to say \quote{mind mapping} is

Re: [NTG-context] nested quotes ?

2011-03-31 Thread Peter Münster
Marco net...@lavabit.com writes: I think the idea behind Steffens post was not to find a command that does the quoting, rather than finding *one* command that »knows« about the level of quotation and inserts the corresponding quotation marks. Right. That's why I mentioned also

Re: [NTG-context] Include path

2011-03-27 Thread Peter Münster
Aditya Mahajan adit...@umich.edu writes: Or modify TEXINPUTS and LUAINPUTS variables. I remember, that setting TEXINPUTS is not recommended. See also: http://wiki.contextgarden.net/Mark_IV#Troubleshooting Did that change? -- Peter

Re: [NTG-context] ConTeXt user manual: typo: componentonderdeel

2011-03-25 Thread Peter Münster
Paul Menzel paulepan...@users.sourceforge.net writes: PS: Will an updated version be published sometime? [1] http://www.pragma-ade.com/general/manuals/cont-eni.pdf Hello Paul, This file won't be updated. Corrections will go directly to the new revision of the manual (work in progress). You

Re: [NTG-context] ConTeXt user manual: typo: componentonderdeel

2011-03-25 Thread Peter Münster
Paul Menzel paulepan...@users.sourceforge.net writes: Corrections will go directly to the new revision of the manual (work in progress). You can find the links on the main wiki page. Do you mean [1]? No. http://wiki.contextgarden.net/manual_being_revised There is a link on the main wiki

Re: [NTG-context] beta

2011-03-25 Thread Peter Münster
Aditya Mahajan adit...@umich.edu writes: \setuppaersize[A5] appears to be working fine in MKIV. Nice! So you can close http://tracker.luatex.org/view.php?id=581 -- Peter ___ If your question is of

Re: [NTG-context] Text with background (overlay with a line by MP)

2011-03-19 Thread Peter Münster
Procházka Lukáš l...@pontex.cz writes: draw p yshifted -1cm withpen pencircle scaled 1mm withcolor .667red; draw p withpen pencircle scaled 0mm withcolor white; draw p yshifted -OverlayHeight withpen pencircle scaled 1mm withcolor .667red; (quick and dirty, there is certainly a cleaner

Re: [NTG-context] Text with background (overlay with a line by MP)

2011-03-19 Thread Peter Münster
Procházka Lukáš l...@pontex.cz writes: \def\Text#1{\inframed[background=Label,frame=off]{#1}} Or like this (less quick and perhaps less dirty): \def\Text#1{\inframed[location=top, background=Label, boffset=\lineheight, frame=off]{#1}} -- Peter

Re: [NTG-context] Text with background (overlay with a line by MP)

2011-03-19 Thread Peter Münster
pmli...@free.fr (Peter Münster) writes: Procházka Lukáš l...@pontex.cz writes: \def\Text#1{\inframed[background=Label,frame=off]{#1}} Or like this (less quick and perhaps less dirty): \def\Text#1{\inframed[location=top, background=Label, boffset=\lineheight, frame=off]{#1}} Oh

Re: [NTG-context] Is it possible to generate only a table of contents

2011-03-18 Thread Peter Münster
Cecil Westerhof cldwester...@gmail.com writes: Is it possible to generate only a TOC? (\completecontent) When creating a document I like to have the 'stakeholders' to have an indication of what is going on. For this a TOC is enough. I could create the document and cut out the TOC, but it

Re: [NTG-context] Accents messed up

2011-03-17 Thread Peter Münster
Pau vim.u...@googlemail.com writes: %\enableregime[utf-8] Uncomment this line. \enableregime[latin1] Remove this line. my terminal encoding is set to UTF-8. Good. -- Peter ___ If your question

Re: [NTG-context] + in file names

2011-03-15 Thread Peter Münster
Vedran Miletić riva...@gmail.com writes: Thanks, but this says nothing about + character specifically. It's easier and less error-prone to say what characters are guaranteed to work, than to say what characters could cause problems. There are a lot more characters, that you could try:

Re: [NTG-context] + in file names

2011-03-14 Thread Peter Münster
Vedran Miletić riva...@gmail.com writes: Should + not be used? It seems to work ok without modes, but I haven't tested deeply. There is now an entry in the FAQ: http://wiki.contextgarden.net/FAQ#Why_should_I_only_use_letters.2C_digits_and_hyphens_in_file.2Fpath_names.3F -- Peter

[NTG-context] latex style (was : Re: Ideas for restructuring the ConTeXt garden?)

2011-03-13 Thread Peter Münster
Henry House hajho...@hajhouse.org writes: I strongly agree that sample set-up code (ideally well-commented so that it also serves as a tutorial of sorts) to reproduce the style of LaTeX would be helpful. If you agree, that http://pmrb.free.fr/work/OS/ConTeXt/arbeit.pdf is standard latex style

Re: [NTG-context] I think I found a bug in \at

2011-03-05 Thread Peter Münster
Cecil Westerhof cldwester...@gmail.com writes: I would expect that \at{page}[test] gives:     pagina 1 but it gives:     page 1 Is it a bug, or am I doing something wrong? Probably the latter. Solution a: \at{pagina}[test] Solution b: \usemodule[googletranslate]

Re: [NTG-context] special character in filename

2011-03-05 Thread Peter Münster
Reviczky, Adam adam.revic...@kcl.ac.uk writes: only Hans can decide if this can/should be changed I won't argue for any changes, just thought to ask about it. A simple yes, can be done or no, its a really bad idea is perfectly enough for me. See also section 1.7 on page 11 of the ConTeXt

Re: [NTG-context] file dependencies

2011-03-04 Thread Peter Münster
Hans Hagen pra...@wxs.nl writes: --directives=system.dumpfiles should do that but it's currently broken Indeed. That's exactly what I'd tried before sending my request. I guess, the output file will have a special name? (but no make file output, at least not now as i never used make

[NTG-context] file dependencies

2011-03-03 Thread Peter Münster
Hello, Here comes a little feature request: it would be nice, if context allowed us to write a file with dependency information, like a C-compiler does for the dependencies of a C-file on the included header files. The best would be, to get such dependencies directly in Makefile syntax. Example:

[NTG-context] \setupinmargin no more known

2011-03-02 Thread Peter Münster
Hello, Bug or feature? -- Peter ___ 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

[NTG-context] errors processing context manual

2011-02-21 Thread Peter Münster
Hello, There are 3 errors when processing the context manual: 1.) ! LuaTeX error ...text/tex/texmf-context/tex/context/base/core-con.lua:178: attempt to call local 'mapper' (a table value) \starttext \startitemize[g] \item a \type{g} for Greek characters \item a \type{G} for Greek capitals

Re: [NTG-context] Bug

2011-02-14 Thread Peter Münster
Oliver Buerschaper oliver.buerscha...@mpq.mpg.de writes: I was wondering because not too long ago (e.g. 2010.11.12 18:22 MKIV) this didn't happen… are included files now automatically terminated by an implicit \par? Personally I would find that confusing. No answer to your question, just a

Re: [NTG-context] Controlling the space between the number and the title in heads

2011-02-13 Thread Peter Münster
maggy...@gmail.com writes: How to control the space between the number and the title in heads? By default it seems there is a space of about 1 em. I want to change that space and set a normal space instead (a word space), since I've put a dot stopper after the numbers

Re: [NTG-context] Controlling the space between the number and the title in heads

2011-02-13 Thread Peter Münster
Wolfgang Schuster schuster.wolfg...@googlemail.com writes: Related question: is there a macro, that returns the width of some content, so that one can use distance=\widthof{ }? http://www.ntg.nl/pipermail/ntg-context/2007/024390.html Thanks! So it seems, that there is nothing

[NTG-context] line-break discarded in \getparameters

2011-02-08 Thread Peter Münster
Hello, No space is printed between bla2 and bla3 with latest mkiv: \startsetups 1 \getparameters[Prefix][Text={bla1 bla2 bla3}] \stopsetups \starttext \setups{1} \PrefixText, no space between bla2 and bla3... \stoptext -- Peter

Re: [NTG-context] line-break discarded in \getparameters

2011-02-08 Thread Peter Münster
Wolfgang Schuster schuster.wolfg...@googlemail.com writes: Am 09.02.2011 um 00:31 schrieb Peter Münster: \startsetups 1 \getparameters[Prefix][Text={bla1 bla2 bla3}] \stopsetups Use \startrawsetups … \stoprawsetups. So, it's not a bug, but a feature? Should it be documented like

Re: [NTG-context] error updating beta WAS: beta

2011-02-02 Thread Peter Münster
Hans Hagen pra...@wxs.nl writes: no, i'm still trying to get mkii and mkiv working at the same time with a fundamental different setup strategy .. getting there Or perhaps 2 completely different distributions? mkii: frozen, only some fixes from time to time mkiv: no more mkii files, no more

Re: [NTG-context] error updating beta WAS: beta

2011-02-02 Thread Peter Münster
Vnpenguin vnpeng...@vnoss.org writes: On Wed, Feb 2, 2011 at 13:41, Peter Münster pmli...@free.fr wrote: no, i'm still trying to get mkii and mkiv working at the same time with a fundamental different setup strategy .. getting there Or perhaps 2 completely different distributions? mkii

Re: [NTG-context] beta

2011-02-01 Thread Peter Münster
Vedran Miletić riva...@gmail.com writes: Yes, there is a bug when using dots, Or a feature...?! ;) See also: - http://www.ntg.nl/pipermail/ntg-context/2010/052339.html (and such can mean a dot) - http://pmrb.free.fr/contextref.pdf section 1.7 ;-) -- Peter

[NTG-context] what about \super and \suber ?

2011-01-31 Thread Peter Münster
Hello, What about \super and \suber¹? Are these commands replaced by other commands, obsolete, broken,... ? ¹ http://pmrb.free.fr/contextref.pdf section 19.6, page 340 -- Peter ___ If your question is of

[NTG-context] [***SPAM***] Re: Left/right justification and interline-spacing inside natural tables (TABLE)

2011-01-31 Thread Peter Münster
Stefan Müller warrence@gmx.de writes: \starttext \bTABLE \bTR[width=10cm] \bTD \input knuth \eTD \eTR \eTABLE \stoptext \starttext \bTABLE \bTR[width=10cm, align=yes] \bTD \setupinterlinespace[5ex] \input knuth \eTD \eTR \eTABLE \stoptext -- Peter

[NTG-context] [***SPAM***] Re: [***SPAM***] Re: Left/right justification and interline-spacing inside natural tables (TABLE)

2011-01-31 Thread Peter Münster
Stefan Müller warrence@gmx.de writes: However, for some reason the following does not work. Only the space before the first line and the space between the first line and second line are changed (not even to the same dimension). Any ideas? deserunt mollit anim id est laborum. \eTD

Re: [NTG-context] beta

2011-01-31 Thread Peter Münster
Hans van der Meer h.vanderm...@uva.nl writes: Thanks for changing things that way between one and the other. I am starting to get a bit choleric about all things that constantly seem broken with the next update. Sorry for the sour note but these are costing me hours to iron out, time I do not

Re: [NTG-context] TeX-figures

2011-01-30 Thread Peter Münster
Vnpenguin vnpeng...@vnoss.org writes: I'm trying TeX-figures (Section 13.5 of ConTeX manual). Here is my test Hello, In the new manual it's section 16.5. \stopbuffer \externalfigure[mytable.tmp][width=0.8\textwidth] In mkiv, the buffer is not saved in a file. You need to do this

[NTG-context] problem with digit in buffer name

2011-01-30 Thread Peter Münster
Hello, I get ! I can't find file `virtual://viafile.1'. with the following example: \starttext \startbuffer[mytable1] bla \stopbuffer \savebuffer[mytable1][mytable.tmp] \externalfigure[mytable.tmp][width=0.8\textwidth] \stoptext -- Peter

Re: [NTG-context] TeX-figures

2011-01-30 Thread Peter Münster
Steffen Wolfrum cont...@st.estfiles.de writes: [...] \getbuffer Works great for me ... Sure, but it's really not the same ;) Compare: \starttext \startbuffer \startTEXpage[width=5cm] \input tufte \stopTEXpage \stopbuffer \getbuffer \startbuffer[testbuf] \input tufte \stopbuffer

[NTG-context] \typesetbuffer adds \starttext ... \stoptext

2011-01-30 Thread Peter Münster
Hello, It would be nice, if \typesetbuffer wouldn't add anything to the buffer. Here an example, where the outer \starttext ... \stoptext environment deranges: \starttext \startbuffer[pdf-pages] \setuppapersize[A7, landscape] \showframe \starttext page 1 \page page 2 \stoptext

Re: [NTG-context] \typesetbuffer adds \starttext ... \stoptext

2011-01-30 Thread Peter Münster
Wolfgang Schuster schuster.wolfg...@googlemail.com writes: It would be nice, if \typesetbuffer wouldn't add anything to the buffer. Here an example, where the outer \starttext ... \stoptext environment deranges: Why, context ignores the inner starttext/stoptext pair. Wrong interpretation

[NTG-context] luatex hangs on \showcolorgroup

2011-01-30 Thread Peter Münster
Hello, luatex takes 100% cpu (probably endless loop, at least some minutes ;) here: \starttext \halign {\hss#\cr \showcolorgroup[red][horizontal,name,number]\cr \showcolorgroup[green] [horizontal,name]\cr } \stoptext Message: systems : command \showcolorgroup not found in

[NTG-context] piping output from external command

2011-01-30 Thread Peter Münster
Hello, This used to work with pdftex: \starttext \input \string|echo hello world \stoptext What's the recommended way, to do this in mkiv? I've defined \Pipe{} like this: \startluacode userdata = userdata or {} function userdata.pipe(c) local h = io.popen(c) context(h:read*a)

Re: [NTG-context] piping output from external command

2011-01-30 Thread Peter Münster
Hans Hagen pra...@wxs.nl writes: On 30-1-2011 11:19, Peter Münster wrote: But I suppose that there is already a nice command in the core... ;) os.resultof(...) Thanks! No tex-command...? (not important, \ctxlua{context(os.resultof...)} is ok) -- Peter

[NTG-context] thin and narrow unicode spaces not rendered

2011-01-27 Thread Peter Münster
Hello, The thin space and the narrow no-break space are not typeset: \starttext THIN SPACE (U+2009): 50 \% NARROW NO-BREAK SPACE (U+202F): 50 \% NO-BREAK SPACE (U+00A0): 50 \% \type{\,}: 50\,\% \stoptext About one year ago, this used to work. Bug or feature? -- Peter

Re: [NTG-context] \definesynonyms broken?

2011-01-26 Thread Peter Münster
Verhaag, G.C.H.M. verhaagg...@ziggo.nl writes: \definesynonyms[kind][kinds][\infull] \definesynonyms[state][states][\infull] Don't use the same command. Better: \definesynonyms[kind][kinds][\KindFull] \definesynonyms[state][states][\StateFull] -- Peter

Re: [NTG-context] problem with margin=0pt

2011-01-26 Thread Peter Münster
Wolfgang Schuster schuster.wolfg...@googlemail.com writes: When you use “location=hanging” and set the margin to 0pt contexts sets the margin to 1.5em. I don’t know what do you want to achieve but maybe “location=serried” is what you want. Another question: does it make sense, that context

[NTG-context] problem with margin=0pt

2011-01-25 Thread Peter Münster
Hello, margin=0pt does not work here: \definedescription[Test][location=hanging, margin=0pt] \starttext \startTest{Problem} \input tufte \stopTest \setupdescriptions[Test][margin=0.0001pt] \startTest{Workaround} \input tufte \stopTest \stoptext -- Peter

Re: [NTG-context] problem with margin=0pt

2011-01-25 Thread Peter Münster
Wolfgang Schuster schuster.wolfg...@googlemail.com writes: When you use “location=hanging” and set the margin to 0pt contexts sets the margin to 1.5em. I don’t know what do you want to achieve but maybe “location=serried” is what you want. Right, location=serried is what I want! (I had a

[NTG-context] what about \numero ?

2011-01-18 Thread Peter Münster
Hello, \numero is broken (additional n is printed) and seems to be obsolete (comment in symb-mis.mkiv). Should \textnumero be used instead, or what else is recommended? -- Peter Münster Contact information: http://pmrb.free.fr/contact

Re: [NTG-context] new beta

2011-01-18 Thread Peter Münster
Renaud AUBIN au...@nibua-r.org writes: It would be nice to think of those like me who use dot into their naming scheme… ;) See also http://www.ntg.nl/pipermail/ntg-context/2010/052339.html ;) -- Peter Münster Contact information: http://pmrb.free.fr/contact

Re: [NTG-context] Escaping from modes set for tabulate

2011-01-14 Thread Peter Münster
Procházka Lukáš Ing. - Pontex s. r. o. l...@pontex.cz writes: \NC {\normalfont Code} \NC {\nomath Symbol} \NC Description \NC\NR \NC {\rm Code} \NC \text{Symbol} \NC Description \NC\NR -- Peter Münster Contact information: http://pmrb.free.fr/contact

[NTG-context] PANIC: unprotected error in call to Lua API

2011-01-14 Thread Peter Münster
get this error: PANIC: unprotected error in call to Lua API (attempt to index a nil value) -- Peter Münster Contact information: http://pmrb.free.fr/contact/ ___ If your question is of interest to others as well

Re: [NTG-context] PANIC: unprotected error in call to Lua API

2011-01-14 Thread Peter Münster
Hans Hagen pra...@wxs.nl writes: On 14-1-2011 4:54, Peter Münster wrote: local t = {} package.seeall(t) setfenv(0, t) what do you want to achieve with the first three lines I want to prevent pollution of the global environment, when I need to define my own globals. But of course, I can do

Re: [NTG-context] How to call \environment in CLD file

2011-01-14 Thread Peter Münster
Khaled Hosny khaledho...@eglug.org writes: context.environment(foo.tex) -- throws an error context(\\environment foo ) -- Peter Münster Contact information: http://pmrb.free.fr/contact/ ___ If your question

Re: [NTG-context] How to call \environment in CLD file

2011-01-14 Thread Peter Münster
Khaled Hosny khaledho...@eglug.org writes: On Fri, Jan 14, 2011 at 06:52:25PM +0100, Peter Münster wrote: Khaled Hosny khaledho...@eglug.org writes: context.environment(foo.tex) -- throws an error context(\\environment foo ) The same error, no difference. Then a minimal example

Re: [NTG-context] ConTeXt does not execute MetaPost (in debian experimental)

2011-01-14 Thread Peter Münster
, ConTeXt *is* already a replacement for LaTeX: for all the users, who switched from LaTeX to ConTeXt, like me some years ago. -- Peter Münster Contact information: http://pmrb.free.fr/contact/ ___ If your question

[NTG-context] undesired offset with \position (was: Re: Replacing a piece of a paper)

2011-01-11 Thread Peter Münster
, backgroundcolor=white]{\externalfigure[a4-page]}} \stoppositioning \stoptext --8---cut here---end---8--- -- Peter Münster Contact information: http://pmrb.free.fr/contact/ ___ If your

Re: [NTG-context] Feature request: setuppapersize

2011-01-10 Thread Peter Münster
Hans Hagen pra...@wxs.nl writes: What do you think? \setuppapersize [A4][samesized] Not really an improvement over \setuppapersize[A4][A4] ... -- Peter Münster Contact information: http://pmrb.free.fr/contact

Re: [NTG-context] Feature request: setuppapersize

2011-01-10 Thread Peter Münster
Hans Hagen pra...@wxs.nl writes: On 10-1-2011 3:04, Peter Münster wrote: Hans Hagenpra...@wxs.nl writes: What do you think? \setuppapersize [A4][samesized] Not really an improvement over \setuppapersize[A4][A4] ... why not? Just my personal opinion: more keystrokes to type

Re: [NTG-context] Feature request: setuppapersize

2011-01-10 Thread Peter Münster
the \setuppapersize[][samesized] was for the user-document... But in page-lay.mkiv it makes much more sense! Excuse me, Peter -- Peter Münster Contact information: http://pmrb.free.fr/contact/ ___ If your question is of interest

Re: [NTG-context] escape in verbatim text eats line breaks

2011-01-10 Thread Peter Münster
Hans Hagen pra...@wxs.nl writes: Is this a bug or am I missing something here? I get newlines here. Minimal example: \definetyping[Test][escape={/,/}] \starttext No line break between the blas: \startTest bla /bla/ \stopTest \stoptext -- Peter Münster Contact information: http

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

2011-01-07 Thread Peter Münster
Procházka Lukáš Ing. - Pontex s. r. o. l...@pontex.cz writes: context.exe t.mkiv --arguments=ARG1=arg1 --arguments=ARG2=arg2 It's supposed to be --arguments=ARG1=arg1,ARG2=arg2 Peter ___ If your question is of

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

2011-01-05 Thread Peter Münster
Procházka Lukáš l...@pontex.cz writes: I'd need to pass a variable to Ctx and to retrieve it inside a compiled document - via Ctx itself and also by Lua. Hello, % cmd-line: context --arguments=testvar=my-value test \starttext value of testvar: \env{testvar} with lua:

Re: [NTG-context] framed float with offset

2011-01-01 Thread Peter Münster
Sanjoy Mahajan san...@olin.edu writes: \starttext \placefigure[right,none]{}% {\externalfigure[sample/cow.pdf]% [scale=500, frame=on, frameoffset=20pt, framecolor=black, background=color, backgroundcolor=lightgray,

Re: [NTG-context] problems with \hbox inside lua

2010-12-23 Thread Peter Münster
On Thu, Dec 23 2010, Mojca Miklavec wrote: tex.print('\\hbox to 1.5em{\\hss %s \\hss}', tex.print() does not handle the %s. context() does. So just replace tex.print() by context(). Peter -- Contact information: http://pmrb.free.fr/contact/

Re: [NTG-context] problems with \hbox inside lua

2010-12-23 Thread Peter Münster
On Thu, Dec 23 2010, luigi scarso wrote: PS: I still don't know the reason why my example fails catcode , I suppose Indeed. The %-sign starts a comment in TeX. \starttext \startluacode tex.print(\\hbox{ %s }, a string) \stopluacode \stoptext is nearly the same as \starttext \hbox{ %s } a

Re: [NTG-context] problem with \vcenter and \showboxes

2010-12-22 Thread Peter Münster
On Tue, Dec 21 2010, Bill O'Connor wrote: Shouldn't that be: \starttext X\vcenter{\hbox{X}}{X} X\vcenter{\hbox{X}}{X} \showboxes \stoptext No, it shouldn't. Peter -- Contact information: http://pmrb.free.fr/contact/

Re: [NTG-context] Cld-files

2010-12-22 Thread Peter Münster
On Wed, Dec 22 2010, Willi Egger wrote: context.setupTABLE({column}{each}{width=number.todimen(.041*tex.dimen.textwidth),align=flushright,offset=1pt}) context.setupTABLE({column}, {each}, {width=... (not tested...) Peter -- Contact information: http://pmrb.free.fr/contact/

Re: [NTG-context] Figure shifted down

2010-12-21 Thread Peter Münster
On Tue, Dec 21 2010, Procházka Lukáš Ing. - Pontex s. r. o. wrote: is it possible to place an \externalfigure deeper to some distance, shifted down, bellow the line or bellow the default position? To get: +--+ Aaa | A figure | bbb +--+ This looks to me, like a

[NTG-context] problem with \vcenter and \showboxes

2010-12-21 Thread Peter Münster
Hello, The placement of the second \hbox{} is wrong: \starttext X\vcenter{\hbox{X}}{X} \showboxes X\vcenter{\hbox{X}}{X} \stoptext Peter -- Contact information: http://pmrb.free.fr/contact/ ___ If your question is

Re: [NTG-context] mkiv: append to buffer

2010-12-19 Thread Peter Münster
On Sun, Dec 19 2010, Thomas Schmitz wrote: and this doesn't: \newtoks\mytoks \def\TestMacro#1#2#3% {\item[#1] #2\par \appendtoks \in[#1]: {#3} \to\mytoks} \doglobal \appendtoks \in[#1]: {#3} \to\mytoks} Cheers, Peter -- Contact information: http://pmrb.free.fr/contact/

<    1   2   3   4   5   6   7   8   9   10   >