Re: [NTG-context] label, caption and eps in figures?

2009-06-26 Thread Willi Egger
This is then the approach \setupcaptions[number=no] \starttext \placefigure [here] [fig:foto] {Hacker} {\externalfigure[hacker][width=5cm]} \stoptext Willi On Jun 25, 2009, at 5:06 PM, Pau wrote: hello, No, sorry, probably I was obscure and explained bad I

[NTG-context] Hod do I get the page number in the left margin (not in the footer)?

2009-06-26 Thread Gerben Wierda
On 25 Jun 2009, at 23:15, Gerben Wierda wrote: On 25 Jun 2009, at 14:38, Carlos Breton Besnier wrote: I think because the footer is 0 mm. But doesn't inleft mean the page number is in the left margin, not the footer? Apparently not. It is still in the footer. OK, if I set the footer to

Re: [NTG-context] Referencing formulae

2009-06-26 Thread Aditya Mahajan
On Thu, 25 Jun 2009, Willi Egger wrote: Hi, Hm, it looks like that the referencing mechanism is broken: in context beta 2009-06-14 Luatex 0.40.5 \starttext \placeformula \startformula \startalign \NC a_1 x + b_1 y \NC = c_1 \NR[eq:1] \NC a_2 x + b_2 y \NC = c_2 \NR[eq:2] \stopalign

Re: [NTG-context] Hod do I get the page number in the left margin (not in the footer)?

2009-06-26 Thread Wolfgang Schuster
Am 26.06.2009 um 09:51 schrieb Gerben Wierda: On 25 Jun 2009, at 23:15, Gerben Wierda wrote: On 25 Jun 2009, at 14:38, Carlos Breton Besnier wrote: I think because the footer is 0 mm. But doesn't inleft mean the page number is in the left margin, not the footer? Apparently not. It is

Re: [NTG-context] Why no page numbering here?

2009-06-26 Thread Carlos Breton Besnier
Yes, but in the left footer. For more space on the page, try: \setuplayout[backspace=1cm, topspace=0.5cm, header=0.5cm, footer=0.5cm, leftmargin=0cm, leftmargindistance=0cm, rightmargin=0cm, rightmargindistance=0cm, height=.95\paperheight, width=.95\paperwidth] \setuppagenumbering[location=left]

Re: [NTG-context] Why no page numbering here?

2009-06-26 Thread luigi scarso
On Thu, Jun 25, 2009 at 11:15 PM, Gerben Wierda gerben.wie...@rna.nlwrote: On 25 Jun 2009, at 14:38, Carlos Breton Besnier wrote: I think because the footer is 0 mm. But doesn't inleft mean the page number is in the left margin, not the footer? G Why don't you use \showlayout ?

Re: [NTG-context] Hod do I get the page number in the left margin (not in the footer)?

2009-06-26 Thread Gerben Wierda
On 26 Jun 2009, at 10:05, Wolfgang Schuster wrote: And while I'm at it, if I want a heading in the left margin as well, but I want it 90 degrees rotated, how do I do that? \setuplayout [leftmargin=1cm, leftmargindistance=5mm] \startsetups header:margin \framed [frame=off,

Re: [NTG-context] Simpleslides question

2009-06-26 Thread Aditya Mahajan
On Thu, 25 Jun 2009, Vyatcheslav Yatskovsky wrote: Thanks for asking. The problem is so simple from PowerPoint view. I want to place a logo of my academic institution on the front page, above the slide title. I can guess its x,y coordinates, but cannot understand how to place it there. I

Re: [NTG-context] ConTeXt version of LaTeX's article class?

2009-06-26 Thread Aditya Mahajan
On Wed, 24 Jun 2009, Mohamed Bana wrote: can i also ask, does simple-slides offer something like this? http://people.cs.uu.nl/andres/NixOS-IFIP.pdf This is pretty simple using simpleslides. You would need to figure out the metapost code to draw those curves¹, and then use them as

Re: [NTG-context] ConTeXt version of LaTeX's article class

2009-06-26 Thread Thomas A. Schmitz
On Jun 25, 2009, at 5:25 PM, Vyatcheslav Yatskovsky wrote: Btw, I most like small navigation buttons in the bottom ) Good idea to something alike to Simpleslides. Well, for one thing, the module clearly says in its manual that this is not its aim: The module is meant for presentations

[NTG-context] Wiki recepy for Document Titles does not work

2009-06-26 Thread Gerben Wierda
The discussion went on about my silly PS. So I am reposting the original question/problem. The method in the wiki (http://wiki.contextgarden.net/Document_Titles) does not work for me, but maybe it is the order in which you have to do things? Here is my t-title.tex (from the wiki):

Re: [NTG-context] Referencing formulae

2009-06-26 Thread Willi Egger
Hi, Thanks Aditya for your reply, unfortunately I posted the wrong part of my example, where indeed the \placeformula was absent. I have to tell you that it does not work wit the \placeformula in place. Sorry. KR Willi On Jun 26, 2009, at 10:04 AM, Aditya Mahajan wrote: On Thu, 25 Jun

Re: [NTG-context] Wiki recepy for Document Titles does not work

2009-06-26 Thread Wolfgang Schuster
Am 26.06.2009 um 11:11 schrieb Gerben Wierda: The discussion went on about my silly PS. So I am reposting the original question/problem. The method in the wiki (http://wiki.contextgarden.net/ Document_Titles) does not work for me, but maybe it is the order in which you have to do things?

[NTG-context] Math problem

2009-06-26 Thread Lutz Haseloff
Hi all, I'm trying out ConTeXt Math. The very most of the samples of the TeXbook work very nice. I only found one problem, \atopwithdelims seems not to work o.k. That results in not adapting delimiters for \choose, \brack and \brace. My file: \usetypescriptfile[type-lucida] \starttext

Re: [NTG-context] Wiki recepy for Document Titles does not work

2009-06-26 Thread Gerben Wierda
On 26 Jun 2009, at 11:39, Wolfgang Schuster wrote: Am 26.06.2009 um 11:11 schrieb Gerben Wierda: The discussion went on about my silly PS. So I am reposting the original question/problem. The method in the wiki (http://wiki.contextgarden.net/ Document_Titles) does not work for me, but

Re: [NTG-context] Wiki recepy for Document Titles does not work

2009-06-26 Thread Wolfgang Schuster
Am 26.06.2009 um 11:51 schrieb Gerben Wierda: \def\doplacetitle[#1]% {\iffirstargument \getparameters[\??title][#1]% \fi \def\dodoplacetitle##1% {\marking[document##1]{\getvalue{\??title##1}}% \blank[\getvalue{\??title##1\c!spacebefore}]%

Re: [NTG-context] Wiki recepy for Document Titles does not work

2009-06-26 Thread Gerben Wierda
On 26 Jun 2009, at 11:58, Wolfgang Schuster wrote: Am 26.06.2009 um 11:51 schrieb Gerben Wierda: \def\doplacetitle[#1]% {\iffirstargument \getparameters[\??title][#1]% \fi \def\dodoplacetitle##1% {\marking[document##1]{\getvalue{\??title##1}}%

Re: [NTG-context] Wiki recepy for Document Titles does not work

2009-06-26 Thread Wolfgang Schuster
Am 26.06.2009 um 12:22 schrieb Gerben Wierda: On 26 Jun 2009, at 11:58, Wolfgang Schuster wrote: Am 26.06.2009 um 11:51 schrieb Gerben Wierda: \def\doplacetitle[#1]% {\iffirstargument \getparameters[\??title][#1]% \fi \def\dodoplacetitle##1%

Re: [NTG-context] should \getmarking[title] work?

2009-06-26 Thread Hans Hagen
Michael Green wrote: On Jun 25, 2009, at 3:00 AM, Wolfgang Schuster wrote: Am 25.06.2009 um 00:51 schrieb Michael Green: I expected \getmarking[title] to give me the contents of \title. It used to work (as of late spring). Perhaps something has changed. MTXrun | current version: 2009.06.14

Re: [NTG-context] ConTeXt version of LaTeX's article class

2009-06-26 Thread Vyatcheslav Yatskovsky
Hello Thomas, Thanks for reply. My idea about the buttons came from student diploma presentations. One student does the presentation, while his friend turns the slides. Sometimes it's necessary to go back, so it will be handy to have buttons... But I don't insist; this may be my whim )

Re: [NTG-context] get rid of placefigure and startcombination captions

2009-06-26 Thread Vyatcheslav Yatskovsky
Hello I used \placefigure just for centering the figure. And even if I put \startcombination directly, won't it reserve blank space for empty subcaptions? Actually, I found nice snipped that works like a charm for my needs: \hbox to \hsize{ \externalfigure[serg1][width=3.5cm]

Re: [NTG-context] Wiki recepy for Document Titles does not work

2009-06-26 Thread Gerben Wierda
On 26 Jun 2009, at 13:07, Wolfgang Schuster wrote: Am 26.06.2009 um 12:22 schrieb Gerben Wierda: On 26 Jun 2009, at 11:58, Wolfgang Schuster wrote: Am 26.06.2009 um 11:51 schrieb Gerben Wierda: \def\doplacetitle[#1]% {\iffirstargument \getparameters[\??title][#1]% \fi

Re: [NTG-context] ConTeXt version of LaTeX's article class

2009-06-26 Thread Thomas A. Schmitz
On Jun 26, 2009, at 1:36 PM, Vyatcheslav Yatskovsky wrote: Hello Thomas, Thanks for reply. My idea about the buttons came from student diploma presentations. One student does the presentation, while his friend turns the slides. Sometimes it's necessary to go back, so it will be handy to

Re: [NTG-context] On creating my own fonts

2009-06-26 Thread Arthur Reutenauer
Cool idea! I don’t believe there are many METATYPE1 fonts drawn with any degree of parameterization (meta-ness)—are there any besides the GUST Antykwa fonts (Toruńska Półtawskiego)? Of course: the Latin Modern fonts are, inheriting from Computer Modern, as is the whole Gyre family. For

[NTG-context] Delayed expansion of macro?

2009-06-26 Thread Gerben Wierda
I need to use a macro like this: \def\typeSQLfile#1{% \startsetups header:margin \framed [frame=off, orientation=90, width=2\leftmarginwidth, height=\textheight, align={top,middle}] {#1\hfil\pagenumber\hfil\IfSQprojectname} \stopsetups \typefile[SQL]{#1}} In the following

Re: [NTG-context] RTF to ConTeXt

2009-06-26 Thread Idris Samawi Hamid ادريس سماوي ح امد
On Wed, 24 Jun 2009 03:30:02 -0600, Cecil Westerhof cldwester...@gmail.com wrote: I have a RTF document I like to convert to a ConTeXt document. Are there tools for this? I would also like the other way around, but I understood that this is only possible through ConTeXt - PDF - RTF, or has

Re: [NTG-context] Delayed expansion of macro?

2009-06-26 Thread Gerben Wierda
On 26 Jun 2009, at 15:30, Gerben Wierda wrote: I need to use a macro like this: \def\typeSQLfile#1{% \startsetups header:margin \framed [frame=off, orientation=90, width=2\leftmarginwidth, height=\textheight, align={top,middle}] {#1\hfil\pagenumber\hfil\IfSQprojectname}

[NTG-context] Command to perform after every page

2009-06-26 Thread Gerben Wierda
Is there a way I can run a command (in my case to recreate an overlay with slightly different content) at every page break? G ___ If your question is of interest to others as well, please add an entry to the Wiki!

Re: [NTG-context] On creating my own fonts

2009-06-26 Thread Joel C. Salomon
Arthur Reutenauer wrote: Cool idea! I don’t believe there are many METATYPE1 fonts drawn with any degree of parameterization (meta-ness)—are there any besides the GUST Antykwa fonts (Toruńska Półtawskiego)? Of course: the Latin Modern fonts are, inheriting from Computer Modern, as is

[NTG-context] \typefile with filenames with $ characters in their name

2009-06-26 Thread Gerben Wierda
\typefile balks on filenames with $ characters in their names. Anything I can do about that? G ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl

Re: [NTG-context] RTF to ConTeXt

2009-06-26 Thread Vyatcheslav Yatskovsky
Hello Idris, Under Windows, try my TexPaste application http://ul.to/hmpy60 Looking for suggestions. Best, Vyatcheslav I have a RTF document I like to convert to a ConTeXt document. Are there tools for this? I would also like the other way around, but I understood that this is only possible

Re: [NTG-context] \typefile with filenames with $ characters in their name

2009-06-26 Thread Hans Hagen
Gerben Wierda wrote: \typefile balks on filenames with $ characters in their names. Anything I can do about that? probeer eens: \expanded{\typefile{\detokenize{}}} - Hans Hagen |

Re: [NTG-context] Command to perform after every page

2009-06-26 Thread Hans Hagen
Gerben Wierda wrote: Is there a way I can run a command (in my case to recreate an overlay with slightly different content) at every page break? hangt een beetje van situatie af (je kunt het bv via setups doen die je in de header uitvoert) probeer anders eens \appendtoks

Re: [NTG-context] \typefile with filenames with $ characters in their name

2009-06-26 Thread Gerben Wierda
On 26 Jun 2009, at 22:40, Hans Hagen wrote: Gerben Wierda wrote: \typefile balks on filenames with $ characters in their names. Anything I can do about that? probeer eens: \expanded{\typefile{\detokenize{}}} \def\typeSQLfile#1{\expanded{\typefile[SQL]{\detokenize{#1

[NTG-context] Can't change typeface without type size

2009-06-26 Thread Maurí­cio
This seems to be a small bug. This works well: \usetypescript[pagella] \usetypescript[chorus] \setupbodyfont[pagella,22pt] \starttext Text on body font. { \switchtobodyfont[chorus,21pt] Text on special typeface. } \stoptext However, if I either remove '21pt' from \switchtobodyfont