Re: [NTG-context] 2 columns: 1 language per column (solved)

2012-07-31 Thread Peter Münster
On Tue, Jul 31 2012, Hans Hagen wrote: \startmixedcolumns \placeparallel[main][one,two][criterium=all] \stopmixedcolumns there will be better support for that kind of things at some point I don't get the desired result with \placeparallel, but I've found a solution, that works quite

[NTG-context] width/height in figure converter (was: t-degrade.tex)

2012-07-31 Thread Peter Münster
On Fri, Jul 27 2012, Peter Münster wrote: Does it make sense, to port http://modules.contextgarden.net/t-degrade to mkiv, or is there already an existing solution in ConTeXt to downsample jpeg-images on the fly? I've played a bit with the converters: --8---cut here

Re: [NTG-context] 2 columns: 1 language per column (solved)

2012-07-31 Thread Peter Münster
On Tue, Jul 31 2012, Otared Kavian wrote: Can you give please an example showing how to use your code? Save it in test.cld, then run context test.cld. Then open test.pdf in a PDF-viewer. -- Peter ___ If

Re: [NTG-context] 2 columns: 1 language per column (solved)

2012-07-31 Thread Peter Münster
On Tue, Jul 31 2012, Otared Kavian wrote: Thanks Peter! It is a very nice piece of code, but could this be included in a TeX file? Probably yes, but I'm too busy to do this now. I'm sorry... -- Peter

Re: [NTG-context] t-degrade.tex (solved)

2012-07-31 Thread Peter Münster
Now I can downsample jpeg-files on the fly, see attached example file. But I need 2 patches: 1.) To get the width and the height into the name of the file, because when the figure dimensions change, there must be a new conversion: --8---cut

[NTG-context] problem with \setupalign[line]

2012-08-02 Thread Peter Münster
Hi, How could I avoid please, that the lower part of the g gets cut: --8---cut here---start-8--- \definepapersize[test][width=5cm, height=39mm] \setuppapersize[test] \setuplayout[page] \setupalign[line] \setupwhitespace[small] \starttext \dorecurse{10}{ba gla

Re: [NTG-context] problem with \setupalign[line]

2012-08-02 Thread Peter Münster
On Thu, Aug 02 2012, Hans Hagen wrote: \dorecurse{10}{\begstrut ba gla bla\endstrut\par} The result is the same... -- Peter ___ If your question is of interest to others as well, please add an entry to

[NTG-context] problem with \startcolumns[distance=0pt]

2012-08-06 Thread Peter Münster
Hi, The distance is not 0pt here (MKIV): --8---cut here---start-8--- \starttext \startcolumns[distance=0pt] \input tufte \stopcolumns \stoptext --8---cut here---end---8--- -- Peter

Re: [NTG-context] A series of articles about text-editors for the MAPS

2012-08-08 Thread Peter Münster
On Wed, Aug 08 2012, luigi scarso wrote: After all, TeX+Emacs = texmacs could be *the* editor for context , if only mkiv was supported. What about crowdfunding a better context mode for emacs? -- Peter

Re: [NTG-context] Pointer to manual.

2012-08-16 Thread Peter Münster
On Thu, Aug 16 2012, Bill Meahan wrote: FYI: The version at the wiki has a Cover Date of June 1, 2011 while the version that comes with Tex Live 2012 has a Cover Date of June 9, 2011 That's the date of PDF compilation. I haven't looked at the SVN version (yet). It's behind the cover

Re: [NTG-context] Throwing an error on missing image with \externalfigure

2012-08-17 Thread Peter Münster
On Fri, Aug 17 2012, Tobias Mueller wrote: And I wouldn't want to embarras myself by having a document missing images. So a failure in the build process would help me a lot. Instead of calling context directly, you can make a script, that throws an error after grepping the log-file. --

Re: [NTG-context] \textwidth - 7 cm?

2012-08-17 Thread Peter Münster
On Fri, Aug 17 2012, Xan wrote: I receive error if I do directly: width=\textwidth-7cm width=\dimexpr \textwidth - 7cm \relax -- Peter ___ If your question is of interest to others as well, please add

Re: [NTG-context] How to know in which page I'm?

2012-08-20 Thread Peter Münster
On Mon, Aug 20 2012, Xan wrote: I want to print a message depending if the page is even or odd. In pseudocode: \if \inpage.\iseven { This page is even } \else { This page is odd } How can I do that in ConTeXt? \signalrightpage\doifrightpageelse{odd page}{even page} --

Re: [NTG-context] Creating TeX dimensions and counters registers directly in Lua

2012-08-22 Thread Peter Münster
On Wed, Aug 22 2012, Jaroslav Hajtmar wrote: \ctxlua{myluadimension = number.topoints(1)} \ctxlua{context(myluadimension)} \def\myluadimension{\ctxlua{context(myluadimension)}} ... \hbox to\myluadimension{X} -- Peter

Re: [NTG-context] Passing variables on invocation- and reading them in ConTEXt

2012-09-10 Thread Peter Münster
On Mon, Sep 10 2012, Marco Patzer wrote: context --number=8 --time=full-time test.tex Then you have to be sure, that --number and --time will never be special parameters for context. Alternatives: --MarcoPatzerNumber=8 --MarcoPatzerTime=full-time Or: % context

Re: [NTG-context] Ctx: list of commands

2012-09-18 Thread Peter Münster
On Tue, Sep 18 2012, Procházka Lukáš Ing. - Pontex s. r. o. wrote: - the command/macro \startluacode is missing (why?) and Are you sure? I can see it... -- Peter ___ If your question is of interest to

Re: [NTG-context] Current source directory.

2012-09-24 Thread Peter Münster
On Mon, Sep 24 2012, Andre Caldas wrote: Is there a way to know the directory of the currently being processed source file? This works with mkiv: \starttext PWD: \cldcontext{io.popenpwd:read()} \stoptext -- Peter

Re: [NTG-context] Current source directory.

2012-09-24 Thread Peter Münster
On Mon, Sep 24 2012, Peter Münster wrote: \starttext PWD: \cldcontext{io.popenpwd:read()} \stoptext Or better: \starttext PWD: \cldcontext{environment.runpath} \stoptext -- Peter ___ If your question

Re: [NTG-context] [co-pagedesign.tex] grid=yes not mentioned

2012-10-18 Thread Peter Münster
On Thu, Oct 18 2012, Philipp Gesang wrote: --- co-pagedesign.tex.orig2012-10-18 12:06:19.391924262 +0200 +++ co-pagedesign.tex 2012-10-18 12:33:38.226379268 +0200 Applied. -- Peter ___ If your

Re: [NTG-context] Weird print(\n...) error

2012-11-03 Thread Peter Münster
On Fri, Nov 02 2012, Procházka Lukáš wrote: print(\nT) print(\n .. T) Any explanation? \nT is an unknown command. -- Peter ___ If your question is of interest to others as well, please add

Re: [NTG-context] Hyphenation in German

2012-11-15 Thread Peter Münster
On Thu, Nov 15 2012, H. Özoguz wrote: context does not know how to hyphenate a word Hi, Could you give an example please? Thanks, -- Peter ___ If your question is of interest to others as well, please

Re: [NTG-context] Dash equivalent of $BASH_SOURCE (for setuptex)

2012-11-21 Thread Peter Münster
On Wed, Nov 21 2012, Mojca Miklavec wrote: write your own script with hardcoded path ;) What about adding this line to the end of first-setup.sh: echo 'PATH=$PATH:'$CONTEXTROOT/texmf-$platform/bin'' $CONTEXTROOT/setuptex ? -- Peter

Re: [NTG-context] Dash equivalent of $BASH_SOURCE (for setuptex)

2012-11-21 Thread Peter Münster
On Wed, Nov 21 2012, Mojca Miklavec wrote: But Peter's idea is also not that bad. The drawback is that the distribution cannot be moved to a different directory then, but one could also have combination of both approaches somehow. Is it worth the trouble to keep setuptex? Just saying Please

Re: [NTG-context] MetaPost Animations

2012-12-29 Thread Peter Münster
On Sat, Dec 29 2012, Mojca Miklavec wrote: there is something fundamentally wrong with the animation. Not necessarily. Just imagine 2 motors: the 2 right gears are driving the left one... ;) -- Peter

Re: [NTG-context] makeupwidth in externalfigure yields invalid escape sequence

2012-12-31 Thread Peter Münster
On Mon, Dec 31 2012, Andreas Mang wrote: \externalfigure[cow][width=0.5\makeupwidth] % error Here a patch that helps: http://www.ntg.nl/pipermail/ntg-context/2012/068393.html Then, type context --make. -- Peter

Re: [NTG-context] luatex 0.74: invalid escape sequence near '\%

2013-01-04 Thread Peter Münster
On Fri, Jan 04 2013, Thomas A. Schmitz wrote: ! LuaTeX error [string \directlua ]:1: invalid escape sequence near '\%'. Workaround: \letterpercent -- Peter ___ If your question is of interest to others

Re: [NTG-context] Any ConTeXt-Lua changes

2013-01-14 Thread Peter Münster
On Mon, Jan 14 2013, Rogers, Michael K wrote: I thought something must have changed, Perhaps the lua-version: 5.1 - 5.2 -- Peter ___ If your question is of interest to others as well, please add an

Re: [NTG-context] Broken scripts

2013-02-01 Thread Peter Münster
On Fri, Feb 01 2013, Vyatcheslav Yatskovsky wrote: {\mi\cap\tfx INTRO} gives Undefined control sequence ... Try this: {\cap\tfx INTRO} -- Peter ___ If your question is of interest

[NTG-context] letter module: File ended while scanning use of \buff_gobble

2013-03-04 Thread Peter Münster
Hi, How could I embed \startletter/\stopletter in a macro please? This does not work: --8---cut here---start-8--- \usemodule[letter] \def\myStartLetter{\startletter} \def\myStopLetter{\stopletter} \myStartLetter \input tufte \myStopLetter

[NTG-context] problem with aligncharacter=yes

2013-03-04 Thread Peter Münster
Hi, It seems, that \characteralignmentmode=2 and align=flushright do not work together: --8---cut here---start-8--- \setupTABLE[offset=0em] \setupTABLE[c][1][align=flushright, alignmentcharacter=., aligncharacter=yes] \setupTABLE[c][2][align=flushleft]

Re: [NTG-context] luatex 0.75 and Debian Wheezy

2013-03-05 Thread Peter Münster
On Tue, Mar 05 2013, Mojca Miklavec wrote: This means that the binaries should be compiled on an older*** linux box than they are now. Right. I would have to install a virtual machine with some older distribution. But it will only be possible next week... -- Peter

[NTG-context] command reference (was: upto current)

2013-03-22 Thread Peter Münster
Hi Keith, What about one lua table per command? See also: - http://meeting.contextgarden.net/2010/talks/2010-09-14-peter-referencelua/ - http://thread.gmane.org/gmane.comp.tex.context.devel/1507 - https://foundry.supelec.fr/scm/viewvc.php/context-commands/?root=contextman -- Peter

Re: [NTG-context] command reference

2013-03-22 Thread Peter Münster
On Fri, Mar 22 2013, Procházka Lukáš Ing. - Pontex s. r. o. wrote: Some connection to wiki would be useful, too - once a command definition is prepared for PDF manual, it would be good to have a generator which would convert and add info to wiki. Exporting to whatever format you want should

[NTG-context] \setcharacterspacing[frenchpunctuation] not working

2013-04-05 Thread Peter Münster
Hi, With the latest beta, \setcharacterspacing[frenchpunctuation] is no more working. Example: --8---cut here---start-8--- \setcharacterspacing[frenchpunctuation] \starttext bla: bla \stoptext --8---cut here---end---8---

Re: [NTG-context] Hanging and Protrusion with Typescript

2013-04-09 Thread Peter Münster
On Tue, Apr 09 2013, Wolfgang Schuster wrote: \starttypescript [serif] [nimbus] \definefontsynonym [Serif] [file:AGaramondPro-Regular.otf] \definefontsynonym [SerifBold] [file:AGaramondPro-Bold.otf] \definefontsynonym [SerifItalic] [file:AGaramondPro-Italic.otf]

Re: [NTG-context] new beta

2013-04-11 Thread Peter Münster
On Thu, Apr 11 2013, luigi scarso wrote: It's true that ConTEXt is always considered less math savy than LaTeX not that ConTEXt is less math savy than LaTeX. Perhaps better: always - often ? -- Peter

Re: [NTG-context] ConText on webspace

2013-04-19 Thread Peter Münster
On Fri, Apr 19 2013, Jan Heinen wrote: Is it possible to instal and runl ConText on webspace? I have access via - ssh Hi, You could just try it: - ssh remote-host - mkdir context-dir ; cd context-dir - rsync -ptv rsync://contextgarden.net/distribution/setup/first-setup.sh . -

Re: [NTG-context] Adobe Garamond Problems with letter combination fi

2013-04-24 Thread Peter Münster
On Wed, Apr 24 2013, H. Özoguz wrote: The second attachment shows the same word written in MS-Word, again with Adobe Garamond Pro, without this curiosity. Perhaps a bug in M$-Word...? ;) -- Peter ___

Re: [NTG-context] Is it possible to set the output file name in the script

2013-04-26 Thread Peter Münster
On Fri, Apr 26 2013, Cecil Westerhof wrote: The following script does what I want: Or shorter: --8---cut here---start-8--- #!/usr/bin/env bash context --result=cv-${1:-cecil} CV-Cecil-Westerhof --8---cut here---end---8---

Re: [NTG-context] How to center with picture taken into consideration

2013-04-27 Thread Peter Münster
On Sat, Apr 27 2013, Sietse Brouwer wrote: how to obtain the an image's width and/or height from Lua. Here an example: http://modules.contextgarden.net/dl/grph-downsample.lua/tex/context/third/grph-downsample/grph-downsample.lua -- Peter

Re: [NTG-context] Text streams

2013-05-03 Thread Peter Münster
On Fri, May 03 2013, H. Özoguz wrote: some motnh ago I asked for a possibility to set a book in Context bilingual (with a left and a right column on every page). This environment should allow of course page breaking etc. I got this answer (by Philipp Gesang): What you are looking for is text

Re: [NTG-context] Table

2013-05-03 Thread Peter Münster
On Fri, May 03 2013, H. Özoguz wrote: One thing to add: In LaTex I realized this with minipages: This sets very well the german and the arabic text, with different interlinespaces. Is there a possibility to copy this into ConText? Do minipages support page breaks? And floats? Did you try

Re: [NTG-context] how to print a simple booklet

2013-06-13 Thread Peter Münster
On Thu, Jun 13 2013, Jan Pohanka wrote: Maybe it is just my misunderstanding but I think that page number should be placed on the left side of page 2, on the right side of page 3, etc. Did you try: \setuppagenumbering[location={footer,right},alternative=doublesided] ? -- Peter

Re: [NTG-context] how to print a simple booklet

2013-06-13 Thread Peter Münster
On Thu, Jun 13 2013, Jan Pohanka wrote: I always thought that backspace is on the left side of single page, or on the outer sides when the sheets are in a book. So is the problem caused just by my total misunderstanding of page layout? Probably. Backspace is for the back of the book, i.e.

[NTG-context] bad column break

2013-06-21 Thread Peter Münster
Hi, IMO, ConTeXt should start a new column *before* the section title, not *after* it: --8---cut here---start-8--- \def\Section#1{% \startsection[title=Title] \dorecurse{#1}{\dorecurse{12}{bla }} \stopsection} \starttext \startcolumns[n=2] \Section{15}

[NTG-context] mixed columns

2013-06-25 Thread Peter Münster
Hi, I have several questions concerning mixed columns. Here at first a minimal example: --8---cut here---start-8--- \useURL[test][http://www.site.com/very/long/long/long/long/long/long/long/long/url] \def\Section#1{% \startsection[title=Title]

Re: [NTG-context] documents inside documents

2013-06-25 Thread Peter Münster
On Tue, Jun 25 2013, Pablo Rodríguez wrote: http://www.ntg.nl/pipermail/ntg-context/2013/072963.html I'm afraid I cannot get it working with the sample file I provided. Hi, Why not? This works here: --8---cut here---start-8---

Re: [NTG-context] french character spacing in footnotes

2013-06-27 Thread Peter Münster
On Fri, Jun 28 2013, Wolfgang Schuster wrote: ConTeXt resets a few features for the notes and you have to enable them for the notes block. Add the following lines to your document and it should work. \startsetups[footnote:french] \setcharacterspacing[frenchpunctuation] \stopsetups

Re: [NTG-context] how to use \dimexpr and fractional values

2013-06-28 Thread Peter Münster
On Fri, Jun 28 2013, Thomas A. Schmitz wrote: %\externalfigure[mill][height=\dimexpr10cm*\myfactor\relax] \externalfigure[mill][height=\myfactor\dimexpr10cm\relax] -- Peter ___ If your question is of

Re: [NTG-context] keeping headings with following texts

2013-07-13 Thread Peter Münster
On Sat, Jul 13 2013, Pablo Rodríguez wrote: \usemodule[simplefonts] \setmainfont[TeX Gyre Pagella] If I replace those lines with \setupbodyfont[pagella,12pt], nothing changes, but if I remove the first two lines quoted above, everything works. No. You don't need those lines for a

Re: [NTG-context] Colored horizontal line

2013-07-15 Thread Peter Münster
On Mon, Jul 15 2013, H. Özoguz wrote: The direct attempt \color[r=0.4,g=0.4,b=0.4]{\hrule} fails. \definecolor[my hrule color][r=0.4,g=0.4,b=0.4] \starttext bla \color[my hrule color]{\hrule} bla \stoptext -- Peter

Re: [NTG-context] Inserting verbatim text in a figure and framed.

2013-07-30 Thread Peter Münster
On Tue, Jul 30 2013, john Culleton wrote: Here is my code so far. I want to show a file in verbatim form. It compiles but here is no frame around the text and there is no caption. Hi, this works here: --8---cut here---start-8--- \starttext

Re: [NTG-context] Inserting verbatim text in a figure and framed.

2013-07-30 Thread Peter Münster
On Tue, Jul 30 2013, Wolfgang Schuster wrote: Am 30.07.2013 um 21:30 schrieb Peter Münster pmli...@free.fr: \startbuffer[ex1] \typefile[]{test.tex} \stopbuffer Why do you use a buffer? Copy + paste ... ;) (brain was somewhere else... ;) -- Peter

Re: [NTG-context] bug in \externalfigure

2013-08-01 Thread Peter Münster
On Thu, Aug 01 2013, Jannik Voges wrote: The first two \externalfigure-commands (with cow) will give a grey placeholder with 'state:unknown' in it. Yes, you need \setupexternalfigures[location=default] for finding the sample files of the distribution. The third \externalfigure-command

Re: [NTG-context] bug in \externalfigure

2013-08-01 Thread Peter Münster
On Thu, Aug 01 2013, Jannik Voges wrote: \externalfigure[cow.pdf][width=10cm] This text will not appear. I can confirm this with acroread 9.5.5 No problem with evince. -- Peter ___ If your question is

Re: [NTG-context] bug in \externalfigure

2013-08-02 Thread Peter Münster
On Thu, Aug 01 2013, Jannik Voges wrote: Okay, a reader dependent bug/error. I used Preview (OS X 10.8.4). The second figure (\externalfigure[cow.pdf][width=10cm]) and the following sentence didn't appear. The same happens when you use height instead of width. Perhaps you could add this issue

Re: [NTG-context] [***SPAM***] Re: Minimal word-distance?

2013-08-26 Thread Peter Münster
On Mon, Aug 26 2013, H. Özoguz wrote: The question is, only to add an minimal distance, wich has not to be undercut \spaceskip=1ex plus 1ex minus 0ex or just \spaceskip=1ex plus 1ex -- Peter ___

Re: [NTG-context] letter module: File ended while scanning use of \buff_gobble

2013-09-01 Thread Peter Münster
On Mon, Mar 04 2013, Wolfgang Schuster wrote: \usemodule[letter] \startsetups[letter:section:content] \getbuffer[MyLetter] \stopsetups \setuplettersection[content][alternative=setups] \def\StartLetter {\starttext \grabbufferdata[MyLetter][StartLetter][StopLetter]}

[NTG-context] buffers.prepend() (was: letter module: File ended while scanning use of \buff_gobble)

2013-09-02 Thread Peter Münster
On Sun, Sep 01 2013, Wolfgang Schuster wrote: \startrawsetups[letter:section:content] Text before the content of the letter. \getbuffer[MyLetter] Text after the content of the letter. \stoprawsetups Yes, thanks! (I forgot about this part, because in my setup it was hidden in another

[NTG-context] problem with \cldcontext{} and aligncharacter=yes

2013-09-02 Thread Peter Münster
Hi, How could I get with \cldcontext{1.2} the same result as with 1.2 in the following example please: \starttext \setupTABLE[c][1][alignmentcharacter=., aligncharacter=yes] \bTABLE \bTR \bTD 1.2 \eTD \eTR \eTABLE \bTABLE \bTR \bTD \cldcontext{1.2} \eTD \eTR \eTABLE \stoptext TIA

Re: [NTG-context] problem with \cldcontext{} and aligncharacter=yes

2013-09-02 Thread Peter Münster
On Sun, Sep 01 2013, Peter Münster wrote: \starttext \setupTABLE[c][1][alignmentcharacter=., aligncharacter=yes] \bTABLE \bTR \bTD 1.2 \eTD \eTR \eTABLE \bTABLE \bTR \bTD \cldcontext{1.2} \eTD \eTR \eTABLE \stoptext Workaround: \expanded{\bTD \cldcontext{1.2} \eTD

[NTG-context] tabulate and tolerance

2013-09-26 Thread Peter Münster
Hi, It seems, that tabulate does not use the tolerance setting: --8---cut here---start-8--- \setbreakpoints[compound] \setuptolerance[stretch] \starttext \starttabulate[|p(1cm)|l|] \NC bla-blabla-bla \NC XXX \NC \NR \stoptabulate \hsize1cm bla-blabla-bla

Re: [NTG-context] ConTeXt Manual Errata

2013-09-26 Thread Peter Münster
On Thu, Sep 26 2013, Aditya Mahajan wrote: Wouldn't it be better to move the manuals to github rather than keeping them on an svn server? Why? -- Peter ___ If your question is of interest to others as

[NTG-context] git or svn (was: ConTeXt Manual Errata)

2013-09-26 Thread Peter Münster
On Thu, Sep 26 2013, Mica Semrick wrote: @Peter github makes collaboration quite painless. Users can manage their own accounts. I like git because of its features. And when I don't need those features, I prefer svn because of its simplicity. Where is the pain? What would be the benefit when

Re: [NTG-context] git or svn

2013-09-27 Thread Peter Münster
On Thu, Sep 26 2013, Mica Semrick wrote: it could have been forked, branched, content added, pull request made. with svn: wait for access - commit ;) -- Peter ___ If your question is of interest to

Re: [NTG-context] git or svn

2013-09-27 Thread Peter Münster
On Fri, Sep 27 2013, Aditya Mahajan wrote: The last time I tried, merging multiple version in svn is a huge pain. One of the advantages of DVCS is that branching and merging are easy. I understand. Please go ahead if you need git. My preference for svn is just my personal opinion, coming from

Re: [NTG-context] ConTeXt Manual Errata

2013-09-27 Thread Peter Münster
On Fri, Sep 27 2013, Marco Patzer wrote: More importantly I would like to see people actually contributing. +1 And it would be no problem for me (and for other contextman members) to apply contributed patches. Whoever wants to contribute without worrying about the VCS can send a patch here.

Re: [NTG-context] git or svn

2013-09-27 Thread Peter Münster
On Fri, Sep 27 2013, Marcin Borkowski wrote: However, it seems that nowadays, for a *new* user, learning to use SVN is pointless For our use case (enhancing the documentation) that's a nonissue: git or svn, there is nothing to learn, just pull, edit, commit. 3 lines on the project web page

[NTG-context] \setupTABLE strangeness

2013-10-04 Thread Peter Münster
Hi, Is this wanted or a bug? If it's wanted, then why? --8---cut here---start-8--- \starttext \section{Why is the align key not used?} \setupTABLE[width=3cm, height=3cm,

Re: [NTG-context] Sectioning from 0?

2013-10-04 Thread Peter Münster
On Fri, Oct 04 2013, Procházka Lukáš Ing. - Pontex s. r. o. wrote: \subsection[ownnumber=0]{C} Maybe \start/stop-subsection would be better for this case... But how? Did you try this: \starttext \startsection[ownnumber=123, title=A] bla \stopsubsection \stoptext ? ;) -- Peter

Re: [NTG-context] Sectioning from 0?

2013-10-04 Thread Peter Münster
On Fri, Oct 04 2013, Mari Voipio wrote: \startsection[ownnumber=123, title=A] bla \stopsubsection (They should be a pair, shouldn't they? Why should we bother? It just works... ;-)) -- Peter ___

[NTG-context] ownnumber and incrementing

2013-10-04 Thread Peter Münster
Hi, After using ownnumber=N, how can I continue incrementing the sectionnumbers with (N + 1) please? Example: --8---cut here---start-8--- \starttext \startsection[title=number 1] bla \stopsection \startsection[title=number 5, ownnumber=5]

[NTG-context] flowchart: \comment does not work with background

2013-10-04 Thread Peter Münster
Hi, The flowchart disappears when using background=mytest here: --8---cut here---start-8--- \usemodule[chart] \startuniqueMPgraphic{mytest} path p ; p := unitsquare xscaled \overlaywidth yscaled \overlayheight ; fill p withcolor green ; \stopuniqueMPgraphic

Re: [NTG-context] flowchart: \comment does not work with background

2013-10-05 Thread Peter Münster
On Sat, Oct 05 2013, Hans Hagen wrote: nested mp in mp ... never seen that .. so it needs some work (if wanted at all) It would be nice. I would like to make fancy comments on connections. Do you think that you can make it possible? TIA, -- Peter

Re: [NTG-context] image vertical positioning in xtable

2013-10-06 Thread Peter Münster
On Sun, Oct 06 2013, Pablo Rodríguez wrote: I have the following sample that places the image below the text in the same cell: \startxcell image \externalfigure[cow.pdf][height=.5em] \stopxcell Perhaps a bug? --8---cut

[NTG-context] scope and grouping in flowchart

2013-10-06 Thread Peter Münster
Hi, Why is the \getvariable not in the same grouping level as the \setvariables here: --8---cut here---start-8--- \usemodule[chart] \startFLOWchart[test] \startFLOWcell \setvariables[test][test=test] \text{\getvariable{test}{test}} % no text!

[NTG-context] \definetype[xxx][linebreaks=yes, breakpoints=name]

2013-10-06 Thread Peter Münster
Hi, Is it already possible to define a new \type{} command that allows linebreaks and perhaps also a breakpoint set? If not, here my feature request: something like \definetype[xxx][linebreaks=yes, breakpoints=compound] TIA, -- Peter

Re: [NTG-context] \definetype[xxx][linebreaks=yes, breakpoints=name]

2013-10-07 Thread Peter Münster
On Mon, Oct 07 2013, Hans Hagen wrote: If not, here my feature request: something like \definetype[xxx][linebreaks=yes, breakpoints=compound] this should be redefined: \unexpanded\def\specialstretchedspace{\hskip.5\interwordspace\s!plus.125\interwordspace\relax} Hi Hans, Unfortunately it

Re: [NTG-context] Math in current beta

2013-10-08 Thread Peter Münster
On Tue, Oct 08 2013, Alan BRASLAU wrote: Math seems terribly broken in current beta. Minimal example: anything... :) Works for me: \starttext $a = b$ \stoptext mtx-context | current version: 2013.10.08 21:49 -- Peter

Re: [NTG-context] French punctuation : tests

2008-09-30 Thread Peter Münster
On Tue, Sep 30 2008, Olivier Guéry wrote: Think about the usage Celine made of the punctuation. Hello Olivier, Who is Celine? So the rules is not : there's a space before « ! ». But there's a space befor « ! » if the signe before is not punctuation. But i understand your point of view. In

Re: [NTG-context] Minimals and latest luatex on linux-64

2008-10-01 Thread Peter Münster
On Wed, Oct 01 2008, Aditya Mahajan wrote: The minimals still have LuaTeX, Version snapshot-0.29.0-2008072108. Excuse me, I did not see that 'svn ci -F $BUILDDIR/VERSIONS.tmp' had failed 2 days ago (network down), when I ran the build-binaries.sh script... Now luatex is updated to 0.30.0.

Re: [NTG-context] The most Tex friendly distribution?

2008-10-02 Thread Peter Münster
On Wed, Sep 17 2008, Thomas A. Schmitz wrote: What's the issue with suse? I'm using it since 1995 without problems. Now I'm just adding the minimals to /opt/context to have up to date luatex and context versions. When I need latex, I use the suse texlive distribution. Cheers, Peter

[NTG-context] context --result=... overwrites pdf-file

2008-10-02 Thread Peter Münster
Hello, The new context script overwrites a pdf-file when used with the --result option. Example: %%% file test.tex %%% \starttext bla \stoptext context test### this creates test.pdf context --mode=blub --result=test-blub test### this removes test.pdf - nor more test.pdf

Re: [NTG-context] context --result=... overwrites pdf-file

2008-10-02 Thread Peter Münster
On Thu, Oct 02 2008, Hans Hagen wrote: context test### this creates test.pdf context --mode=blub --result=test-blub test### this removes test.pdf - nor more test.pdf file ... :( is there no test-blub.pdf then? Sure, it's there. Peter --

Re: [NTG-context] Listings

2008-10-03 Thread Peter Münster
On Thu, Oct 02 2008, Mohamed Bana wrote: Maybe someone should ask the authors of listings.sty if they're are willing to port it to ConTeXt. Here's the relevant link; http://www.ctan.org/tex-archive/macros/latex/contrib/listings/ I've done that in the old days of MKII: there was too much

Re: [NTG-context] mkiv

2008-10-17 Thread Peter Münster
On Fri, Oct 17 2008, Hans Hagen wrote: at the context meeting it was concluded that there is no reason for mkiv to be fully downward compatible. Great! Could you then also repair the align=left|right issue? Thanks, Peter -- http://pmrb.free.fr/contact/

[NTG-context] emacs (was: Re: PhD Thesis in ConTeXt)

2008-10-21 Thread Peter Münster
On Wed, Oct 22 2008, Marcin Borkowski wrote: Well, my heart is breaking when I type this, but my beloved emacs;) has rather poor ConTeXt support... I use Emacs 22 with AUCTeX 11.84. Well, although it *works*, it is by no means convenient - at least not that convenient as an emacs should

Re: [NTG-context] PhD Thesis in ConTeXt

2008-10-22 Thread Peter Münster
On Wed, Oct 22 2008, John Devereux wrote: But one thing I still find is that the documentation for a command (when it exists at all) can list 20 parameters, of which only a couple are explained. I often still have no idea what the others do. The meaning may be obvious to typography or tex

Re: [NTG-context] beta

2008-10-23 Thread Peter Münster
On Thu, Oct 23 2008, Hans Hagen wrote: \defineregister[xüber] test \xüber{oeps} oeps Great, even \def\höhö{blabla} works! Peter -- http://pmrb.free.fr/contact/ ___ If your question is of interest to others as

Re: [NTG-context] Context using LuaTeX - distribution packaging question

2008-10-30 Thread Peter Münster
On Wed, Oct 29 2008, Tobias Burnus wrote: I have a scenario which fails with the current mechanism - even if following the sym links worked. Assume that a user only puts a texmf.cnf under $HOME/texmf/web2c/texmf.cnf. That file will be used by luatex, pdftex etc. but luatools will still

Re: [NTG-context] \ref and \goto

2008-11-02 Thread Peter Münster
On Sun, Nov 02 2008, Wolfgang Schuster wrote: how can I combine \ref and \goto? \setupinteraction[state=start] [...] see also \goto{\ref[s][sec:one]}[sec:one] % fails Here a workaround: see also \goto{\expanded{\ref[s][sec:one]}}[sec:one] % does not fail This works also:

[NTG-context] problem with \framed[corner=00]{}

2008-11-03 Thread Peter Münster
Hello, With the latest ConTeXt version (Happy birthday, Hans!), I get a black background instead of green: \setupcolors[state=start] \starttext \framed[background=color, backgroundcolor=green, corner=00]{bla} \stoptext TIA for any help! Cheers, Peter -- http://pmrb.free.fr/contact/

[NTG-context] backgrounds: help needed

2008-11-04 Thread Peter Münster
Hello, I need some text with background, that can break across lines. But the background must not touch the background of the next line! \setupcolors[state=start] \starttext inframed does not allow linebreaks: \def\Bla{\inframed[background=color, backgroundcolor=gray, frame=off,

Re: [NTG-context] on imposition and local or external files

2008-11-08 Thread Peter Münster
On Fri, Nov 07 2008, Taco Hoekwater wrote: curl as os.spawn ? Why don't use lua-curl http://luaforge.net/projects/lua-curl/ 300kb extra in the binary and an extra portability headache. I don't understand all the trouble... This works very well on live.contextgarden.net (luatex):

Re: [NTG-context] on imposition and local or external files

2008-11-08 Thread Peter Münster
On Fri, Nov 07 2008, Pablo Rodríguez wrote: Is there any way to load a local file (or even an URL) with ConTeXt? How should I rewrite the following command to load a local file or an URL in ConteXt live? \insertpages[original_file.pdf][width=0pt] I did not find any documentation about

Re: [NTG-context] ConTeXt Live not working

2008-11-09 Thread Peter Münster
On Sun, Nov 09 2008, Pablo Rodríguez wrote: I can't find the format file `cont-en.fmt'! TeXExec | runtime: 0.776454 It seems that it doesn't work. It happens also with XeTeX and LuaTeX. Sure? No problem here with LuaTeX on live.contextgarden.net... Peter -- http://pmrb.free.fr/contact/

Re: [NTG-context] TABLEs and backgroundcolor

2008-11-09 Thread Peter Münster
On Sat, Nov 08 2008, Andreas Harder wrote: \bTABLE[background=color,backgroundcolor=blue] \bTR \bTD[corner=08] left \eTD\bTD[corner=05] right \eTD\eTR \bTR \bTD left \eTD\bTD right \eTD\eTR \bTR \bTD left \eTD\bTD right \eTD\eTR \bTR \bTD[corner=07] left \eTD\bTD[corner=06] right \eTD\eTR

Re: [NTG-context] ConTeXt Live not working

2008-11-10 Thread Peter Münster
On Mon, Nov 10 2008, Yue Wang wrote: As to the live, I think a patched Lua file (loslib.c) can solve this problem: remove the line {execute, os_execute}, in the static const luaL_Reg syslib[]. Moreover, if we do that, ConTeXt will not adapt to the stripped down LuaTeX. For

Re: [NTG-context] can't find file `core-swd'

2008-11-11 Thread Peter Münster
On Wed, Nov 12 2008, luigi scarso wrote: It's Hans fault, he loads core-swd in context.mkii with the command \loadmkiifile but the command expects .tex as file extension, you could either rename core-swd.mkii to core-swd.tex or you change the line \loadmkiifile{core-swd} to

Re: [NTG-context] French punctuation again...

2008-11-16 Thread Peter Münster
On Sun, Nov 16 2008, Jeff Smith wrote: Ok, thought as much. So, what do I do? Is there a way to update/adapt the older hacks that don't work anymore? While I follow the developments of luatex with interest, I'm not interested in switching yet if I can help it. A small example that shows the

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