Re: [NTG-context] Can't change typeface without type size
On Jun 27, 2009, at 4:56 AM, Maurí cio wrote: 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 or just change it to '22pt' (i.e., no change from body font size) I don't get text for the other font. \starttypescript [serif] [default] [size] \definebodyfont [22pt] [rm] [default] \stoptypescript \usetypescript[pagella] \usetypescript[chorus] \setupbodyfont[pagella,22pt] \starttext Text on body font. { \switchtobodyfont[chorus] Text on special typeface. } \stoptext HTH Thomas ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] Can't change typeface without type size
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 or just change it to '22pt' (i.e., no change from body font size) I don't get text for the other font. (This is not specific to pagella and chorus, I've checked this same problem with all other combinations I tried. I'm using latest version in minimals, i.e., did 'sh first-setup.hs' just half an hour ago.) Best, Maurício ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] \typefile with filenames with $ characters in their name
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 \typeSQLfile{Library-procedures/hlx$requery.pls} Does not work. File not found. Nor does directly calling: \expanded{\typefile{\detokenize{Library-procedures/hlx$requery.pls}}} - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___ ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Command to perform after every page
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 \to \everybeforepage - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] \typefile with filenames with $ characters in their name
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 | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] RTF to ConTeXt
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 through ConTeXt -> PDF -> RTF, or has the situation changed. ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] \typefile with filenames with $ characters in their name
\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 / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] On creating my own fonts
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 the whole Gyre family. For the latter you might say there > is no real parametrization, but the Metatype1 sources are not available. That’s not what I understood from the papers I’ve read. The original CM fonts are parametrized, but the LM set is METATYPE1 taken from traced bitmaps of CM. I.e., you cannot easily generate the 15.7pt set. —Joel Salomon ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] Command to perform after every page
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! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Delayed expansion of macro?
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} \stopsetups \typefile[SQL]{#1}} In the following setting: \starttext \typeSQLfile{Library-procedures/details.pls} \typeSQLfile{Library-procedures/hlx$requery.pls} \stoptext This results in two problems; 1. The pagenumber is the same on each page for a file 2. The file name with the $ in it crashes the typefile argument (file not found), where \typefile itself handles the name OK. Adding to this, it also crashes (not only file not found) the TeX job if there is a _ in the filename (missing $ inserted). G ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] RTF to ConTeXt
On Wed, 24 Jun 2009 03:30:02 -0600, Cecil Westerhof 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 the situation changed. step 1: odt2txt.py step 2: pandoc Best wishes Idris -- Professor Idris Samawi Hamid, Editor-in-Chief International Journal of Shi`i Studies Department of Philosophy Colorado State University Fort Collins, CO 80523 ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] Delayed expansion of macro?
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 setting: \starttext \typeSQLfile{Library-procedures/details.pls} \typeSQLfile{Library-procedures/hlx$requery.pls} \stoptext This results in two problems; 1. The pagenumber is the same on each page for a file 2. The file name with the $ in it crashes the typefile argument (file not found), where \typefile itself handles the name OK. How do I solve these? In LaTeX I would probably use \protect on \pagenumber. G ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] On creating my own fonts
> 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 the latter you might say there is no real parametrization, but the Metatype1 sources are not available. Arthur ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] ConTeXt version of LaTeX's article class
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 have buttons... But I don't insist; this may be my whim ) Well, this is a case where the buttons actually make sense, so I see why you should be interested. To give you a short description: for the moment, the page counters we have are all hard-coded into the submodules. We plan to write a submodule for these counters so they can be included with any background. This would be the moment to also include similar buttons. I must admit that I find the beamer buttons way too cluttered and would opt for something much simpler (just the three rightmost "back" "go to page" "foreward"), but of course, that's a matter of taste. Since ConTeXt has good support for such interaction, I don't think it would be too hard. When I'm in hurry, I solve problems faster them I get solutions )) Unfortunately, I've already dropped the project I worked on (not by my will), so I loose any interest in it and don't try anything. Thanks for hinting me about this delicate matter. Sure, now I understand. Best Thomas ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Wiki recepy for Document Titles does not work
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 \def\dodoplacetitle##1% {\marking[document##1]{\getvalue{\??title##1}}% \blank[\getvalue{\??title##1\c!spacebefore}]% \doattributes{\??dt##1}\c!style\c!color\getvalue{\??title##1}% \doattributes{\??title##1}\c!style\c!color\getvalue{\??title##1}% \doattributes{\??title##1}\c!style\c!color{\getvalue{\??title##1}}% Ends with: ... This should work now. Yes, it does. Thanks. G ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] get rid of placefigure and startcombination captions
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] \hss\externalfigure[serg2][width=3.5cm] \hss\externalfigure[serg4][width=3.5cm] \hss\externalfigure[serg3][width=3.5cm]} ...and no combinations needed! )) Vyatcheslav Hello, > > Another urgent problem: > > how to get rid of placefigure and startcombination captions > altogether? > > When I use the following, I get too much wasted space after the > illustration. > > \placefigure > [fit] > {none} > {\startcombination[4*1] > {\externalfigure[serg1][width=4cm]} {} > {\externalfigure[serg2][width=4cm]} {} > {\externalfigure[serg3][width=4cm]} {} > {\externalfigure[serg4][width=4cm]} {} > \stopcombination} > > Best, > Vyatcheslav I'm not sure I understand your problem. If you don't want a caption and don't want the figure to float, why do you use \placefigure at all? Just remove the wrapper and put \startcombination etc. directly into your source file. Thomas ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] ConTeXt version of LaTeX's article class
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 ) When I'm in hurry, I solve problems faster them I get solutions )) Unfortunately, I've already dropped the project I worked on (not by my will), so I loose any interest in it and don't try anything. Thanks for hinting me about this delicate matter. Vyatcheslav 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 which will be shown on a digital projector. They have no interactive elements (such as buttons or hyperlinks) and no navigational tools (such as table of contents)." Hence the name "simple-slides." I have never understood what these navigation buttons are good for when I watched presentations. But of course, if users think it's a good idea, Aditya and I may consider adding them. And another thing that's on my mind: Vyatcheslav, you have been asking a ton of questions lately. You have received quite a few answers, but you have never replied (unless to ask further questions). I'm not complaining about a lack of manners, but it would be good to know if your problem has been solved, if the solutions work etc. Thomas ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] should \getmarking[title] work?
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 21:01 This is LuaTeX, Version beta-0.40.5-2009061123 (Web2C 2009) luatex.web >= v2471 Test file: \starttext \title{This is the title} The title should be here: \getmarking[title]. But it's just a blank space. \stoptext \starttext \title[sec:title]{This is the title} The title should be here: \ref[s][sec:title]. \stoptext Wolfgang Thanks! That worked using Mk II but not with Mk IV. Is that to be expected? markings are only available (reliable) in the page builder - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Wiki recepy for Document Titles does not work
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% {\marking[document##1]{\getvalue{\??title##1}}% \blank[\getvalue{\??title##1\c!spacebefore}]% \doattributes{\??dt##1}\c!style\c!color\getvalue{\??title##1}% \doattributes{\??title##1}\c!style\c!color\getvalue{\??title##1}% \doattributes{\??title##1}\c!style\c!color{\getvalue{\??title##1}}% Ends with: ... This should work now. Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Wiki recepy for Document Titles does not work
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}}% \blank[\getvalue{\??title##1\c!spacebefore}]% \doattributes{\??dt##1}\c!style\c!color\getvalue{\??title##1}% \doattributes{\??title##1}\c!style\c!color\getvalue{\??title##1}% \blank[\getvalue{\??title##1\c!spaceafter}]}% \@@titlebefore \processcommalist[\c!title,\c!author,\c!date]\dodoplacetitle \@@titleafter} Ends with: begin file foo at line 11 ! Undefined control sequence. \??dt \c!title Fix the line above. Ends with: ! Argument of \getvalue has an extra }. \par } \doattributes ...name #1...@ea \endcsname \fi {#4} \dostopattributes \dodoplacetitle ...#1}\c!style \c!color \getvalue {\??title #1}\blank [\getv... \next1 #1,->\dodoplacetitle {#1} \doprocesscommaitem \relax \c!title , \c!author ,\c!date ... l.14 G ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Wiki recepy for Document Titles does not work
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}]% \doattributes{\??dt##1}\c!style\c!color\getvalue{\??title##1}% \doattributes{\??title##1}\c!style\c!color\getvalue{\??title##1}% \blank[\getvalue{\??title##1\c!spaceafter}]}% \@@titlebefore \processcommalist[\c!title,\c!author,\c!date]\dodoplacetitle \@@titleafter} Ends with: begin file foo at line 11 ! Undefined control sequence. \??dt \c!title Fix the line above. Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Wiki recepy for Document Titles does not work
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 maybe it is the order in which you have to do things? Try this: \unprotect \definesystemvariable {title} \definemarking[documenttitle] \definemarking[documentauthor] \definemarking[documentdate] \def\setuptitle {\dodoubleempty\dosetuptitle} \def\dosetuptitle[#1][#2]% {\ifsecondargument \def\dodosetuptitle##1{\getparameters[\??title##1][#2]}% \processcommalist[#1]\dodosetuptitle \else \getparameters[\??title][#1]% \fi} \def\placetitle {\dosingleempty\doplacetitle} \def\doplacetitle[#1]% {\iffirstargument \getparameters[\??title][#1]% \fi \def\dodoplacetitle##1% {\marking[document##1]{\getvalue{\??title##1}}% \blank[\getvalue{\??title##1\c!spacebefore}]% \doattributes{\??dt##1}\c!style\c!color\getvalue{\??title##1}% \blank[\getvalue{\??title##1\c!spaceafter}]}% \@@titlebefore \processcommalist[\c!title,\c!author,\c!date]\dodoplacetitle \@@titleafter} \setuptitle [\c!title] [\c!style=\tfd, \c!color=, \c!spacebefore={\v!force,2*\v!big}, \c!spaceafter={3*\v!medium}] \setuptitle [\c!author,\c!date] [\c!style=\tfa, \c!color=, \c!spacebefore={2*\v!medium}, \c!spaceafter={3*\v!medium}] \setuptitle [\c!before={\startalignment[\v!middle]}, \c!after={\stopalignment}, \c!title=, \c!author=, \c!date=\currentdate] \protect \setuptitle [title={Title to be determined}, author={G.C.Th.~Wierda, M.Sc., MBA\footnote{IT Lead Architect, APG, http://www.apg.nl/}}, date={July 2009}] \setupheadertexts[{\getmarking[documenttitle]}] [{\getmarking[documentauthor]}] \starttext \placetitle ... \stoptext Wolfgang Ends with: begin file foo at line 11 ! Undefined control sequence. \??dt \c!title \doattributes ...ibutes \endgroup \fi \ifcsname #1 #2\endcsname \...@ea \doconve... \dodoplacetitle ...#1}\c!style \c!color \getvalue {\??title #1}\blank [\getv... \next1 #1,->\dodoplacetitle {#1} \doprocesscommaitem \relax \c!title , \c!author ,\c!date \doprocesscommalist ...aitem \gobbleoneargument #1 ,]\relax \global \advance ... ... l.14 G ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] Math problem
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 ${n\choose k} {n\brack k} {n\brace k}$ \startformula {n\choose k} {n\brack k} {n\brace k} \stopformula \blank[5*big] \usetypescript[cambria] \setupbodyfont[cambria] ${n\choose k} {n\brack k} {n\brace k}$ \startformula {n\choose k} {n\brack k} {n\brace k} \stopformula \blank[5*big] \usetypescript[lucida] \setupbodyfont[lucida] ${n\choose k} {n\brack k} {n\brace k}$ \startformula {n\choose k} {n\brack k} {n\brace k} \stopformula \stoptext Luatex: This is LuaTeX, Version beta-0.41.0-2009062123 (Web2C 2009) ConTeXt: 2009.06.14 21:01 MKIV fmt: 2009.6.26 int: english/english Greetings Lutz ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Wiki recepy for Document Titles does not work
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? Try this: \unprotect \definesystemvariable {title} \definemarking[documenttitle] \definemarking[documentauthor] \definemarking[documentdate] \def\setuptitle {\dodoubleempty\dosetuptitle} \def\dosetuptitle[#1][#2]% {\ifsecondargument \def\dodosetuptitle##1{\getparameters[\??title##1][#2]}% \processcommalist[#1]\dodosetuptitle \else \getparameters[\??title][#1]% \fi} \def\placetitle {\dosingleempty\doplacetitle} \def\doplacetitle[#1]% {\iffirstargument \getparameters[\??title][#1]% \fi \def\dodoplacetitle##1% {\marking[document##1]{\getvalue{\??title##1}}% \blank[\getvalue{\??title##1\c!spacebefore}]% \doattributes{\??dt##1}\c!style\c!color\getvalue{\??title##1}% \blank[\getvalue{\??title##1\c!spaceafter}]}% \@@titlebefore \processcommalist[\c!title,\c!author,\c!date]\dodoplacetitle \@@titleafter} \setuptitle [\c!title] [\c!style=\tfd, \c!color=, \c!spacebefore={\v!force,2*\v!big}, \c!spaceafter={3*\v!medium}] \setuptitle [\c!author,\c!date] [\c!style=\tfa, \c!color=, \c!spacebefore={2*\v!medium}, \c!spaceafter={3*\v!medium}] \setuptitle [\c!before={\startalignment[\v!middle]}, \c!after={\stopalignment}, \c!title=, \c!author=, \c!date=\currentdate] \protect \setuptitle [title={Title to be determined}, author={G.C.Th.~Wierda, M.Sc., MBA\footnote{IT Lead Architect, APG, http://www.apg.nl/}}, date={July 2009}] \setupheadertexts[{\getmarking[documenttitle]}] [{\getmarking[documentauthor]}] \starttext \placetitle ... \stoptext Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Referencing formulae
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 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 \stopformula As seen from (\in[eq:1]) and (\in[eq:2]), referring equations is straight forward. \stoptext Aditya __ _ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net __ _ ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] Wiki recepy for Document Titles does not work
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): \unprotect \let\endnote\footnote \definemarking[Author] \definemarking[Doctitle] \def\doctitle#1{\gd...@title{#1}\marking[doctitle]{#1}} \def\author#1{\gd...@author{#1}\marking[author]{#1}} \definesystemvariable {dt} % DocumentTitle % Expand both 1- and 2- arity'd versions of /dosetuptitle \def\setuptitle {\dodoubleempty\dosetuptitle} % The one-argument iteration: % For each comma separated item of arg1, define (dtcontent(arg1))... % using \setuptitle in your document as defined at the bottom of this file % The two-argument iteration: % For each comma separated item of arg1, and using style/color in arg2... % define (dt(arg1)(style)) and (dt(arg1)(color)) \def\dosetuptitle[#1][#2]% {\ifsecondargument \dodosetuptitle[#1][#2]% \else \dodosetuptitle[\v!content][#1]% \fi} \def\dodosetuptitle[#1][#2]% {\def\dododosetuptitle##1% {\getparameters[\??dt##1][#2]}% \processcommalist[#1]\dododosetuptitle} % Using earlier style/color definitions, apply style and color to arg1-item values \def\placetitle {\startalignment[\v!middle] \blank[\v!force,2*\v!big] \doattributes{\??dt\c!title}\c!style\c!color\@@dtcontenttitle \blank[3*\v!medium] \doattributes{\??dt\c!author}\c!style\c!color\@@dtcontentauthor \blank[2*\v!medium] \doattributes{\??dt\c!date}\c!style\c!color\@@dtcontentdate \blank[3*\v!medium] \stopalignment} % Here is where we define the key-value pairs \setuptitle [\c!title] [\c!style=\tfd, \c!color=] \setuptitle [\c!author,\c!date] [\c!style=\tfa, \c!color=] \setuptitle [\c!title=, \c!author=, \c!date=\currentdate] % define abstracts \definestartstop [abstract] [before={\midaligned{\bf Abstract} \startnarrower[2*middle]}, after={\stopnarrower \blank[big]}] \protect And the start of my doc: \usemodule[title] \setuptitle [title={Title to be determined}, author={G.C.Th.~Wierda, M.Sc., MBA\footnote{IT Lead Architect, APG, {http://www.apg.nl/}}}, date={July 2009}] \setupheadertexts[{\getmarking[Doctitle]}][{\getmarking[Author]}] \starttext \placetitle \startabstract Abstract will be written afterwards \stopabstract \subsection{Introduction} But I do not get the headings of the wiki example. G On 25 Jun 2009, at 11:28, Gerben Wierda wrote: I followed the wiki http://wiki.contextgarden.net/Document_Titles but the last part "Adding markings to headers and footers" does not work. I suspect "In ConTeXt: A more advanced solution" was put in later and the instructions in Adding Markings does not work in that solution. So, how do I add the markings in the "advanced solution" in the wiki instructions? G PS. This is what I would really like to have in ConTeXt. A gooed set of modules like a t-title, t-article, etc. Why after all these years has this not been added? It would make ConTeXt so much more usable for conceptual writers like myself. ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___ ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] ConTeXt version of LaTeX's article class
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 which will be shown on a digital projector. They have no interactive elements (such as buttons or hyperlinks) and no navigational tools (such as table of contents)." Hence the name "simple-slides." I have never understood what these navigation buttons are good for when I watched presentations. But of course, if users think it's a good idea, Aditya and I may consider adding them. And another thing that's on my mind: Vyatcheslav, you have been asking a ton of questions lately. You have received quite a few answers, but you have never replied (unless to ask further questions). I'm not complaining about a lack of manners, but it would be good to know if your problem has been solved, if the solutions work etc. Thomas ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] ConTeXt version of LaTeX's article class?
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 backgrounds. Read the details in the other email that I sent. Aditya ¹ This presentation is made using beamer. If you can find the beamer style file, then it should be straight forward to translate the tikz/pgf code to metapost code to draw the background. ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Simpleslides question
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 know something about overlays, but it seems that they can add an image to a text already placed somewhere. I have no text, I just want to place an image at arbitrary location at one page. With simpleslides, you will need to create your own "style module". Currently, there is no documentation for it, but here is the gist of creating your own style. Simpleslides provides four overlays, simpleslides:background:horizontal, simpleslides:background:vertical, simpleslides:background:title, simpleslides:background:ornament. The title background is placed on the title page, the horizontal and ornamanet backgrounds are placed on all pages other than \IncludePicture[vertical] where the vertical and ornamenet backgrounds are placed. If you to place a logo at a specific position, use \startuseMPgraphic{simpleslides:MP:ornament} StartPage ; metapost code to draw/place logo at a particular location StopPage ; \stopuseMPgraphic and then \defineoverlay [simpleslides:background:ornament] [\useMPgraphic{simpleslides:MP:ornament}] Aditya ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Hod do I get the page number in the left margin (not in the footer)?
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, orientation=90, width=\leftmarginwidth, height=\textheight, align={middle,middle}] {My document\hfil\pagenumber\hfil My name} \stopsetups \defineoverlay[header:margin][\setups{header:margin}] \setupbackgrounds[text][leftmargin][background={header:margin}] \starttext ... \stoptext Thanks. Almost there. I now have: \definetyping[SQL][option=color,numbering=line,bodyfont=9pt] \defineoverlay[ifsqoverlay][\overlayfigure{IfSQ-overlay.pdf}] \setuppapersize[A4,landscape][a4,landscape] \setupbackgrounds[page][background=ifsqoverlay] \setuptyping[SQL][palet=colorpretty] \def\typeSQLfile{\typefile[SQL]} \setuplayout [leftmargin=1cm, leftmargindistance=5mm, footer=0mm, header=0mm, rightmargin=0mm] \startsetups header:margin \framed [frame=off, orientation=90, width=2\leftmarginwidth, height=\textheight, align={top,middle}] {My document\hfil\pagenumber\hfil My name} \stopsetups \defineoverlay[header:margin][\setups{header:margin}] \setupbackgrounds[text][leftmargin][background={header:margin}] \starttext \typeSQLfile{Library-procedures/details.pls} %\typeSQLfile{Library-procedures/aanroep_kgcpros20.pls} %\typeSQLfile{Library-procedures/details.pls} %\typeSQLfile{Library-procedures/helix_print.pls} %\typeSQLfile{Library-procedures/hlx$requery.pls} %\typeSQLfile{Library-procedures/kgc$adm_meerling.pls} %\typeSQLfile{Library-procedures/kgc$bereken.pls} %\typeSQLfile{Library-procedures/kgc$datum.pls} %\typeSQLfile{Library-procedures/kgc$item.pls} %\typeSQLfile{Library-procedures/kgc$tab.pls} %\typeSQLfile{Library-procedures/kgc$toon.pls} %\typeSQLfile{Library-procedures/print_uitslagbrief.pls} %\typeSQLfile{Library-procedures/qms$record.pls} %\typeSQLfile{Library-procedures/voeruit_idef.pls} %\typeSQLfile{Library-procedures/vul_onwy_list.pls} %\typeSQLfile{Library-procedures/zoek_item.pls} \stoptext I do now have a rotated 'header' on the left side. And thanks to the larger width and the top aligment, the rotated 'heading' does not conflict with the line numbers. But ... the page number is '1' on every page And the I'd like to change the definition of the \typeSQLfile command such that it changes the document name in the rotated header too. G ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Why no page numbering here?
On Thu, Jun 25, 2009 at 11:15 PM, 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? > > G > Why don't you use \showlayout ? \showlayout \starttext \input knuth \stoptext -- luigi ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Why no page numbering here?
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] Regards. 2009/6/25, Gerben Wierda : > > 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 > > > > > 2009/6/25, Gerben Wierda : >> >> Question. With >> >> \definetyping[SQL][option=color,numbering=line,bodyfont=9pt] >> \defineoverlay[ifsqoverlay][\overlayfigure{IfSQ-overlay.pdf}] >> \setuplayout[leftmargin=10mm,rightmargin=0mm,footer=0mm,header=5mm] >> \setuppapersize[A4,landscape][a4,landscape] >> \setupbackgrounds[page][background=ifsqoverlay] >> \setuptyping[SQL][palet=colorpretty] >> \setuppagenumbering[location=inleft] >> \def\typeSQLfile{\typefile[SQL]} >> \starttext >> >> why do I not see page numbers? Has this to do with my margins (I need to >> use as much space on the page as possible)? >> >> Thanks, >> >> G >> >> ___ >> If your question is of interest to others as well, please add an entry to >> the Wiki! >> >> maillist : ntg-context@ntg.nl / >> http://www.ntg.nl/mailman/listinfo/ntg-context >> webpage : http://www.pragma-ade.nl / http://tex.aanhet.net >> archive : https://foundry.supelec.fr/projects/contextrev/ >> wiki : http://contextgarden.net >> >> ___ >> > > > ___ > If your question is of interest to others as well, please add an entry to > the Wiki! > > maillist : ntg-context@ntg.nl / > http://www.ntg.nl/mailman/listinfo/ntg-context > webpage : http://www.pragma-ade.nl / http://tex.aanhet.net > archive : https://foundry.supelec.fr/projects/contextrev/ > wiki : http://contextgarden.net > > ___ > > > > > > ___ > If your question is of interest to others as well, please add an entry to > the Wiki! > > maillist : ntg-context@ntg.nl / > http://www.ntg.nl/mailman/listinfo/ntg-context > webpage : http://www.pragma-ade.nl / http://tex.aanhet.net > archive : https://foundry.supelec.fr/projects/contextrev/ > wiki : http://contextgarden.net > > ___ > > ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Why no page numbering here?
Am 25.06.2009 um 23:15 schrieb Gerben Wierda: 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? Even header and footer have a margin block, you need \setuppagenumbering[location={header,inleft}] Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Hod do I get the page number in the left margin (not in the footer)?
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 still in the footer. OK, if I set the footer to 10mm I get a page number in the footer (in this case in the same horizontal location as the line numbers) But I want to have as much vertical space as possible for the text. Is it possible to get the page number in the left marging, somewhere in the middle of the page? 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, orientation=90, width=\leftmarginwidth, height=\textheight, align={middle,middle}] {My document\hfil\pagenumber\hfil My name} \stopsetups \defineoverlay[header:margin][\setups{header:margin}] \setupbackgrounds[text][leftmargin][background={header:margin}] \starttext ... \stoptext Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Referencing formulae
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 \stopformula As seen from (\in[eq:1]) and (\in[eq:2]), referring equations is straight forward. \stoptext Aditya ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] Hod do I get the page number in the left margin (not in the footer)?
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 10mm I get a page number in the footer (in this case in the same horizontal location as the line numbers) But I want to have as much vertical space as possible for the text. Is it possible to get the page number in the left marging, somewhere in the middle of the page? 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? G G 2009/6/25, Gerben Wierda : Question. With \definetyping[SQL][option=color,numbering=line,bodyfont=9pt] \defineoverlay[ifsqoverlay][\overlayfigure{IfSQ-overlay.pdf}] \setuplayout[leftmargin=10mm,rightmargin=0mm,footer=0mm,header=5mm] \setuppapersize[A4,landscape][a4,landscape] \setupbackgrounds[page][background=ifsqoverlay] \setuptyping[SQL][palet=colorpretty] \setuppagenumbering[location=inleft] \def\typeSQLfile{\typefile[SQL]} \starttext why do I not see page numbers? Has this to do with my margins (I need to use as much space on the page as possible)? Thanks, G ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___ ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___ ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___ ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___