[NTG-context] [typo-mar.mkiv] \dosetupstrut - \setupstrut
\dosetupstrut is undefined in mkiv. Hence in typo-mar.mkiv, line 246: - \dosetupstrut[\currentmargindatastrut]% + \setupstrut[\currentmargindatastrut]% Test document: ··· \starttext \setupmargindata[inleftmargin][strut=no] \inleftmargin{\ifvmode yes\else no\fi} bar \stoptext \endinput ··· Best regards Philipp -- () ascii ribbon campaign - against html e-mail /\ www.asciiribbon.org - against proprietary attachments pgpe7FM6zlYrU.pgp Description: PGP signature ___ 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] [typo-mar.mkiv] \dosetupstrut - \setupstrut
Am 22.09.2012 um 14:06 schrieb Philipp Gesang ges...@stud.uni-heidelberg.de: \dosetupstrut is undefined in mkiv. Hence in typo-mar.mkiv, line 246: - \dosetupstrut[\currentmargindatastrut]% + \setupstrut[\currentmargindatastrut]% Faster alternative for internal use: \synchronizestrut\currentmargindatastrut 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 ___
[NTG-context] Problem with PocketDiary
Hello, I have just installed a fresh Standalone and t-pocketdiary, and compilation of the example file (from PocketDiary's docs) results in an error. (Below I enclose the source and log files.) What is going wrong? TIA tex file \usemodule[pocketdiary] % Setup the bodyfont \setupbodyfont[palatino,rm,9pt] % Setup the language used: en, de, nl, it, fr interface is available \mainlanguage[en] % Setup the variables for the calculations \setvariables [PocketDiary] [Year=2011, Week=16, Day=5, Month=4, Nextyear=yes] % Setup the personal organizer: \setvariables [PocketDiaryLayout] [Page1=Lost-Returnto, Page2=Week, Page3=Day, Page4=Weeknext, Page5=Monthcurrent, Page6=Yearcalendar, Page7=Caro, Page8=Contact] % Setup variables with personal information \setvariables [PocketDiaryAddress] [Familyname=Yourfamiliname, Forename=Yourname, Street=Yourstreet xx Zipcode=Yourzip City=Yourcity, Country=Yourcountry Phone=+Yourphonenumber Mobile=+Yourmobilenumber, E-mail=Your-e-mail, Web=Yourwebsite] % Setup your personal footer \setvariables [PocketDiaryFooter] [Lefttext=PocketDiary, Centertext=\pagenumber, Righttext={\getvariable{PocketDiaryAddress}{Forename},{\currentdate[year]}}] % Setup your favorite colors \setvariables [PocketDiaryColors] [Separatorline=blue, Gridline={s=.75}] % Do the typesetting \starttext \setups{PocketDiary} \stoptext end tex file log file (/home/marcin/context/tex/texmf-context/tex/context/base/cont-yes.mkiv ConTeXt ver: 2012.09.21 20:58 MKIV fmt: 2012.9.22 int: english/english system cont-new.mkiv loaded (/home/marcin/context/tex/texmf-context/tex/context/base/cont-new.mkiv system beware: some patches loaded from cont-new.mkiv ) fontslatin modern fonts are not preloaded languageslanguage en is active (2012-09-22.tex resolversmodules loaded: 'pocketdiary' (/home/marcin/context/tex/texmf-modules/tex/context/third/pocketdiary/t-pocketdiary.tex+ /home/marcin/context/tex/texmf-modules/tex/context/third/pocketdiary/t-calendar.lua loading ConTeXt User Module / PocketDiary (/home/marcin/context/tex/texmf-context/tex/context/base/symb-imp-mvs.mkiv) fontssymbols loaded: library 'mvs' colors rgb color space is supported colors cmyk color space is supported ) fontstypescripts unknown: library 'loc' (/home/marcin/context/tex/texmf-context/tex/context/base/type-imp-texgyre.mkiv){/home/marcin/context/tex/texmf-context/fonts/map/pdftex/context/mkiv-px.map} fontsvirtual math the mapping is incomplete for 'pxmath' at 5pt {/home/marcin/context/tex/texmf-context/fonts/map/pdftex/context/mkiv-base.map} % begin of command line arguments % % script = true % fulljobname = ./2012-09-22.tex % input= ./2012-09-22.tex % no-parse-first-line = true % kindofrun= 1 % currentrun = 1 % % end of command line arguments % begin of command line files % % 1 ./2012-09-22.tex % % end of command line files (virtual://buffer.Lost-Returnto.1) backend xmp using file '/home/marcin/context/tex/texmf-context/tex/context/base/lpdf-pdx.xml' system 1.1 arranged at 1 (virtual://buffer.Week.2 ! Missing number, treated as zero. system tex error on line 147 in file virtual://buffer.Week.2: Missing number, treated as zero ... empty file to be read again \3532:2 argument ...n \tabl_ntb_get_aut \c_tabl_ntb_col \relax \ifdim \localwidth ... \secondoftwoarguments #1#2-#2 \tabl_ntb_cell_process ...\tabl_tnb_cell_finalize }}\scratchdimen \tabl_ntb_... inserted text ...column_next \tabl_ntb_pass 6 2 \tabl_ntb_column_next \tab... \tabl_ntb_flush_content ...p \cr \the \t_tabl_ntb \dostoptagged \egroup \dos... ... l.13 ...y}{Week}}{\getvariable{PocketDiary}{Year}} ? x system files start used files used files 1: filename=cont-yes.mkiv | filetype=tex | foundname=/home/marcin/context/tex/texmf-context/tex/context/base/cont-yes.mkiv | usedmethod=database used files 2: filename=cont-new.mkiv | filetype=tex | foundname=/home/marcin/context/tex/texmf-context/tex/context/base/cont-new.mkiv | usedmethod=database used files 3: filename=lang-us.lua | filetype=lua | foundname=/home/marcin/context/tex/texmf-context/tex/context/patterns/lang-us.lua | usedmethod=database used
Re: [NTG-context] TeXlive 2012 and letter module
Am 29.07.2012 um 13:10 schrieb Martin Scholz scholz@gmail.com: Thx Wolfgang, this makes sense, as I still had your old examples online and build my letters after that I was just wondering if I did something wrong or missed something in using it, but that way it is more flexible and with an /input{addrfile} in the below way one should also be able to still use a kind of the old way having a separated addressfile but with a more flexible layout. Again million thx for clearing it The new version of the module has now a built in system for address entries, named “addressentry”. With the command \defineaddressentry you can create a new entry and with the command \addressentry you can access them. Instead of specifying each entry by name you can also set a default name with the addressentry key for \startletter/\setupletter which is now used when omit the first argument of \addressentry. \usemodule[letter] \setupletteroptions [ bodyfont=calluna, whitespace=line] \defineaddressentry [frodo] [lastname={Beutlin}, firstname={Frodo}, address={Der Bühl\\Beutelsend/Hobbingen im Auenland}, 1={Bilbo Beutlin}, 2={Rauchen von Pfeifenkraut}, 3={der Ringträger}, 4={Bilbos Erbe}] \defineaddressentry [sam] [lastname={Gamdschie}, firstname={Samweis}, address={Beutelhaldenweg 3\\Hobbingen im Auenland}, 1={Rosie Kattun}, 2={Knullen}, 3={des Ringträgers treuester Gefährte}] \defineaddressentry [tom] [lastname={Bombadil}, firstname={Tom}, address={Im Alten Wald}, 1={Goldbeere}, 2={trällern von Nonsensliedern}, 3={Meister von Wald, Wasser und Berg}] \setupaddressentry [name={\addressentry[firstname]~\addressentry[lastname]}] \startletter [addressentry=tom, toname={\addressentry[name]}, toaddress={\addressentry[address]}, opening={Lieber \addressentry[name],}, closing={„O Frühling und Sommerzeit und danach wieder Frühling!\\O Wind auf dem Wasserfall und Lachen des Laubes!“}] oder \addressentry[tom][3], wie Dich Deine geliebte \addressentry[tom][1] nennt. Kannst Du Dich noch an einen Herrn \addressentry[frodo][lastname], genauer gesagt \addressentry[frodo][firstname]~\addressentry[frodo][lastname], denn es gab ja auch noch den Herrn \addressentry[frodo][1], erinnern. Er war \addressentry[frodo][3] im dritten Zeitalter und \addressentry[frodo][3]. Begleitet wurde er von \addressentry[sam][firstname]~\addressentry[sam][lastname], \addressentry[sam][3]. Beider Vorlieben waren sehr weltlich. Der \addressentry[frodo][firstname] genoss das \addressentry[frodo][2], sein Gefährte schätzte eine gute Mahlzeit mit \addressentry[sam][2]. Weißt du noch? Mithrandir hat Dir bestimmt viel von ihnen erzählt. \stopletter 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 ___