[NTG-context] Runaway argument with \stoptabulate in a macro
I have the following code: \usemodule[fancybreak] \definefancybreak[myblank][indentnext=no] \define[2]\StartWorkTable{ \myblank[2*big] \starttabulate[|w(.1\textwidth)|p(.9\textwidth)|] \HL \NC #1 \NC #2 \NC\NR \HL \NC\NC {\bf Gedaan} \NC\NR } \define[1]\ActivityWorkTable{ \NC\NC \bullet\space #1 \NC\NR } \define\StopWorkTable{ \HL \stoptabulate } \starttext \StartWorkTable{Huidig}{Senior software engineer bij Artex} \ActivityWorkTable{Teamleader voor een groep van 5 PHP-programmeurs die werken volgens scrum/agile principes. Dit team ontwikkeld grootschalige web applicaties met gebruikmaking van PHP/AJAX/Zend en HTML5. } \ActivityWorkTable{Quality Management} \ActivityWorkTable{Schrijven documentatie, zowel technische als gebruikers} \ActivityWorkTable{Definieren nieuwe functionaliteiten} \ActivityWorkTable{Installeren subversion server en definiëren werkwijze} \StopWorkTable \stoptext When I compile this I get: compileContextFiles.sh --verbose * CV.tex was already up to date mtx-context | run 1: luatex --fmt=/home/cecil/ConTeXt/tex/texmf-cache/luatex-cache/context/2448223e6631addb83df348d74153606/formats/cont-en --lua=/home/cecil/ConTeXt/tex/texmf-cache/luatex-cache/context/2448223e6631addb83df348d74153606/formats/cont-en.lui --backend=pdf ./dummy.tex \stoptext This is LuaTeX, Version beta-0.70.1-2011051923 (rev 4277) \write18 enabled. (dummy.tex ConTeXt ver: 2011.07.14 16:09 MKIV fmt: 2011.7.19 int: english/english system cont-new.mkiv loaded (/home/cecil/ConTeXt/tex/texmf-context/tex/context/base/cont-new.mkiv system beware: some patches loaded from cont-new.mkiv ) system dummy.top loaded (dummy.top) fontslatin modern fonts are not preloaded languageslanguage en is active resolversmodules loaded: 'fancybreak' (/home/cecil/ConTeXt/tex/texmf-modules/tex/context/third/fancybreak/t-fancybreak.mkiv loading ConTeXt User Module / Fancybreak ){/home/cecil/ConTeXt/tex/texmf-context/fonts/map/pdftex/context/mkiv-base.map} fontspreloading latin modern fonts (second stage) (/home/cecil/ConTeXt/tex/texmf-context/tex/context/base/type-siz.mkiv) (/home/cecil/ConTeXt/tex/texmf-context/tex/context/base/type-otf.mkiv) filesreadfile asked name: 'loc', not found {/home/cecil/ConTeXt/tex/texmf/fonts/map/dvips/lm/lm-math.map}{/home/cecil/ConTeXt/tex/texmf/fonts/map/dvips/lm/lm-rm.map} fontsvirtual math unable to resolve name mapsfromchar fontsfallback modern rm 12pt is loaded ) Runaway argument? \HL \NC Huidig \NC Senior software engineer bij Artex \NC \NR \HL \NC \ETC. ! File ended while scanning use of \doprocesscontent. system tex error on line 0 in file : File ended while scanning use of \doprocesscontent ... empty file inserted text \par * ./dummy.tex \stoptext ? When I put a \stoptabulate after \StopWorkTable it compiles as expected. But why does the \stoptabulate in \StopWorkTable not work? -- Cecil Westerhof ___ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Centering text on the width of the page when using \startfiguretext
My first idea would be to place the photo in a layer in the background. Willi On 3 Aug 2011, at 09:52, Cecil Westerhof wrote: I am converting my CV to ConTeXt. Simplified I have the folowing in it: \startfiguretext[right]{none}{\externalfigure[graphics/pasfotoKlein]} \startalignment[center] E-mail: ce...@decebal.nl Woonplaats: Werkhoven Geboren: 15 april 1963 te Belleville Ontario (Can.) Nationaliteit: Nederlandse, tevens Canadese Geslacht: Man Burgerlijke staat: ongehuwd LinkedIn profiel: http://www.linkedin.com/in/cecilwesterhof \stopalignment \stopfiguretext This centers the text on the space leftover after placing my photo. But I would like the text to be centered on the width of the page, without taking into consideration the space the photo takes up. How would I do that? -- Cecil Westerhof ___ 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 : http://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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Centering text on the width of the page when using \startfiguretext
Am 03.08.2011 um 19:15 schrieb Cecil Westerhof: 2011/8/3 Wolfgang Schuster schuster.wolfg...@googlemail.com My first idea would be to place the photo in a layer in the background. I tried the following: \definelayer[picture][ preset=righttop, ] \setlayer[picture]{\externalfigure[graphics/pasfotoKlein]} \setupbackgrounds[page][rightedge][background=picture] Whatever I do, the picture keeps in the top left corner of the page. I would like to have the right side of the picture aligned with the right margin. Is this possible? \definelayer[picture][preset=righttop,width=\textwidth] \setlayer[picture]{\externalfigure[mill][width=4cm]} \setupbackgrounds[text][text][background=picture] Almost there. ;-} The placement is okay, but now the picture is on every page instead of only the first one. Add “\setupbackgrounds[state=repeat]”. 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Enlarge the text height for a row on a single page
\adaptlayout[lines=1] Thank you!! ___ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] itemization vs itemization inside a tabulation stuggles
On 3-8-2011 10:15, Hans Hagen wrote: \setconstant \tabulatesplitlinemode \plustwo just \tabulatesplitlinemode \plustwo - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] Pagenumber in footer
I want to place the pagenumber higher and something is getting wrong: \setuppagenumbering [alternative=doublesided, location={footer,marginedge}, command=\MyPageNumbercommand] \def\MyPageNumbercommand#1{\raisebox{2em}{#1}} I use \usemodule[typearea] and maybe \setuplayout[footer/footerdistance=] is not a good option. TIA! ___ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___