Re: [NTG-context] texexec command line switches missing in ruby version

2006-09-27 Thread Ralf Schmitt
Sanjoy Mahajan wrote: > Ralf Schmitt <[EMAIL PROTECTED]> wrote: >> Apparently I'm a bit mistaken: >> --mode is working. --result is not. None is listed in texexec --help. > > I haven't noticed problems with those. But could you post a short test > file and the full command line that you use? The

Re: [NTG-context] LilyPond module for LilyPond 2.9.x

2006-09-27 Thread Hans Hagen
Henning Hraban Ramm wrote: > Am 2006-09-26 um 22:23 schrieb Hans Hagen: >> use texmfstart! >> >> texmfstart whateverscript whateverargs >> >> will free you from adding the path >> >> lilypond -b eps -f eps -dno-gs-load-fonts -dinclude-eps-fonts >> >> or texmfstart bin:lilypond >> >> conversion

Re: [NTG-context] \sometxt in staticMPfigure

2006-09-27 Thread Hans Hagen
Sanjoy Mahajan wrote: > Hans Hagen <[EMAIL PROTECTED]> wrote: > >> indeed, another option is to replace more of mp's color stuff by >> context but then we may end up in other problems >> > > I'm guessing that pdftex+lua will make it easier to meld tex and > metapost. > not really, for th

Re: [NTG-context] mp to pdf inline conversion adds whitespace (2006.09.26 beta)

2006-09-27 Thread Hans Hagen
Sanjoy Mahajan wrote: > > My hypothesis was refuted by testing the rectangle. I had hoped (if > that's the right word) that the internal conversion was using the width > where it should have used the height, which is why the ellipse would > cause problems. Which is why I tried the square, and it

Re: [NTG-context] Very strange bug related to textbackground

2006-09-27 Thread Hans Hagen
Duncan Hothersall wrote: >>> Just downloaded and tried beta 'ver 2006.09.25 23:38 MK II' - same >>> result I'm afraid. >>> >>> >> then i need a better test file + explanation >> >> (or maybe i have some local patch) >> >> Hans >> > > You are not seeing the effect? > > I have put some fi

Re: [NTG-context] Very strange bug related to textbackground

2006-09-27 Thread Peter Rolf
Hans Hagen wrote: > Duncan Hothersall wrote: Just downloaded and tried beta 'ver 2006.09.25 23:38 MK II' - same result I'm afraid. >>> then i need a better test file + explanation >>> >>> (or maybe i have some local patch) >>> >>> Hans >>> >> You are not seeing the e

Re: [NTG-context] split natural table over columns

2006-09-27 Thread Peter Rolf
Johan Sandblom wrote: > What is missing from the example that started the thread? > Nothing, but I think it would be a waste of time. Instead of a one column table (of this size) I would use \startitemize[n,columns,three] or simply change the orientation of the table and use column spanning (column

Re: [NTG-context] split natural table over columns

2006-09-27 Thread Johan Sandblom
Good point, in the actual case there were two columns, a name and a number. The reason for using the table is align the name to the left and the number to the right. So a more realistic example is something like \starttext \bTABLE \setupTABLE[c][1][align=right] \setupTABLE[c][2][align=left] \dorec

Re: [NTG-context] Very strange bug related to textbackground

2006-09-27 Thread Taco Hoekwater
Peter Rolf wrote: >>can someone confirm this with the latest beta? it seems to work here > > doesn't work here It didn't work here either, but it did when I started using Hans' experimental context source file. :-) Taco ___ ntg-context mailing list n

Re: [NTG-context] does metafun require texexec --final?

2006-09-27 Thread Patrick Gundlach
Hi, > If I try to edit the top level of a page by clicking the edit tab at > the top, then I get a dialog box from Firefox (on Linux). I just > tried it with and got > "You have chosen to open index.php which is a: PHP script. What > should Firefox do

Re: [NTG-context] texexec command line switches missing in ruby version

2006-09-27 Thread Sanjoy Mahajan
I'm not sure if your command got mangled by the mailer disliking long lines, but it looks like you have this line: [EMAIL PROTECTED]:~/tmp$ ~/texmf/scripts/context/ruby/texmfstart.rb texexec t.tex -- result bla.pdf i.e. something like "texexec t.tex -- result bla.pdf" The texexec man entry,

Re: [NTG-context] split natural table over columns

2006-09-27 Thread Peter Rolf
Johan Sandblom wrote: > Good point, in the actual case there were two columns, a name and a > number. The reason for using the table is align the name to the left > and the number to the right. So a more realistic example is something > like > > \starttext > \bTABLE > \setupTABLE[c][1][align=right

Re: [NTG-context] split natural table over columns

2006-09-27 Thread Peter Rolf
Peter Rolf wrote: > Johan Sandblom wrote: >> Good point, in the actual case there were two columns, a name and a >> number. The reason for using the table is align the name to the left >> and the number to the right. So a more realistic example is something >> like >> >> \starttext >> \bTABLE >> \s

Re: [NTG-context] texexec command line switches missing in ruby version

2006-09-27 Thread Ralf Schmitt
Sanjoy Mahajan wrote: > I'm not sure if your command got mangled by the mailer disliking long > lines, but it looks like you have this line: > > [EMAIL PROTECTED]:~/tmp$ ~/texmf/scripts/context/ruby/texmfstart.rb texexec > t.tex -- result bla.pdf > > i.e. something like "texexec t.tex -- resu

Re: [NTG-context] texexec command line switches missing in ruby version

2006-09-27 Thread Hans Hagen
Ralf Schmitt wrote: >> And this command works: >> >> texexec t.tex --result=bla >> >> that's the intended usage (using the = sign) > same here. the equal sign was missing from my command line (the perl > version works without an equal sign). > hm, i never tested that and i also never assu

[NTG-context] latest beta and \doifnotallmodes

2006-09-27 Thread Alan Bowen
\doifnotallmodes{mode1,mode2,mode3}{ defaultmode instructions}gets the following error message: system          : mark BibTitle defined [subject] ! Missing number, treated as zero.                    \scct:0 \catcodetable ...\fi \the \csname @@cct:\number #1                                 

Re: [NTG-context] texexec command line switches missing in ruby version

2006-09-27 Thread Sanjoy Mahajan
> > $ cat /home/sanjoy/bin/texmfstart > > #!/bin/bash > > ruby `kpsewhich --format=texmfscripts texmfstart.rb` "$@" > > > > $ cat /home/sanjoy/bin/texexec > > #!/bin/sh > > texmfstart texexec.rb "$@" > > > > Thanks, I'm using them too, but I remember there was some confusion > about "$@" versus

[NTG-context] counter for MPtoPDF calls [feature request]

2006-09-27 Thread Peter Rolf
Hi Hans, I tested the beta from yesterday and I liked the incremented number behind the MPtoPDF calls (in older versions this was always [1]). I'm currently optimizing some of my graphics for trailtypesetting and the incremented counter was really informative. [..] [MP to PDF] (./testbed-mpgraph.

Re: [NTG-context] counter for MPtoPDF calls [feature request]

2006-09-27 Thread Hans Hagen
Peter Rolf wrote: > Hi Hans, > > I tested the beta from yesterday and I liked the incremented number > behind the MPtoPDF calls (in older versions this was always [1]). I'm > currently optimizing some of my graphics for trailtypesetting and the > incremented counter was really informative. > the

Re: [NTG-context] counter for MPtoPDF calls [feature request]

2006-09-27 Thread Peter Rolf
Hans Hagen wrote: > Peter Rolf wrote: >> Hi Hans, >> >> I tested the beta from yesterday and I liked the incremented number >> behind the MPtoPDF calls (in older versions this was always [1]). I'm >> currently optimizing some of my graphics for trailtypesetting and the >> incremented counter was re

[NTG-context] Texts after typing environment

2006-09-27 Thread Zhichu Chen
Hello everybody, If I type: --- \starttyping some verbatim texts \stoptyping does ConTeXt treat it as a complete paragraph? In LaTeX, when I type: -- \begin{verbatim} some te

Re: [NTG-context] latest beta and \doifnotallmodes

2006-09-27 Thread Hans Hagen
Alan Bowen wrote: > \doifnotallmodes{mode1,mode2,mode3}{ > defaultmode instructions > } > gets�the following error message: > > system� � � � � : mark BibTitle defined [subject] > ! Missing number, treated as zero. > > � � � � � � � � �� \scct:0 > \catcodetable ...\fi \the \csname @@cct:\number #1

Re: [NTG-context] latest beta and \doifnotallmodes

2006-09-27 Thread Alan Bowen
On Sep 27, 2006, at 12:32 PM, Hans Hagen wrote:Alan Bowen wrote: \doifnotallmodes{mode1,mode2,mode3}{defaultmode instructions}gets�the following error message:system� � � � � : mark BibTitle defined [subject]! Missing number, treated as zero.� � � � � � � � �� \scct:0\catcodetable ...\fi \the \csna

Re: [NTG-context] latest beta and \doifnotallmodes

2006-09-27 Thread Hans Hagen
Alan Bowen wrote: > > On Sep 27, 2006, at 12:32 PM, Hans Hagen wrote: > >> Alan Bowen wrote: >>> \doifnotallmodes{mode1,mode2,mode3}{ >>> defaultmode instructions >>> } >>> gets�the following error message: >>> >>> system� � � � � : mark BibTitle defined [subject] >>> ! Missing number, treated as z

[NTG-context] Imorting multiple page pdf.

2006-09-27 Thread John R. Culleton
Some of my friends over on the Scribus list are struggling with pamphlet layout and so on. It occured to me that if a multiple page pdf created by Scribus were inserted into a Context file then the Context prepress manipulation could be used to set it up. Here is an edited fragment of an actual Con

Re: [NTG-context] latest beta and \doifnotallmodes

2006-09-27 Thread Alan Bowen
On Sep 27, 2006, at 3:04 PM, Hans Hagen wrote: Alan Bowen wrote: On Sep 27, 2006, at 12:32 PM, Hans Hagen wrote: Alan Bowen wrote: \doifnotallmodes{mode1,mode2,mode3}{ defaultmode instructions } gets�the following error message: system� � � � � : mark BibTitle defined [subject] ! Missing

Re: [NTG-context] LilyPond module for LilyPond 2.9.x

2006-09-27 Thread Henning Hraban Ramm
Am 2006-09-27 um 09:55 schrieb Hans Hagen: If I add --ifchanged to the lilypond call, it never does anything; without it's called twice (like before, I couldn't find out why). --ifchanged=filename Ah, great! Here's the new version again (Willi, please try this, no need for patching any more

[NTG-context] run a ruby script and use the standard output ???

2006-09-27 Thread Renaud AUBIN
Hi all, Is it possible to run a ruby script from a context document during its processing (I already know how to do that using \write18 but there is maybe a better way...) then get the output of the script to display or use it into the document. It's a little bit hard to describe so I have a s

Re: [NTG-context] LilyPond module for LilyPond 2.9.x

2006-09-27 Thread Henning Hraban Ramm
Aaargh! It still doesn't work right; I should have tested with more than one LilyPond snippet. \lily!figures is the "image" counter; if I use it in the definition of the command, it stays 1. If I use it like below, I get "! Use of \LP doesn't match its definition." --- code --- \def\LP#1{t

Re: [NTG-context] Imorting multiple page pdf.

2006-09-27 Thread Tobias Burnus
Hi John, John R. Culleton schrieb: > Now is there a way to bring in properly sized pdf pages after > this point and have them rearranged by Context? > Does \combinepages[test.pdf][nx=3,ny=5] do what you want? (Allows also, e.g., frame=on, alternative=a, start=1, stop=30, distance=, bottom,

[NTG-context] \sometxt bodyfontsize in staticMPfigure (2006.09.27 beta)

2006-09-27 Thread Sanjoy Mahajan
[I'm testing the 2006.09.27 beta on Linux] Thanks for the new \sometxt in staticMPfigures. I'm just testing its operation, and find that the text is not set in the document's bodyfont size. For example, \setupbodyfont[20pt] \starttext \startstaticMPfigure{fig} label(\sometxt{in sometxt},orig

Re: [NTG-context] figurenumbering

2006-09-27 Thread Wolfgang Schuster
2006/9/18, Wolfgang Schuster <[EMAIL PROTECTED]>: On Sun, 17 Sep 2006 16:10:05 +0200Hans Hagen <[EMAIL PROTECTED]> wrote: > > It is obviously (my example shows this), that there must> > be a hidden number.> >> > What is its name?> > How can this number be influenzed? Hi Wolfgang   if where not ab