Re: [NTG-context] Error Line Number

2012-01-13 Thread luigi scarso
On Thu, Jan 12, 2012 at 8:11 PM, Kip Warner k...@thevertigo.com wrote: On Thu, 2012-01-12 at 11:13 +0100, Hans Hagen wrote: such a message comes from stored macros so there is no such information So when you have a book of hundreds of pages in length split up over dozens of tex files and

[NTG-context] footnote mechanism broken

2012-01-13 Thread Steffen Wolfrum
Hi, in vers. 20120112 this example give Undefined control sequence: \setupnote[footnote][way=bypage] \starttext \input{tufte}\footnote{Note} \stoptext What's wrong? Steffen ___ If your question is of interest to

[NTG-context] footnote mechanism broken (2)

2012-01-13 Thread Steffen Wolfrum
Hi, an other strange thing related to footnotes can be seen here: \def\MyNote#1{\switchtobodyfont[12pt]\high{#1}} % - gives small number %\def\MyNote#1{\switchtobodyfont[13pt]\high{#1}} % - gives big number \setupnote [footnote] [textcommand=\MyNote] \starttext Hi there!\footnote{I’m a

[NTG-context] footnote mechanism broken (3)

2012-01-13 Thread Steffen Wolfrum
This one is even more disturbing: Just by setting the note's color to green, each footnote is set on a single page!!! \setupnote[footnote][textcolor=green]% - without this line the notes are set right \starttext \dorecurse{10}{\input ward\footnote{just one line. a test footnote. just one

[NTG-context] buffer mechanism changed

2012-01-13 Thread Steffen Wolfrum
Hi, isn't it possible to use the short way? \definebuffer[MottoSieben] \startbuffer[MottoSieben] \stopbuffer[MottoSieben] % but shouldn't it also work like this: %\startMottoSieben %\stopMottoSieben % ??? \starttext test\footnote{note} text \stoptext Steffen

Re: [NTG-context] footnote mechanism broken (2)

2012-01-13 Thread luigi scarso
On Fri, Jan 13, 2012 at 10:55 AM, Steffen Wolfrum cont...@st.estfiles.dewrote: Hi, an other strange thing related to footnotes can be seen here: \def\MyNote#1{\switchtobodyfont[12pt]\high{#1}} % - gives small number %\def\MyNote#1{\switchtobodyfont[13pt]\high{#1}} % - gives big number

Re: [NTG-context] footnote mechanism broken (3)

2012-01-13 Thread luigi scarso
On Fri, Jan 13, 2012 at 11:01 AM, Steffen Wolfrum cont...@st.estfiles.dewrote: This one is even more disturbing: Just by setting the note's color to green, each footnote is set on a single page!!! \setupnote[footnote][textcolor=green]% - without this line the notes are set right

Re: [NTG-context] footnote mechanism broken (3)

2012-01-13 Thread Steffen Wolfrum
Am 13.01.2012 um 11:38 schrieb luigi scarso: On Fri, Jan 13, 2012 at 11:01 AM, Steffen Wolfrum cont...@st.estfiles.de wrote: This one is even more disturbing: Just by setting the note's color to green, each footnote is set on a single page!!!

Re: [NTG-context] footnote mechanism broken (3)

2012-01-13 Thread luigi scarso
On Fri, Jan 13, 2012 at 12:17 PM, Steffen Wolfrum cont...@st.estfiles.dewrote: Am 13.01.2012 um 11:38 schrieb luigi scarso: On Fri, Jan 13, 2012 at 11:01 AM, Steffen Wolfrum cont...@st.estfiles.de wrote: This one is even more disturbing: Just by setting the note's color to

Re: [NTG-context] Error Line Number

2012-01-13 Thread Hans Hagen
On 13-1-2012 10:08, luigi scarso wrote: \tracingall \loggingall is faster (only log) \trancingnone and you have a *huge* amount of informations. - Hans Hagen | PRAGMA ADE

[NTG-context] gnuplot module does not work

2012-01-13 Thread zs
Hello, it seem like gnuplot module does not work with recent ConTeXt Standalone. Zdenek --- example - \usemodule[gnuplot] \starttext \startGNUPLOTscript[aaa] plot [0:5] - 0 1 1 2 2 5 3 10 4 17 5 26 e \stopGNUPLOTscript \useGNUPLOTgraphic[aaa]

[NTG-context] Merging PDF document of various page sizes. Can ConTeXt help?

2012-01-13 Thread Gerben Wierda
Hello community, I have the following problem. I need to create a single PDF file where each page may have a different size and orientation. Say the first page is A4 portrait, the second is A3 landscape and so on. Can ConTeXr help? Each page contains a PDF image of some random size that is

Re: [NTG-context] Merging PDF document of various page sizes. Can ConTeXt help?

2012-01-13 Thread luigi scarso
On Fri, Jan 13, 2012 at 4:20 PM, Gerben Wierda gerben.wie...@rna.nl wrote: Hello community, I have the following problem. I need to create a single PDF file where each page may have a different size and orientation. Say the first page is A4 portrait, the second is A3 landscape and so on. Can

Re: [NTG-context] Merging PDF document of various page sizes. Can ConTeXt help?

2012-01-13 Thread Mojca Miklavec
On Fri, Jan 13, 2012 at 16:20, Gerben Wierda gerben.wie...@rna.nl wrote: Hello community, I have the following problem. I need to create a single PDF file where each page may have a different size and orientation. Say the first page is A4 portrait, the second is A3 landscape and so on. Can

Re: [NTG-context] footnote mechanism broken (3)

2012-01-13 Thread Wolfgang Schuster
Am 13.01.2012 um 11:01 schrieb Steffen Wolfrum: This one is even more disturbing: Just by setting the note's color to green, each footnote is set on a single page!!! It doesn't what value you change, the problem is the \setupnote call. \setupnote[footnote][textcolor=green]% - without

Re: [NTG-context] Merging PDF document of various page sizes. Can ConTeXt help?

2012-01-13 Thread Gerben Wierda
Answering my own question, quite simple with ConTeXt: \definepapersize[a3landscape][A3,landscape] \definepapersize[a4portrait][A4,portrait] \setuppapersize[a4portrait] \starttext \externalfigure[foo.pdf] \page\setuppapersize[a3landscape] \externalfigure[bar.pdf] \stoptext G PS. The solution

Re: [NTG-context] Merging PDF document of various page sizes. Can ConTeXt help?

2012-01-13 Thread luigi scarso
On Fri, Jan 13, 2012 at 4:44 PM, Gerben Wierda gerben.wie...@rna.nl wrote: Answering my own question, quite simple with ConTeXt: \definepapersize[a3landscape][A3,landscape] \definepapersize[a4portrait][A4,portrait] \setuppapersize[a4portrait] \starttext \externalfigure[foo.pdf]

Re: [NTG-context] gnuplot module does not work

2012-01-13 Thread Mojca Miklavec
On Fri, Jan 13, 2012 at 14:35, zs wrote: Hello, it seem like gnuplot module does not work with recent ConTeXt Standalone. Thank you very much for the report. --- error message ! Undefined control sequence. system           tex error on line 110 in file pokus_min.tex:

Re: [NTG-context] gnuplot module does not work

2012-01-13 Thread Hans Hagen
On 13-1-2012 17:10, Mojca Miklavec wrote: This one seems easy to fix - just comment out \runMPgraphicstrue in t-gnuplot.tex. But I have other problems with buffers after trying that. (See the topic buffer broken? from two days ago.) I'm using 2012.01.12 15:48 and it bails out in the same way:

Re: [NTG-context] Merging PDF document of various page sizes. Can ConTeXt help?

2012-01-13 Thread Gerben Wierda
It still is weird. It sometimes work (but not completely) and sometimes not. For instance \definepapersize[a3landscape][A3,landscape] \definepapersize[a4portrait][A4,portrait] \setuppapersize[a3landscape] \starttext \externalfigure[foo.pdf] \stoptext foo.pdf is a 18.43x13.88 inch PDF image The

Re: [NTG-context] Merging PDF document of various page sizes. Can ConTeXt help?

2012-01-13 Thread Gerben Wierda
Weirder still. \definepapersize[large][a3,landscape] \definepapersize[small][a4,portrait] \setuppapersize[large] \starttext \externalfigure[foo.pdf] \page\setuppapersize[small] \externalfigure[bar.pdf] \stoptext The first page is now 11.69x11.69 inch and the second page is a4, but landscape So,

[NTG-context] \setuppapersize \externalfigure

2012-01-13 Thread Gerben Wierda
\externalfigure[foo.pdf][factor=fit] nicely fits the mage on the page. The following snippet: \page\setuppapersize[A4,portrait][A4,portrait] \externalfigure[foo.pdf][factor=fit,orientation=90] behaves like this: the size is set to what fits *before* rotation. The order of orientation and

Re: [NTG-context] Merging PDF document of various page sizes. Can ConTeXt help?

2012-01-13 Thread Aditya Mahajan
On Fri, 13 Jan 2012, Gerben Wierda wrote: Hello community, I have the following problem. I need to create a single PDF file where each page may have a different size and orientation. Say the first page is A4 portrait, the second is A3 landscape and so on. Can ConTeXr help? Each page

Re: [NTG-context] Merging PDF document of various page sizes. Can ConTeXt help?

2012-01-13 Thread Gerben Wierda
I did not see the possibility to influence page sizes of the PDF's you merge in the man page. G On 13 Jan 2012, at 23:43, Aditya Mahajan wrote: On Fri, 13 Jan 2012, Gerben Wierda wrote: Hello community, I have the following problem. I need to create a single PDF file where each page

[NTG-context] Page with minimum margins, maximum text width/textheight

2012-01-13 Thread Gerben Wierda
How do I create a page with maximum text width, text height? I tried using \setuplayout with stuff like [textwidth=\pagewidth-1cm], but nothing happens. I need empty pages with minimum margins, just to be able to put other PDF's in that space. G

Re: [NTG-context] Merging PDF document of various page sizes. Can ConTeXt help?

2012-01-13 Thread Aditya Mahajan
On Fri, 13 Jan 2012, Gerben Wierda wrote: I did not see the possibility to influence page sizes of the PDF's you merge in the man page. I thought that you did not want to influence the page size. From what I remember, pdftk does not change page sizes, it simply merges the pdfs. Aditya

Re: [NTG-context] Page with minimum margins, maximum text width/textheight

2012-01-13 Thread Aditya Mahajan
On Fri, 13 Jan 2012, Gerben Wierda wrote: How do I create a page with maximum text width, text height? I tried using \setuplayout with stuff like [textwidth=\pagewidth-1cm], but nothing happens. I need empty pages with minimum margins, just to be able to put other PDF's in that space.

Re: [NTG-context] Merging PDF document of various page sizes. Can ConTeXt help?

2012-01-13 Thread Gerben Wierda
I wrote: - One PDF as result - Each page has a different size and orientation - Each page contains a PDF vector image that is not to be converted to pixels I have looked at many tools: All so far do not leave vector images vector images, they convert to pixels and at a pretty low resolution at

[NTG-context] starttyping/stoptyping broken?

2012-01-13 Thread mathew
Just this minute updated via wget http://minimals.contextgarden.net/setup/first-setup.sh and running first-setup.sh, getting errors trying to use \starttyping/\stoptyping. --- example file --- \starttext \startframedtext[width=5.5cm] \starttyping Line 1 Line 2 Line 3 \stoptyping \stopframedtext

Re: [NTG-context] Page with minimum margins, maximum text width/textheight

2012-01-13 Thread Gerben Wierda
I was already trying a lot of stuff with \setuplayout. I've found mentioning somewhere that you can adapt the backspace, topspace, height and width.So it must be something like \setuplayout[backspace=1cm,topspace=1cm,height=\paperheight,width=\paperwidth] but I forgot how to do something like

Re: [NTG-context] Page with minimum margins, maximum text width/textheight

2012-01-13 Thread Philipp Gesang
Hi Gerben! On 2012-01-14 00:43, Gerben Wierda wrote: but I forgot how to do something like width=\paperwidth-2cm (not like that obviously, but I have forgotten how to do simple addition and subtraction with dimensions in TeX) See TeXbook p. 118f. So, how do I set a margin of 1cm all around

Re: [NTG-context] Page with minimum margins, maximum text width/textheight

2012-01-13 Thread Gerben Wierda
Thanks. My external figures are PDFs with all weird sizes, the smaller ones, I want to print on portrait A4 (if they are more landscape than portrait, they will be rotated) and the larger ones on landscape A3 (again, rotated when they are more portrait than landscape). Distorting is not

Re: [NTG-context] Error Line Number

2012-01-13 Thread Kip Warner
On Fri, 2012-01-13 at 10:08 +0100, luigi scarso wrote: Usually the strategy is to isolate the culprit by including progressively lengthy chunks of tex from the begin to end and then narrowing the selection until you find a macro or paragraph. Then surround it with \tracingall ...

[NTG-context] Broken Rotation in Nightly

2012-01-13 Thread Kip Warner
Hey folks, I've noticed the latest nightly I ran (2012.01.12) chokes on \rotate in the following context: \midaligned{\rotate[rotation=42]{\color[red] \bft Some text!}} I get the following error if I don't comment out that line. resolversmodules loaded: 'simplefonts'

Re: [NTG-context] Broken Rotation in Nightly

2012-01-13 Thread Aditya Mahajan
On Fri, 13 Jan 2012, Kip Warner wrote: Hey folks, I've noticed the latest nightly I ran (2012.01.12) chokes on \rotate in the following context: \midaligned{\rotate[rotation=42]{\color[red] \bft Some text!}} \color is no longer a switch; it must be used as \color[red]{...}. Aditya