[NTG-context] special macro problem again...

2005-03-07 Thread Peter Münster
Hello, with the help by Hans, I've got a nice little macro \MyMacro. Now, I get another problem, when using \doifmode in the argument of this macro. This is the error message: ! Incomplete \iffalse And here the example file: \newcount\MyVersion \def\MyMacro#1{% \getgparameters[XXX][#1]

Re: [NTG-context] Re: TeX run : 8

2005-03-08 Thread Peter Münster
On Tue, 8 Mar 2005, Patrick Gundlach wrote: for those, who don't want to update: export PERL_HASH_SEED=0 in $HOME/.profile works very nicely. is this reliable? It seems to me. At least on Linux: since a long time I've been used to get always 8 runs with my procuct-files, and now I get

Re: [NTG-context] what do these values mean?

2005-03-11 Thread Peter Münster
On Thu, 10 Mar 2005, Paul Tremblay wrote: I've figure out a lot of the values used in \setuplayout, but I can't figure out these: horoffset veroffset These 2 are explained here: http://texshow.contextgarden.net/ts.rb?lang=enwhat=descif=encmd=setuplayout Cheers, Peter --

Re: AW: [NTG-context] Re: Line break after unit or \cite command

2005-03-11 Thread Peter Münster
On Fri, 11 Mar 2005, Michael Fuchs wrote: Here is an example that shows the problem. I created it using live.contextgarden.net. The problem appears with standard and german hyphenation. Nice example: now we see, that you are using the units-module. Just to show you, what could be a minimal

Re: [NTG-context] \def\sectionseparator{:}

2005-03-14 Thread Peter Münster
On Sun, 13 Mar 2005, h h extern wrote: Peter Münster wrote: Hello, in core-sec.tex, I read: \def\sectionseparator{:} % was : but is now - I there any inconvenience, to change it to - ? I've tried it out, and all my problems to get French spaces before punctuation and project

Re: AW: AW: [NTG-context] Re: Line break after unit or \cite command

2005-03-14 Thread Peter Münster
On Sun, 13 Mar 2005, h h extern wrote: Possible workaround: XXX~\EVolt\hbox{} wurden... the \hbox{} will introduce a space Really? I've tried \starttext XXX\hbox{}XXX \stoptext But I can't see any space... Cheers, Peter -- http://pmrb.free.fr/contact/

Re: [NTG-context] \doprepareidentity

2005-03-17 Thread Peter Münster
On Thu, 17 Mar 2005, Hans Hagen wrote: patch this on core-int: \def\doprepareidentity% beware, we need to construct {\let\!!stringa\@@iakeyword % an unexpanded space separated \let\@@iakeyword\empty % list of keywords from a comma \def\doprepareidentity##1% %

Re: [NTG-context] special macro problem again...

2005-03-17 Thread Peter Münster
It's a repost. Does anybody have an idea to solve this problem? If not, I'm going to buy the TeXbook... I try to expose the problem a bit clearer: \newcount\MyVersion \def\MyMacro#1{% This macro is somewhere in an environment file. \getgparameters[XXX][#1] \global\advance\MyVersion by 1

Re: [NTG-context] special macro problem again...

2005-03-17 Thread Peter Münster
On Thu, 17 Mar 2005, Taco Hoekwater wrote: This particular problem can be solved thus: \unexpanded\def\MyNumber#1#2#3{% \doifmode{aaa}{#1}\doifmode{bbb}{#2}\doifmode{ccc}{#3}} Thank you very much! However, the TeXbook does explain the basic underlying problem, and since the LaTeX

Re: [NTG-context] Temporarily turning off hyphenation?

2005-03-19 Thread Peter Münster
On Sat, 19 Mar 2005, Gerben Wierda wrote: I haven't been able to find information about temporarily turning off hyphenation. Can it be done? (This is for a non-justified quote at the start of a chapter) \starttext {\hyphenpenalty 1 \input tufte } {\hyphenpenalty 1000 \input tufte }

[NTG-context] module and environment

2005-03-20 Thread Peter Münster
Hello, what is the difference between a module and an environment? What are the guidelines to decide where to put some code? TIA for any hints, Peter -- http://pmrb.free.fr/contact/ ___ ntg-context mailing list ntg-context@ntg.nl

Re: [NTG-context] module and environment

2005-03-20 Thread Peter Münster
On Sun, 20 Mar 2005, Taco Hoekwater wrote: Peter Münster wrote: Hello, what is the difference between a module and an environment? In my opinion, environments are closely tied in with specific products/publications. Modules are where you would put code that is usable in a much wider

Re: [NTG-context] Re: Two problems with my chapter quote setup

2005-03-20 Thread Peter Münster
On Sun, 20 Mar 2005, Gerben Wierda wrote: On 20 Mar 2005, at 18:05, Patrick Gundlach wrote: http://mail.rna.nl/~gerben/problem-test.tar.gz I get only a blank page. If you open problem-test/products/prd_book.pdf from the archive you will see that on the page numbered 7 (the 9th page

Re: [NTG-context] \normalsize

2005-03-25 Thread Peter Münster
On Fri, 25 Mar 2005, Adam Lindsay wrote: Taco Hoekwater said this at Fri, 25 Mar 2005 18:08:18 +0100: Hello, is there a command, that switches to the normal font size (body-font)? I tried \tf, but it affects only the shape, not the size. There is no 'normal font size'. Or rather, if

Re: [NTG-context] run external programs from tex

2005-03-30 Thread Peter Münster
On Wed, 30 Mar 2005, Eckhart Guthöhrlein wrote: I wonder what would be the best way to use programs inline like it is possible for metapost. Are there already macros to set this up easily? Just a small example (can be put to the wiki): http://pmrb.free.fr/work/OS/ConTeXt/createFig/ If you use

Re: [NTG-context] How to cook Garamond

2005-04-03 Thread Peter Münster
On Sat, 2 Apr 2005, Idris Samawi Hamid wrote: 3. from /temp, run texfont --ma --in --ve=urw --co=garamond --show Hello Idris, with this command, I get the following error (I'm using teTeX-3.0): processing aborted : unknown tex root Then I tried texfont --fontroot=/opt/teTeX/texmf-dist/fonts

RE: [NTG-context] How to cook Garamond

2005-04-03 Thread Peter Münster
On Sun, 3 Apr 2005, Idris Samawi Hamid wrote: Then I tried texfont --fontroot=/opt/teTeX/texmf-dist/fonts --ma --in --ve=urw --co=garamond --show I've found my error: it must be --fontroot=/opt/teTeX/texmf-dist The only problem, that remains: dvips seems to have problems with the map-file,

Re: [NTG-context] How to cook Garamond

2005-04-05 Thread Peter Münster
On Mon, 4 Apr 2005, Hans Hagen wrote: Peter Münster wrote: On Sun, 3 Apr 2005, Idris Samawi Hamid wrote: syntax: =myfont.map=== plb10 PLB10 plb10.pfb === Thank you! I changed the lines texnansi-raw-ugmm8a GaramondNo8

RE: [NTG-context] How to cook Garamond

2005-04-05 Thread Peter Münster
On Tue, 5 Apr 2005, Idris Samawi Hamid wrote: texnansi-raw-ugmm8a GaramondNo8-Med TeXnANSIEncoding ReEncodeFont texnansi.enc ugmm8a.pfb I'm curious: how did you figure this out? Where does the TeXnANSIEncoding ReEncodeFont syntax come from? (Just trying to learn...) There are a lot of

Re: [NTG-context] new command question

2005-04-05 Thread Peter Münster
On Mon, 4 Apr 2005, Idris Samawi Hamid wrote: Instead of, say, \usetypescriptfile[type-ugm] \usetypescript[URWGaramond] \setupbodyfont[urwgaramond,10pt] I would like to define a single command as follows, using the ConTeXt option method instead of \def{}{}{}:

Re: [NTG-context] no line break after quotation possible

2005-04-15 Thread Peter Münster
On Thu, 14 Apr 2005, Patrick Gundlach wrote: after a \quotation no line break is possible. For what reason? Is this a bug or a feature? (I'd consider this as a bug). Me too. Workaround: \quotation{...}\hbox{} Cheers, Peter -- http://pmrb.free.fr/contact/

Re: [NTG-context] justification

2005-04-18 Thread Peter Münster
On Fri, 15 Apr 2005, Jörg Hagmann wrote: See the attachment (testpage.pdf). There is a line sticking out in this way on 3 of 6 pages, plus a few minor protrusions of the width of about one character. Hello, seems to be a problem with non-ascii characters. See also:

[NTG-context] typing questions

2005-04-19 Thread Peter Münster
Hello, here a few questions about typing: - Is there a module for pretty-printing C-code? - How could I change the tabulator-width? - First tab is only 7 spaces, the other 8, why? - How could I embed ConTeXt macros? - Where does the vertical space in \framed come from? Some of these

Re: [NTG-context] Re: total with of TABLE ?

2005-04-21 Thread Peter Münster
On Thu, 21 Apr 2005, Steffen Wolfrum wrote: I want to DEFINE the total with of a TABLE But what is the keyword for this purpose with \setupTABLE? This has already been asked here in the list, without any response, so I believe it's a missing feature. When you find a possibility, it would be

Re: [NTG-context] total with of TABLE ?

2005-04-21 Thread Peter Münster
On Thu, 21 Apr 2005, luigi.scarso wrote: luigi.scarso wrote: (x=0.25 in your example, because you have 4 columns: so you have \setupTABLE[x][width=0.25\textwidth] ) Of course this setup a TABLE with four columns of equal width and total width =\textwidth; For different width :

Re: [NTG-context] Re: total with of TABLE ?

2005-04-23 Thread Peter Münster
On Fri, 22 Apr 2005, Hans Hagen wrote: setting the total width is not that complex, (maxwidth is already taken so i use textwidth) The problem is, that the other settings get lost: \setupTABLE[column][1][width=1cm,align=left] \setupTABLE[column][5][width=1cm,align=middle] Peter --

[NTG-context] hyphenation problem with apostrophe

2005-04-26 Thread Peter Münster
Hello, there is no hyphenation with l'éducation. Example: \enableregime[il1] \usetypescript[modern][\defaultencoding] \setupbodyfont[modern] \mainlanguage[fr] \starttext \dorecurse{66}x éducation \dorecurse{65}x l'éducation \stoptext ConTeXt version is 2005.01.31 Could someone help please?

Re: [NTG-context] hyphenation problem with apostrophe (fwd)

2005-05-14 Thread Peter Münster
On Sat, 14 May 2005, Taco Hoekwater wrote: No, as long as you remember to check all hyphenations of the words that end an inline quote (the ones with single or double apostrophs attached immediately to the word). No problem, quoting in French goes « like this » :) Cheers, Peter --

[NTG-context] suggestions for MKIV

2009-08-19 Thread Peter Münster
Hello Hans, Since there is no more need, to keep compatibility with MKII (there are already a lot of differences), I suggest - for the benefit of beginners - to change at least 2 things: - let \framed or \externalfigure behave like \parbox and \includegraphics in LaTeX, i.e. no more need to

Re: [NTG-context] suggestions for MKIV

2009-08-19 Thread Peter Münster
On Wed, 19 Aug 2009, Wolfgang Schuster wrote: Since there is no more need, to keep compatibility with MKII (there are already a lot of differences), I suggest - for the benefit of beginners - to change at least 2 things: - let \framed or \externalfigure behave like \parbox and

Re: [NTG-context] two absolutely newbie questions

2009-08-25 Thread Peter Münster
On Tue, 25 Aug 2009, Vyatcheslav Yatskovsky wrote: \filename{c:\\Program Files} This should work too: \filename{c:/Program Files} Cheers, Peter -- Contact information: http://pmrb.free.fr/contact/ ___ If your

[NTG-context] reference in \placefigure

2009-09-03 Thread Peter Münster
Hello, References to figures don't seem to work with latest version: \starttext \section[secref]{section} \placefigure[][figref]{caption}{figure} In section \in[secref] and in figure \in[figref]. % nothing here... \stoptext Cheers, Peter

[NTG-context] \currentpage always 1

2009-09-16 Thread Peter Münster
Hello, \currentpage is always 1 here: \starttext currentpage: \currentpage, realpageno: \the\realpageno \page currentpage: \currentpage, realpageno: \the\realpageno \stoptext Cheers, Peter -- Contact information: http://pmrb.free.fr/contact/

[NTG-context] nested modes

2009-09-16 Thread Peter Münster
Hello, Here is a problem with nested modes: \starttext no mode \startmode[mode1] mode1a \startmode[mode2] mode2 \stopmode mode1b % this is printed, but it should not \stopmode no mode \stoptext Cheers, Peter -- Contact information: http://pmrb.free.fr/contact/

[NTG-context] setting variable on cmd-line

2009-09-18 Thread Peter Münster
Hello, I've a little feature request: It would be nice, to have a command line option like --setvalue x=y or similar for the context command to define a variable for the job. Modes are already very nice, but often I need just one value for conditional compiling a document instead of many binary

[NTG-context] letter module: Missing number, treated as zero.

2009-09-20 Thread Peter Münster
Hello, Here a minimal test file, to reproduce the problem with latest MKIV: \let\defineblankmethod\definevspacingamount \usemodule[letter] \starttext \startletter Test. \stopletter \stoptext Cheers, Peter -- Contact information: http://pmrb.free.fr/contact/

[NTG-context] letter module: Argument of \dodoubletestempty has an extra }

2009-09-20 Thread Peter Münster
Hello, Here a minimal test file, to reproduce the problem with latest MKII: % engine=pdftex \usemodule[letter] \starttext \startletter \subject{Test} hello \stopletter \stoptext Cheers, Peter -- Contact information: http://pmrb.free.fr/contact/

Re: [NTG-context] setting variable on cmd-line

2009-09-20 Thread Peter Münster
On Fri, 18 Sep 2009, Peter Münster wrote: I've a little feature request: It would be nice, to have a command line option like --setvalue x=y or similar for the context command to define a variable for the job. Modes are already very nice, but often I need just one value for conditional

Re: [NTG-context] setting variable on cmd-line

2009-09-20 Thread Peter Münster
On Sun, 20 Sep 2009, luigi scarso wrote: test-file: \starttext Value of myVar: \ctxlua{tex.print(document.arguments[arguments=myVar])} \stoptext cmd-line: context --arguments=myVar=myValue test But this syntax is very strange! Does context --arguments=myVar=myValue test

Re: [NTG-context] setting variable on cmd-line

2009-09-21 Thread Peter Münster
On Mon, 21 Sep 2009, luigi scarso wrote: test-file: \starttext Value of myVar: \ctxlua{tex.print(document.arguments[arguments=myVar])} \stoptext cmd-line: context --arguments=myVar=myValue test But this syntax is very strange! Does  context

Re: [NTG-context] setting variable on cmd-line

2009-09-21 Thread Peter Münster
On Mon, 21 Sep 2009, Hans Hagen wrote: As I've written yesterday, I suppose, that the following syntax is wanted: \getvariable{environment}{myVar} but this does not work... how does it look with: local flag, value = argument:match(^%-+(.-)=(.-)$) .+ - .- I've changed the line in

[NTG-context] strange page breaks with latest beta

2009-09-24 Thread Peter Münster
Hello, 2 strange page breaks here (version 2009.09.23 10:07): \def\mySection{\section{bla}\dorecurse{30}{text }} \starttext \title{bla} \dorecurse3{ \mySection\par bla} \section{bla} \dorecurse{30}{text } \dorecurse3{ \subsection{bla} \bTABLE \dorecurse{10}{\bTR \bTD bla \eTD \eTR}

[NTG-context] file-contents module

2009-09-27 Thread Peter Münster
Hello, It would be nice, if this module could be integrated in the distribution: http://wiki.contextgarden.net/Filecontents Cheers, Peter -- Contact information: http://pmrb.free.fr/contact/ ___ If your question

Re: [NTG-context] Tikz

2009-10-01 Thread Peter Münster
On Wed, 30 Sep 2009, David Arnold wrote: In the minmals directory: david-arnolds-macbook-pro:context darnold$ find . grep 'tikz' find: tikz: No such file or directory Did you really run this command find . grep 'tikz' ? This means, you will find all files in the current directory and in the

Re: [NTG-context] ConTeXt Minimal: error pdftex on CentOS x86_64

2009-11-01 Thread Peter Münster
On Sun, Nov 01 2009, Mojca Miklavec wrote: pdftex pdftex: /lib64/libc.so.6: version `GLIBC_2.7' not found (required by pdftex) Any help for this problem ? This is weird. Peter - did you upgrade your linux in the meantime by any chance? (The update dates back to 17th October.) Hello,

Re: [NTG-context] ConTeXt Minimal: error pdftex on CentOS x86_64

2009-11-02 Thread Peter Münster
On Sun, Nov 01 2009, Vnpenguin wrote: a) (dangerous; I would not do it) install a more recent version of libc on your machine It's NOT possible. Hello Vnpenguin, Why not? b) we need to set up some virtual machine with an old linux and compile binaries there or find someone else

Re: [NTG-context] ConTeXt Minimal: error pdftex on CentOS x86_64

2009-11-02 Thread Peter Münster
On Sun, Nov 01 2009, Vnpenguin wrote: xetex xetex: /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.9' not found (required by xetex) Hello, Here, I don't know how to help. I've these packages on my system: libstdc++33-3.3.3 libstdc++33-devel-3.3.3 libstdc++41-devel-4.1.3_20080612

Re: [NTG-context] Usage of filename in document

2009-11-05 Thread Peter Münster
On Thu, 5 Nov 2009, Martin Scholz wrote: is there a way in conTeXt how I can use a filename, so that I can write a text where I can refer to it for using it in the following scenario: I need 4 documents with nearly the same content. what I like to do is to switch in the document depending

Re: [NTG-context] After \placefigure the first paragraph of body text is not indented

2009-11-09 Thread Peter Münster
On Mon, 9 Nov 2009, Vyatcheslav Yatskovsky wrote: I noticed that after \placefigure the first paragraph of body text is not indented. Can I enable the indenting after figures? My setups are like this: \setupindenting[yes, big] \placefigure[middle]{ }

Re: [NTG-context] the meaning of cutspace

2009-11-16 Thread Peter Münster
On Mon, 16 Nov 2009, Vyatcheslav Yatskovsky wrote: I need to set up 1.5cm/2cm page borders. Backspace in layout setup gives me expected result (distance from page to the text). According to the wiki, cutspace should do the same for opposite side of the page, but it doesnt. So, I cannot get

Re: [NTG-context] the meaning of cutspace

2009-11-16 Thread Peter Münster
On Mon, 16 Nov 2009, Peter Münster wrote: Working example: \setuplayout[leftmargin=1cm, rightmargin=1.5cm, leftmargindistance=2mm, rightmargindistance=2mm, backspace=1.5cm, cutspace=2cm, width=fit] I'm sorry, Taco is right. There is indeed a problem here... Instead of cutspace=2cm

Re: [NTG-context] the meaning of cutspace

2009-11-17 Thread Peter Münster
On Mon, 16 Nov 2009, Wolfgang Schuster wrote: After reading the source 'width=middle' make sense, when both backspace and cutspace are set the width of the textarea is 'paperwidth - backspace - cutspace' but when cutspace is set to 0pt the textarea is 'paperwidth - 2*backspace'. Hello

Re: [NTG-context] rotate a figure

2009-11-17 Thread Peter Münster
On Tue, Nov 17 2009, R. Bastian wrote: \rotate[rotation=90]{\externalfigure[filename]} \externalfigure[filename][orientation=90] ;) OK, it is the param I hoped to get, but how to find it in the doc ? Hello, I suppose, that you can find orientation=... only in the sources, but

Re: [NTG-context] Remove bold face

2009-11-18 Thread Peter Münster
On Wed, 18 Nov 2009, anuar lezama wrote: Thank you for answering. I can't make nomarking do this trick, I tried   something like this: \starttext The {\bf teacher-student} relationship \nomarking{\bf implies} the authority of the person teaching over the person being taught. \stoptext

Re: [NTG-context] Pstricks and Asymptote

2009-11-18 Thread Peter Münster
On Wed, 18 Nov 2009, luigi scarso wrote: # find minimals-beta -name *pgf* The result is an empty string on my minimals, ie no pgf on minimals. Hello Luigi, You can add the option --extras=all to first-setup.sh to get all the contributed modules. Cheers, Peter -- Contact information:

Re: [NTG-context] t-vim / minimals

2009-11-19 Thread Peter Münster
On Thu, Nov 19 2009, Renaud AUBIN wrote: I have just reinstalled ConTeXt after an HD crash with ./first_setup --extras=all and t-vim seems to contain an error since I obtain (with MKII): Hello Renaud, The latest version of the t-vim module seems to be here:

Re: [NTG-context] definereferenceformat problem...

2009-11-28 Thread Peter Münster
On Wed, Nov 11 2009, Bernhard Rosensteiner wrote: \definereferenceformat[fig][left=(, right=), label=reffigure, text={figure}] produces no output of text (in this case figure) when i do \fig[something]. Is this a bug in mkiv? I use luatex 0.44 A workaround:

Re: [NTG-context] latest beta and file mismatch problem

2009-12-01 Thread Peter Münster
On Tue, Dec 01 2009, Bowen Alan C. wrote: I get the error message The argument /Applications/ConTeXtMinimals/tex/texmf-osx-64/bin is not a valid TEXROOT path. (There is no file /Applications/ConTeXtMinimals/tex/texmf-osx-64/bin/texmf/tex/plain/base/plain.tex) Hello Alan, You don't need

Re: [NTG-context] Using ConTeXt for a thesis?

2009-12-20 Thread Peter Münster
On Sat, Dec 19 2009, Aditya Mahajan wrote: In my experience, the trouble is not creating a style that meets your university's requirement: that is easy both in LaTeX (once you know the right packages) or ConTeXt. The difficulty is understanding your universities requirement which, in most

Re: [NTG-context] Thoughts on ConTeXt: ditched

2009-12-27 Thread Peter Münster
On Sun, Dec 27 2009, Manuel P. wrote: I've had some unpleasant surprises: - Bibliography doesn't work the way it should on MKIV. Unlike MKII. Hello Manuel, You mean perhaps the problem to get all entries in the bib-database, even without citations. I don't have the solution, but I'm quite

Re: [NTG-context] Thoughts on ConTeXt: ditched

2009-12-28 Thread Peter Münster
On Mon, Dec 28 2009, Manuel P. wrote: \def\quotebox#1#2 You want perhaps a %-sign: \def\quotebox#1#2% No, it doesn't work despite the %-sign. Sorry. Strange... Could you post a minimal example please with hanging luatex (of course only if you have some time for that)? Cheers, Peter

[NTG-context] problem with url in \setupexternalfigures

2010-01-07 Thread Peter Münster
Hello, This used to work: \setupexternalfigures[directory={\currentvalue, http://pmrb.free.fr/tmp/}] \starttext \externalfigure[hacker-test] \stoptext But with the latest version, the figure is not found... Cheers, Peter -- Contact information: http://pmrb.free.fr/contact/

Re: [NTG-context] problem with url in \setupexternalfigures

2010-01-14 Thread Peter Münster
On Wed, Jan 13 2010, Hans Hagen wrote: ok, i can fix that but there is a problem ... if no suffix is given, the quality list is followed and the first request will be http://pmrb.free.fr/tmp/hacker-test.pdf which gives a home page which is no pdf of course and luatex does not like that

Re: [NTG-context] numbered itemize

2010-01-17 Thread Peter Münster
On Sun, Jan 17 2010, Hans van der Meer wrote: But is there a more general way to enlarge the item's width? Using [width=dimension] seemed no help Hello Hans, It works here: \starttext \startitemize[width=5em] \item bla \stopitemize \stoptext My version: 2010.01.15 15:49 Cheers, Peter --

Re: [NTG-context] numbered itemize

2010-01-17 Thread Peter Münster
On Sun, Jan 17 2010, Wolfgang Schuster wrote: That's not the problem, what did not work is - 'itemalign=...' in combination with 'width=dimen' and - 'fit' in combination with 'distance=dimen' Bug or feature? Should we add it to the tracker? Cheers, Peter -- Contact information:

Re: [NTG-context] numbered itemize

2010-01-18 Thread Peter Münster
On Sun, Jan 17 2010, Wolfgang Schuster wrote: Bug or feature? Should we add it to the tracker? Bug, I think. Can you add them? Ok, done. Cheers, Peter -- Contact information: http://pmrb.free.fr/contact/

Re: [NTG-context] using `` '' the output is wrong.

2010-01-19 Thread Peter Münster
On Tue, Jan 19 2010, Alan BRASLAU wrote: My own computers are US International. However, I often use other computers having different layouts, many of which I cannot change. The worst I find are the Macs with French keyboards, as when I use them, I always have to remember how to find \ and {}

Re: [NTG-context] using `` '' the output is wrong.

2010-01-19 Thread Peter Münster
On Wed, Jan 20 2010, Alan BRASLAU wrote: What I also find disturbing is that *some* of these conventions are retained, but not all. Since most people use fixed width fonts in their editors, it is difficult to distinguish between – (en-dash), — (em-dash) and - (hyphen-minus). So -- and --- are

[NTG-context] l-file.lua:110: stack overflow

2010-02-04 Thread Peter Münster
Hello, I get the error with the following input file: \setupexternalfigures[directory={\currentvalue, http://pmrb.free.fr/tmp/}] \starttext \externalfigure[hacker-test-5.pdf] \stoptext There is *no* problem, when \currentvalue comes after the url:

[NTG-context] problem with \em in \rightaligned

2010-02-04 Thread Peter Münster
Hello, The last bla is not emphasised: \starttext \start \em bla\\bla \stop \start \rightaligned{\em bla\\bla} \stop \stoptext Cheers, Peter -- Contact information: http://pmrb.free.fr/contact/ ___ If your

Re: [NTG-context] problem with \em in \rightaligned

2010-02-04 Thread Peter Münster
On Thu, Feb 04 2010, Wolfgang Schuster wrote: \rightaligned{\em bla\\bla} Use \startalignment[flushright]...\stopalignment to align more than one line and \crlf to force a line break. Right, that's what I do now. I thought, that my construction was supposed to work, because I got used to

[NTG-context] overlay at given position: help needed

2010-02-04 Thread Peter Münster
Hello, Below is a test file, to show a bit what I'm looking for: a background-image behind a text-area at a given position relative to the center of this area. I'm not yet satisfied with the result. Here my questions: 1.) Is \startframedtext a good choice for placing the background, or is

Re: [NTG-context] overlay at given position: help needed

2010-02-05 Thread Peter Münster
On Fri, Feb 05 2010, Wolfgang Schuster wrote: Below is a test file, to show a bit what I'm looking for: a background-image behind a text-area at a given position relative to the center of this area. I'm not yet satisfied with the result. What is the expected output from your code with

[NTG-context] l-file.lua:110: stack overflow again

2010-02-05 Thread Peter Münster
Hello, Here a new example with the stack overflow: \executesystemcommand{touch file.svg} % just to create the file \starttext \externalfigure[file.svg] % \externalfigure[./file.svg] % no problem here \stoptext Cheers, Peter -- Contact information: http://pmrb.free.fr/contact/

[NTG-context] simple usage of \hpos

2010-02-06 Thread Peter Münster
Hello, How can I place an element as background at a previously defined position? Here a test-file to show what I'm looking for: \definelayer[graphics][position=yes] \setupbackgrounds[page][background=graphics] \starttext Here is some text. I would like to appear a graphics exactly behind

Re: [NTG-context] simple usage of \hpos

2010-02-07 Thread Peter Münster
On Sun, Feb 07 2010, Wolfgang Schuster wrote: \newcounter\BackgroundPictures \definelayer[BackgroundPicture][width=\paperwidth,height=\paperheight] \def\FixedPicture {\dodoubleempty\doFixedPicture} \def\doFixedPicture[#1][#2]% {\doglobal\increment\BackgroundPictures

Re: [NTG-context] simple usage of \hpos

2010-02-07 Thread Peter Münster
On Sun, Feb 07 2010, Wolfgang Schuster wrote: Remove the 'position=yes' setup and correct the coordinates, layers use the top left corner as origin but positions are measures from the left bottom corner. Ah, now I see, why the graphics was at the bottom before. Thank you very much! Here

Re: [NTG-context] simple usage of \hpos

2010-02-07 Thread Peter Münster
On Sun, Feb 07 2010, Wolfgang Schuster wrote: \def\doPlaceAtPos[#1]#2#3{% \getparameters[PAA][dx=0pt, dy=0pt, #1]% \setbox\scratchbox\hbox{#3}% \setlayer[myBG][% x=\the\dimexpr\MPx{#2} - 0.5\wd\scratchbox\relax, y=\the\dimexpr\paperheight-\MPy{#2}-\ht\scratchbox\relax,

[NTG-context] very strange error with \xypos and vim-typing

2010-02-08 Thread Peter Münster
Hello, I get the following error: ! Missing number, treated as zero. to be read again \dontleavehmode argument \dontleavehmode \normalspace \secondoftwoarguments #1#2-#2 l.1 \the\dimexpr

Re: [NTG-context] What do you miss in ConTeXt?

2010-02-08 Thread Peter Münster
On Mon, Feb 08 2010, Sebastien Mengin wrote: I once tried to list the different points missing regarding the french language support and think of a way to integrate them as a module for ConTeXt, as frenchb [1] does for LaTeX. This is finally not trivial at all (at least for me). I don't

Re: [NTG-context] What do you miss in ConTeXt?

2010-02-08 Thread Peter Münster
On Mon, Feb 08 2010, Wolfgang Schuster wrote: ConTeXt has many features but sometimes there is something missing, what feature or package do you miss which is already available in another TeX system or unavailable in any TeX system? The lst-listing package from LaTeX is very good. I would

[NTG-context] xpdf segmentation fault

2010-02-08 Thread Peter Münster
Hello, I don't know, if this is a ConTeXt problem (wrong PDF) or an xpdf problem. Here the test-file, whose pdf-result xpdf cannot read: \setupinteraction[state=start] \placebookmarks[chapter] \starttext \chapter{bla} \stoptext Should I report this to the xpdf-authors? Cheers, Peter --

Re: [NTG-context] xpdf segmentation fault

2010-02-08 Thread Peter Münster
On Mon, Feb 08 2010, Mikael Persson wrote: That example works fine here (both with mkii and mkiv, running ConTeXt ver: 2009.11.24 10:13 MKIV fmt: 2010.2.8 int: english/english) and xpdf 3.02-1.4ubuntu2. Hello Mikael, It seems, that it was an issue with the poppler library. I used

[NTG-context] svg - png conversion

2010-02-08 Thread Peter Münster
Hello, How can I convert svg to png on the fly? I've created a file test.rlx: ?xml version='1.0 standalone='yes'? rl:manipulators rl:manipulator name='png' suffix='svg' rl:oldrl:value name='path'//rl:value name='file' method='nosuffix'/.png/rl:old rl:newrl:value

Re: [NTG-context] very strange error with \xypos and vim-typing

2010-02-08 Thread Peter Münster
On Mon, Feb 08 2010, Peter Münster wrote: Strange, because whenever I remove a line of this test-file, the error disappears. Could someone help please? Hello, One further hint, the tuc-file has one more line, when there is no error: @@ -13,6 +13,7 @@ jobvariables = jobvariables

Re: [NTG-context] What do you miss in ConTeXt?

2010-02-09 Thread Peter Münster
version=2010.02.09, %D title=\CONTEXT\ User Module, %D subtitle=For French documents, %D author=Peter Münster, %D date=\currentdate, %D copyright={Peter Münster}] %C This module is copyrighted by Peter Münster. %C Please send any comments to pmrb at free.fr. %C You

Re: [NTG-context] What do you miss in ConTeXt?

2010-02-10 Thread Peter Münster
On Tue, Feb 09 2010, Hans Hagen wrote: On 9-2-2010 23:30, Peter Münster wrote: In the current version of MKIV, there is no support for language-specifics, so there is actually no support for switching back from French to another language. in mkiv language specific features

Re: [NTG-context] What do you miss in ConTeXt?

2010-02-11 Thread Peter Münster
On Mon, Feb 08 2010, Wolfgang Schuster wrote: ConTeXt has many features but sometimes there is something missing, what feature or package do you miss which is already available in another TeX system or unavailable in any TeX system? Hello Wolfgang, It would be nice, to specify a

Re: [NTG-context] What do you miss in ConTeXt?

2010-02-11 Thread Peter Münster
On Mon, Feb 08 2010, Wolfgang Schuster wrote: ConTeXt has many features but sometimes there is something missing, what feature or package do you miss which is already available in another TeX system or unavailable in any TeX system? Hello, What about collecting these feature requests

Re: [NTG-context] What do you miss in ConTeXt?

2010-02-11 Thread Peter Münster
On Thu, Feb 11 2010, Vedran Miletić wrote: According to RFC 1738 from IETF, * is used only as a wildcard, e.g. to denote all newsgroups from specific category. It is never used for specifiying a single URL. So, http://pmrb.free.fr/tmp/file*with*stars; is not allowed??? Cheers, Peter --

Re: [NTG-context] indent lost after \placefigure

2010-02-11 Thread Peter Münster
On Thu, Feb 11 2010, Alan BRASLAU wrote: An opposite feature is also strange - minimal example: \setupindenting [medium,yes] \starttext A paragraph, including an itemized list: \startitemize [joinedup,packed] \item first \item second \stopitemize The following text is indented. It is

Re: [NTG-context] What do you miss in ConTeXt?

2010-02-11 Thread Peter Münster
On Thu, Feb 11 2010, Hans Hagen wrote: \definebar [backbar] [offset=1.5,rulethickness=2.4,color=blue, continue=yes,order=background] Great, many thanks for this hidden feature! What is the logic behind offset and rulethickness (the units and the reference point)? (I played a bit with

[NTG-context] tracking feature requests and bugs

2010-02-13 Thread Peter Münster
Dear ConTeXt developers, Does it make sense, to add the recent feature requests to the tracker at http://tracker.luatex.org/ ? It would be nice for ConTeXt users like me, to see the status of requests, perhaps also target dates, and to get automatic notifications when the status changes. But

[NTG-context] \fieldstack with mkiv

2010-02-13 Thread Peter Münster
Hello, What is needed to get \fieldstack working in mkiv? The following example works with mkii, but not with mkiv: \setupinteraction[state=start] \definesymbol[step1][AAA] \definesymbol[step2][BBB] \definefieldstack[test][step1, step2] \starttext \fieldstack[test] Just click

[NTG-context] tracking changes (was: Re: What do you miss in ConTeXt?)

2010-02-13 Thread Peter Münster
On Sat, Feb 13 2010, John Devereux wrote: I would think that would be an extremely useful feature in technical environment, where all document changes need to be reviewed Hello John, Perhaps this can help: http://archive.contextgarden.net/message/20060806.143457.47021821.en.html and

[NTG-context] checking keys (was: Re: What do you miss in ConTeXt?)

2010-02-13 Thread Peter Münster
On Sat, Feb 13 2010, Wolfgang Schuster wrote: \getcheckedparameters[test][xx][a=a] \getcheckedparameters[test][xx][b= b] \getcheckedparameters[test][xx][c = c] \getcheckedparameters[test][xx][d = d d , e = e ,f = f ] \getcheckedparameters[test][xx][g={oeps {oeps}}]

Re: [NTG-context] checking keys

2010-02-13 Thread Peter Münster
On Sat, Feb 13 2010, Wolfgang Schuster wrote: Hans made them valid for the test namespace, replace the test with a different name and they should be invalid too. Result: \enablecheckparameters \starttext \getcheckedparameters[bla][xx][h=h] \getcheckedparameters[bla][xx][g=g] \stoptext - !

Re: [NTG-context] tracking changes

2010-02-13 Thread Peter Münster
On Sat, Feb 13 2010, John Devereux wrote: The text-worddiff utility looks interesting. Does it work well in practice? Hello John, I don't know, I've never used it in real life ... ;) It was just a prove of concept: I'm working in an environment where everybody uses M$-Office, I'm the only

Re: [NTG-context] Formatting numbers in LuaTeX

2010-02-14 Thread Peter Münster
On Sun, Feb 14 2010, Andreas Harder wrote: 1) Is it possible to have a comma as decimal separator? 2) If you look at the above definition, it works fine with +, –, /, but not with *. Is it possible to expand my macro that it will also work with a multiplication or even with the last two

Re: [NTG-context] Formatting numbers in LuaTeX

2010-02-15 Thread Peter Münster
On Sun, Feb 14 2010, Hans Hagen wrote: sqrt = math.sqrt pi = math.pi function my_equation(s, r) beware, this creates (and possibly overloads) sqrt, pi and my_equation as gobals Indeed... The following hack was *not* so quick, but there is a bug somewhere (a digit is added at the

<    6   7   8   9   10   11   12   13   14   >