Re: [NTG-context] Insertion of a Document I.D.

2012-05-15 Thread Rogers, Michael K
\jobname yields the filename (in my last year's TeX Live ConTeXt). On May 15, 2012, at 11:08 PM, wrote: > > I want to generate a document i.d. from the .tex source filename and the > current date and put it into the footer. > > This might be possible already, but I could find it by searching

[NTG-context] Insertion of a Document I.D.

2012-05-15 Thread hwitloc
I want to generate a document i.d. from the .tex source filename and the current date and put it into the footer. This might be possible already, but I could find it by searching the wiki for filename and document it, or rather too much since filename is mainly used for command line parameters,

[NTG-context] Testing TeX Live 2012

2012-05-15 Thread Mojca Miklavec
Dear ConTeXt users, TeX Live 2012 is going to be released soon. After the first successful year of ConTeXt in TeX Live, it would be great to get enough testers before the release (to make sure that it works flawlessly) and to get rid of as many bugs as possible. See http://tug.org/texlive/pre

[NTG-context] fixing mpiv on installation path with spaces

2012-05-15 Thread Mojca Miklavec
Hello, last year Taco added many patches to make sure that ConTeXt works even when installed to "C:\Documents and Settings\ ..." and other weird paths with spaces. However metapost in mkiv still fails. I figured out that the following patch (which *won't* handle paths with quotation marks properly

Re: [NTG-context] "Typescripts for Dummies"

2012-05-15 Thread Bill Meahan
Thank you Wolfgang!! I've used LaTeX off and on since the 1980's but never did anything with Plain TeX so that's why I did not recognize the \s! . Bill Meahan K8QN "I want to live other lives. I've never quite believed that one chance is all I get. Writing is my way of making other chances."

Re: [NTG-context] "Typescripts for Dummies"

2012-05-15 Thread Wolfgang Schuster
Am 15.05.2012 um 19:28 schrieb Bill Meahan: > Is there a document anywhere that would be the equivalent of "Typescripts for > Dummies?" (as if such a book really existed) > > I am trying to write some typescripts for the Venturis ADF and Beneris ADF > families (and a few others) using Wolfgang

Re: [NTG-context] "Typescripts for Dummies"

2012-05-15 Thread Marco Pessotto
Bill Meahan writes: > Is there a document anywhere that would be the equivalent of > "Typescripts for Dummies?" (as if such a book really existed) I guess real documentation is a fantastic booklet: http://www.h2o-books.com/node/11 Cheers -- Marco _

[NTG-context] "Typescripts for Dummies"

2012-05-15 Thread Bill Meahan
Is there a document anywhere that would be the equivalent of "Typescripts for Dummies?" (as if such a book really existed) I am trying to write some typescripts for the Venturis ADF and Beneris ADF families (and a few others) using Wolfgang's typescripts for Fontin et. al. as a guide. I can't

Re: [NTG-context] ConTeXt colours in TikZ

2012-05-15 Thread Marco
On 2012-05-15 Hans Hagen wrote: > In pgfutil-context.def there is a macro > > […] > > which tests for gray (g) before rgb (rg) but I think should reverse that > order > > […] > > feel free to test this and submit it as patch to the tikz maintainers. Thanks for the code. I tested the code wi

Re: [NTG-context] [mkvi] comment handling bug

2012-05-15 Thread Hans Hagen
On 14-5-2012 15:59, Philipp Gesang wrote: + leadingcomment ok -- - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip:

Re: [NTG-context] atpage || number comparing

2012-05-15 Thread Hans Hagen
On 15-5-2012 14:28, Peter Schorsch wrote: Hi, it tried to do a \atpage command that results a) some page => nothing b) different page => pagenumber with some text (e.g. "auf Seite XY") \def\atPage[#1]% {\doifnot{\at[#1]}{\currentpage}% {\at[#1]}% } My problem with thi

Re: [NTG-context] mutual color definition

2012-05-15 Thread Hans Hagen
On 14-5-2012 19:19, Peter Rolf wrote: Hi, while playing around with colors, I accidentally used two mutual color definitions. Stupid thing to do, but shit happens. :-D This example ends in an infinite loop. %-- \definecolor[foo][red] \definecolor[bar][foo] \starttext \def

Re: [NTG-context] ConTeXt colours in TikZ

2012-05-15 Thread Hans Hagen
On 15-5-2012 12:16, Marco wrote: Hi everybody, I don't get context colours working in tikz. There were several issues on the mailing list in the past and the solution always seems to be some kind of hack. But none of the hacks work (with a current context). Example: \usemodule [tikz] \definec

Re: [NTG-context] atpage || number comparing

2012-05-15 Thread Rogers, Michael K
Hi, I'm a neophyte using last year's TeXLive context. An expert can probably improve my answer. Does this work for you?: \def\atPage[#1]% {\doifnot{\doifreferencefoundelse{#1}{\currentreferencepage}{?}}{\currentpage}% {\at[#1]}% } I adapted it from code in strc-ref.mk

Re: [NTG-context] Problem calling system

2012-05-15 Thread luigi scarso
On Tue, May 15, 2012 at 1:46 PM, Procházka Lukáš Ing. - Pontex s. r. o. wrote: > ... I also tried: > > > \write18{echo 'AAA'} > > \starttext >   A > \stoptext > > > Which gives: > > " > ... > backend         > xmp > using file > 'c:/ConTeXt/tex/texmf-context/tex/context/base/lpdf-pdx.xml

[NTG-context] atpage || number comparing

2012-05-15 Thread Peter Schorsch
Hi, it tried to do a \atpage command that results a) some page => nothing b) different page => pagenumber with some text (e.g. "auf Seite XY") \def\atPage[#1]% {\doifnot{\at[#1]}{\currentpage}% {\at[#1]}% } My problem with this is, that the \doifnot always results as not

Re: [NTG-context] Problem calling system

2012-05-15 Thread Procházka Lukáš Ing . - Pontex s . r . o .
... I also tried: \write18{echo 'AAA'} \starttext A \stoptext Which gives: " ... backend > xmp > using file 'c:/ConTeXt/tex/texmf-context/tex/context/base/lpdf-pdx.xml' "AAA" pages > flushing realpage 1, userpage 1 ... " So it can be seen that ' changes to " ev

Re: [NTG-context] Split \startalign content on more pages

2012-05-15 Thread luigi scarso
On Mon, May 14, 2012 at 12:02 PM, elgo...@libero.it wrote: > Yes it works. > The only problem is that now I have the formulas aligned at the center of the > page. > Which command can I use to align the formulas on the left? \setupformulas[alternative=default,margin=-6em] (with try-and-error ) --

[NTG-context] ConTeXt colours in TikZ

2012-05-15 Thread Marco
Hi everybody, I don't get context colours working in tikz. There were several issues on the mailing list in the past and the solution always seems to be some kind of hack. But none of the hacks work (with a current context). Example: \usemodule [tikz] \definecolor [darkblue] [b=.2] \starttext

Re: [NTG-context] Problem calling system

2012-05-15 Thread Hans Hagen
On 15-5-2012 10:34, Procházka Lukáš Ing. - Pontex s. r. o. wrote: languages > language en is active lua -e "print "EXECUTE"" lua -e "print 'EXEC'" you can try texlua instead of lua to see what happens system | total runtime: 0.609 " Interesting that the string to be passed to 'os.exec' keep

Re: [NTG-context] Problem calling system

2012-05-15 Thread Procházka Lukáš Ing . - Pontex s . r . o .
probably some os.execute parsing ... Do you mean Lua itself does the parsing and substitution? I guessed [lua]tex core... When I try to call on the command line: " C:\Lukas\ConTeXt\TestDDv>lua Lua 5.1.4 Copyright (C) 1994-2008 Lua.org, PUC-Rio os.execute([[lua -e "print 'WWW'"]]) WWW os.e

Re: [NTG-context] Problem calling system

2012-05-15 Thread Hans Hagen
On 15-5-2012 09:05, Procházka Lukáš Ing. - Pontex s. r. o. wrote: Hello, I slightly modified the example - my code now is: \ctxlua{os.execute([[echo lua -e "print 'WWW'"]])} \starttext A \stoptext So now I'm able to diagnose what exactly is passed to the command line. I'm getting:

Re: [NTG-context] Problem calling system

2012-05-15 Thread Procházka Lukáš Ing . - Pontex s . r . o .
Hello, I slightly modified the example - my code now is: \ctxlua{os.execute([[echo lua -e "print 'WWW'"]])} \starttext A \stoptext So now I'm able to diagnose what exactly is passed to the command line. I'm getting: " ... languages > language en is active lua -e "print "WWW