[NTG-context] OS numbering in itemize
why does this use LMMathItalic10-Regular for the OS numbering? \startitemize[m,packed,text] \item a \item b \stopitemize \os clearly works in other parts because it's using minion % pdffonts file.pdf name type emb sub uni object ID - --- --- --- - TCLXBY+MinionPro-Capt-Identity-H CID Type 0C yes yes yes 5 0 JAHMWQ+MinionPro-Regular-Identity-H CID Type 0C yes yes yes 7 0 UGISSP+MinionPro-SemiboldDisp-Identity-H CID Type 0C yes yes yes 9 0 LBRKWQ+MinionPro-SemiboldSubh-Identity-H CID Type 0C yes yes yes 13 0 *FVROKN+LMMathItalic10-RegularType 1C yes yes yes 14 0* VQGIRJ+MinionPro-Semibold-Identity-H CID Type 0C yes yes yes 16 0 TMNGMR+MinionPro-It-Identity-H CID Type 0C yes yes yes 18 0 % pdfinfo file.pdf Title: x Subject:x Author: x Creator:ConTeXt - 2008.05.21 15:21 Producer: xdvipdfmx (0.7.3) CreationDate: Sun Jan 24 17:11:23 2010 ModDate:Sun Jan 24 00:00:00 2010 Tagged: no Pages: 2 Encrypted: no Page size: 595.28 x 841.89 pts (A4) File size: 39591 bytes Optimized: no PDF version:1.5 please CC me on reply. —Mohamed ___ 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] url breaking
Hi all, a) I've reported this before; I ca1n't seem to wrap long URLs across lines in XeTeX $ pdfinfo x.pdf Title: x Subject:x Author: Mohamed Bana Creator:ConTeXt - 2008.10.31 13:58 Producer: xdvipdfmx (0.7.3) CreationDate: Tue Dec 1 17:19:25 2009 ModDate:Tue Dec 1 00:00:00 2009 Tagged: no Pages: 1 Encrypted: no Page size: 595.28 x 841.89 pts (A4) File size: 37209 bytes Optimized: no PDF version:1.5 If I do this in LuaTeX it seems to work fine. \useURL[doilink][http://dx.doi.org/10.1109/32.689404][][\hyphenatedurl{ http://dx.doi.org/10.1109/32.689404}] \from[doilink] But with XeTeX it insists on overflowing into the margins or into another column. Does anyone have a workaround? $ pdfinfo x.pdf Title: x Subject:x Author: Mohamed Bana Creator:ConTeXt - 2009.12.01 17:09 Producer: LuaTeX-0.46.0 CreationDate: Tue Dec 1 17:30:14 2009 ModDate:Tue Dec 1 00:00:00 2009 Tagged: no Pages: 2 Encrypted: no Page size: 595.276 x 841.89 pts (A4) File size: 32262 bytes Optimized: no PDF version:1.5 In this latest version I don't even need the \hyphenatedurl macro :). b) And please, guys, will you just include a macro that will take a URL as a parameter and typeset it. Having to do \useURL[doilink][http://dx.doi.org/10.1109/32.689404][][\hyphenatedurl{ http://dx.doi.org/10.1109/32.689404}] \from[doilink] is just unnecessary. I'm thinking \typeurl[url], that's it. c) Is there something wrong with using \footnote{text} whilst in a column? I can send the full example off-list. Just ping me. Thank you, —Mohamed ___ 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] wrapping urls
Thanks, Taco, some URLs still overflow though :( with XeTeX. When I tried with the version below all seemed to work Creator:ConTeXt - 2009.09.11 18:14 Producer: LuaTeX-0.43.0 CreationDate: Sat Nov 7 11:08:49 2009 ModDate:Sat Nov 7 00:00:00 2009 Tagged: no Pages: 2 Encrypted: no Page size: 595.276 x 841.89 pts (A4) File size: 32011 bytes Optimized: no PDF version:1.5 but I can't use this ver. because I need the \usetypescript [serif] [hanging] [pure] doesn't work. —Mohamed On Sat, Nov 7, 2009 at 6:47 AM, Taco Hoekwater t...@elvenkind.com wrote: Mohamed Bana wrote: Hello guys, I'm having problems with wrapping of URLs. It seems whatever I do the URLs overflow into the margin, this is especially noticeable when I use two columns on a single page. In case it helps, I have the following Like so? \useURL [author-website] [http://auther.url/long/path/stuff] [] [\hyphenatedurl{http://auther.url/long/path/stuff}] Best wishes, Taco ___ 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 ___
[NTG-context] LuaJIT 2.0 - rewritten from the ground up and relentlessly optimized for performance
Hi folks, You guys seen this; http://www.reddit.com/r/programming/comments/a0hfd/luajit_20_rewritten_from_the_ground_up_and/ http://lua-users.org/lists/lua-l/2009-10/msg01098.html benchmark against JavaScript V8; http://www.reddit.com/r/programming/comments/a0hfd/luajit_20_rewritten_from_the_ground_up_and/c0fa7n7 Seems like it's only for X86. —Mohamed ___ 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] OT: Kindle
what does everyone think is the best reader for someone in the UK? i'm thinking of the Kindle DX or the Sony Reader. Can I get some thoughts please. Wolfgang Schuster wrote: Hi all, Amazon sells his Kindle now also outside of the US: http://bit.ly/IGfV9 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 ___ ___ 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] inserting pdf
hi folks, assuming x.pdf has more than 1 page, this only inserts the first. i'd like to insert all the pages. how would i do that? startTEXpage \externalfigure[x.pdf] \stopTEXpage \externalfigure[x.pdf][page=1-2] doesn't work either. I have to do; \startTEXpage \externalfigure[x.pdf][page=1] \stopTEXpage \startTEXpage \externalfigure[x.pdf][page=2] \stopTEXpage I'm using $ pdftex --version pdfTeX 3.1415926-1.40.9-2.2 (Web2C 7.5.7) and whatever comes with texlive 2008. regards, Mohamed ___ 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] inserting pdf
thank you both. why can't u just extend the the original macro to take a page range? e.g., [page=1-2] Taco Hoekwater wrote: luigi scarso wrote: hmm maybe \copypages Or, if you need more control, something like this: \getfiguredimensions[x.pdf]% \imgcount=\noffigurepages\relax \dorecurse {\the\imgcount} {\externalfigure [x.pdf] [page=\recurselevel]} Best wishes, Taco ___ 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] tex to txt/doc
I tend to write in pandoc almost exclusively these days then convert it to PDF using context. it goes, $ pandoc-context, then $ texexec file works like a charm. Ciro Soto wrote: Is there any quick way to print the output of context in txt format? I could do: context- pdf-txt, but may there is a direct way to do that...? I don't care about the formatting, it is just the text that I am interested in. The reason is that my editor does not understand context (or tex) so I send her txt (or doc) file for the editing. thank you Ciro ___ 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] status of minimals
Aditya Mahajan wrote: On Tue, 8 Sep 2009, Mohamed Bana wrote: i think this is a bug. system : module HorizontalStripes loaded (/home/mbana/context.beta/tex/texmf-local/tex/context/third/simple-slides/simpleslides-s-HorizontalStripes.tex simpleslides: loading HorizontalStripes style The log has some lines like this: mplib : initializing instance 'metafun' using format 'metafun' mplib : making 'metafun.mp' into '/home/mbana/context.beta/tex/texmf-cache/luatex-cache/context/d8cd2a1ce6fae081c3517d1b1e100ec3/formats/cont-en-metafun .mem' mplib : problems with 'metafun.mp' from '/home/mbana/context.beta/tex/texmf-cache/luatex-cache/context/d8cd2a1ce6fae081c3517d1b1e100ec3/formats/cont-en-metafun .mem' Does a simple example with mplib work at your end? \starttext \startMPpage draw fullcircle scaled 3cm ; \stopMPpage \stoptext You can try to regenerate the metafun format. no that results in an empty page. aren't the formats generated when i run first-setup.sh? 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] status of minimals
can someone please confirm if ... mtxrun --verbose --script ./bin/mtx-update.lua --update --make --force --engine=all --context=beta --texroot=$PWD/tex --extras=*t-simplesides*,t-tikz $@ in first-setup.sh fetches the latest module? 2009/9/8 Aditya Mahajan adit...@umich.edu On Tue, 8 Sep 2009, Mohamed Bana wrote: i think this is a bug. system : module HorizontalStripes loaded (/home/mbana/context.beta/tex/texmf-local/tex/context/third/simple-slides/simpleslides-s-HorizontalStripes.tex simpleslides: loading HorizontalStripes style The log has some lines like this: mplib : initializing instance 'metafun' using format 'metafun' mplib : making 'metafun.mp' into '/home/mbana/context.beta/tex/texmf-cache/luatex-cache/context/d8cd2a1ce6fae081c3517d1b1e100ec3/formats/cont-en-metafun .mem' mplib : problems with 'metafun.mp' from '/home/mbana/context.beta/tex/texmf-cache/luatex-cache/context/d8cd2a1ce6fae081c3517d1b1e100ec3/formats/cont-en-metafun .mem' Does a simple example with mplib work at your end? \starttext \startMPpage draw fullcircle scaled 3cm ; \stopMPpage \stoptext You can try to regenerate the metafun format. 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] calibri font
hey all, I've started using the Calibri font (in Linux), and I must say it feels pretty nice. Anyone else with similar experience. ___ 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] status of minimals
is hanging still broken or is there new syntax? i'm also getting an a white background with and no bullet points with; \usemodule[simpleslides] [style=HorizontalStripes, color=blue] ... \startitemize \item Demo. \stopitemize Mojca Miklavec wrote: On Tue, Sep 8, 2009 at 00:30, Mohamed Bana wrote: hello all, what is the status of the minimals? i'm still using 0.30.0 (i think), and $ luatex --version This is LuaTeX, Version beta-0.40.1-2009051315 didn't have protruding support. is it safe to upgrade? If seriously in doubt, just create a parallel tree and try to use the parallel tree for some time. If it fails you can still fall back to the old tree. Mojca ___ 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] status of minimals
i think this is a bug. system : module HorizontalStripes loaded (/home/mbana/context.beta/tex/texmf-local/tex/context/third/simple-slides/simpleslides-s-HorizontalStripes.tex simpleslides: loading HorizontalStripes style simpeslides is fetched when the minimals is downloaded first-setup.sh; ... mtxrun --verbose --script ./bin/mtx-update.lua --update --make --force --engine=all --context=beta --texroot=$PWD/tex --extras=*t-simplesides*,t-tikz $@ - Mohamed 2009/9/8 Aditya Mahajan adit...@umich.edu On Tue, 8 Sep 2009, Mohamed Bana wrote: i'm also getting an a white background with and no bullet points with; Is the file simpleslides-s-HorizontalStripes found? Check the log file. \usemodule[simpleslides] [style=HorizontalStripes, color=blue] ... \startitemize \item Demo. \stopitemize Normally, backgrounds only work if you specify a \SlideTitle. 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 ___ test.pdf Description: Adobe PDF document test.tex Description: TeX document (test.tex ConTeXt ver: 2009.08.30 12:25 MKIV fmt: 2009.9.8 int: english/english system : cont-new loaded (/home/mbana/context.beta/tex/texmf-context/tex/context/base/cont-new.tex systems : beware: some patches loaded from cont-new.tex (/home/mbana/context.beta/tex/texmf-context/tex/context/base/cont-new.mkiv)) system : cont-fil loaded (/home/mbana/context.beta/tex/texmf-context/tex/context/base/cont-fil.tex loading : ConTeXt File Synonyms ) system : cont-sys.rme loaded (/home/mbana/context.beta/tex/texmf-context/tex/context/user/cont-sys.rme (/home/mbana/context.beta/tex/texmf-context/tex/context/base/type-tmf.tex (/home/mbana/context.beta/tex/texmf-context/tex/context/base/type-tmf.mkiv)) (/home/mbana/context.beta/tex/texmf-context/tex/context/base/type-siz.tex (/home/mbana/context.beta/tex/texmf-context/tex/context/base/type-siz.mkiv)) (/home/mbana/context.beta/tex/texmf-context/tex/context/base/type-otf.tex (/home/mbana/context.beta/tex/texmf-context/tex/context/base/type-otf.mkiv))) system : test.top loaded % % begin of optionfile % % % runtime options files (command line driven) % \unprotect % % special commands, mostly for the ctx development team % % feedback and basic job control % % handy for special styles % \startluacode % document = document or { } % document.arguments={ % } % document.files={ % test, % } % \stopluacode % % process info % \setupsystem[\c!n=1,\c!m=1] % \setupsystem[\c!type=unix] % % modes % % options (not that important) % \startsetups *runtime:options % \setupoutput[pdftex] % \stopsetups % % styles and modules % \startsetups *runtime:modules % \stopsetups % % done % \protect \endinput % % end of optionfile % (test.top) fonts : preloading latin modern fonts bodyfont: 12pt rm is loaded language: language en is active system : module simpleslides loaded (/home/mbana/context.beta/tex/texmf-local/tex/context/third/simple-slides/t-simpleslides.tex loading : module simpleslides system : module default loaded (/home/mbana/context.beta/tex/texmf-local/tex/context/third/simple-slides/simpleslides-s-default.tex simpleslides: loading default style setup color : system all is global activated ) system : module HorizontalStripes loaded (/home/mbana/context.beta/tex/texmf-local/tex/context/third/simple-slides/simpleslides-s-HorizontalStripes.tex simpleslides: loading HorizontalStripes style system : command NormalHeight is already defined system : command NormalWidth is already defined system : command PictureFrameHeight is already defined system : command PictureFrameWidth is already defined ) system : module default loaded (/home/mbana/context.beta/tex/texmf-local/tex/context/third/simple-slides/simpleslides-f-default.tex simpleslides: loading default font setup fonts : beware: fontclass ignored (if needed use: [fontclass][size][settings]) fonts : beware: fontclass ignored (if needed use: [fontclass][size][settings]) fonts : beware: fontclass ignored (if needed use: [fontclass][size][settings]) )) systems : begin file test at line 16 fonts : resetting map file list {/home/mbana/context.beta/tex/texmf-context/fonts/map/pdftex/context/original-empty.map} fonts : using map file: original-base {/home/mbana/context.beta/tex/texmf-context/fonts/map/pdftex/context/original-base.map} fonts
Re: [NTG-context] status of minimals
can someone please confirm if ... mtxrun --verbose --script ./bin/mtx-update.lua --update --make --force --engine=all --context=beta --texroot=$PWD/tex --extras=*t-simplesides*,t-tikz $@ in first-setup.sh fetches the latest module? - Mohamed 2009/9/8 Aditya Mahajan adit...@umich.edu On Tue, 8 Sep 2009, Mohamed Bana wrote: i think this is a bug. system : module HorizontalStripes loaded (/home/mbana/context.beta/tex/texmf-local/tex/context/third/simple-slides/simpleslides-s-HorizontalStripes.tex simpleslides: loading HorizontalStripes style The log has some lines like this: mplib : initializing instance 'metafun' using format 'metafun' mplib : making 'metafun.mp' into '/home/mbana/context.beta/tex/texmf-cache/luatex-cache/context/d8cd2a1ce6fae081c3517d1b1e100ec3/formats/cont-en-metafun .mem' mplib : problems with 'metafun.mp' from '/home/mbana/context.beta/tex/texmf-cache/luatex-cache/context/d8cd2a1ce6fae081c3517d1b1e100ec3/formats/cont-en-metafun .mem' Does a simple example with mplib work at your end? \starttext \startMPpage draw fullcircle scaled 3cm ; \stopMPpage \stoptext You can try to regenerate the metafun format. 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 ___
Re: [NTG-context] Does ConTEXt manual also exist in a printer-friendly layout ?
is there context-html conversion other than going through pandoc? luigi scarso wrote: Is there some way keeping only the main text and reshaping the paper with Ghostscript/GSView, Scribus or such tools ? doable with ghostscript I believe, but I don't know exactly switches If you find them... ___ 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] status of minimals
hello all, what is the status of the minimals? i'm still using 0.30.0 (i think), and $ luatex --version This is LuaTeX, Version beta-0.40.1-2009051315 didn't have protruding support. is it safe to upgrade? Mohamed ___ 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] Fwd: [XeTeX] List of free Unicode fonts
i had no idea that the free ver. of minion pro came with small caps an od st nums. thanks for the link. Wolfgang Schuster wrote: Hi all, something interesting from the XeTeX mailing list. Dear all, I've noticed that there a lot of decent, free Unicode fonts available, some of which have interesting OpenType features to play with with XeTeX. I've put together the following PDF as a general guide and would like any suggestions or comments from the list. The PDF can be downloaded from: http://www.garzo.co.uk/documents/freefonts.pdf Thanks, Gareth. - -- Gareth Hughes Department of Eastern Christianity Oriental Institute Pusey Lane Oxford OX1 2LE ___ 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] Hyperlinks with MkIV
i still don't understand why so much code is needed to do something so simple. there should be a simple macro that takes a url only. - Mohamed 2009/8/18 Khaled Hosny khaledho...@eglug.org Any idea how to get hyperlinks to work in MkIV? The following example works fine for MkII, but no color nor hyperlink in MkIV. \setupcolors[state=start] \setupinteraction[state=start] \useURL [garden][http://contextgarden.net][][Context garden] \starttext The \from[garden] is useful. \stoptext -- Khaled Hosny Arabic localiser and member of Arabeyes.org team Free font developer -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (GNU/Linux) iEYEARECAAYFAkqKYUcACgkQRoqITGOuyPInSgCfXlMgeqVmyjIxgluxbXtJ689j DnAAnjexU8h0Nmqgo8jYe4eZZuarWbHn =jSR3 -END 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 : 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 mkiv bug + related feature request + related question
i'd like to ask what sort of regression testing you guys are doing. it's very clear that things are constantly breaking, and even trivial ones but aren't being spotted. 2009/7/18 Yue Wang yuleo...@gmail.com This bug is still not solved in the current context mkiv version. On Mon, Jun 22, 2009 at 11:36 AM, Yue Wangyuleo...@gmail.com wrote: Hi, Hans: bug report : here is the test file. (old version of mkiv produce right result. current mkii result is also right) It is a bug introduced in this/last month. The code is a stripped down version of http://wiki.contextgarden.net/Horizontal_Table_of_Contents (altough it doesn't show toc horizontally) \newcount\chapcounter \chapcounter=0 \def\tocchap#1#2#3{\advance\chapcounter by 1 #1 #2% \placelist[section][criterium=chapter,number=\chapcounter]} \starttext \placelist[chapter][alternative=command,command=\tocchap] \chapter{hello} \section{hello} \section{hello} \chapter{good} \section{good} \section{good} \chapter{bad} \section{bad} \section{bad} \stoptext feature request: btw, Hans, context should give an option to iterate through all the chapters/sections to do something tricky. using \chaptercounter is a really bad idea (the materials should follow strict rules, like cannot jump from chap 1 to chap 3). I think with mkiv it is able to achieve that. question: I want to show toc before each chapter, and the toc only shows the following chapter name in red. How can I do that? e.g. show the following before chapter 3 % A Page Chap1 sec 1 sec 2 sec 3 Chap2 sec 1 sec 2 sec 3 Chap 3 %in red sec 1 sec 2 sec 3 %in Red Chap4 sec 1 sec 2 sec 3 % Next Page Chapter 3 % title a lot of materials Yue Wang ___ 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] html2context ?
here's one i did; http://article.gmane.org/gmane.comp.lang.scala/15180 2009/6/24 Wolfgang Schuster schuster.wolfg...@googlemail.com Am 24.06.2009 um 10:38 schrieb luigi scarso: Does anybody has any suggestion about html2context (mkiv) ? pandoc‽ 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 ___ ___ 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?
can i also ask, does simple-slides offer something like this? http://people.cs.uu.nl/andres/NixOS-IFIP.pdf // Gerben Wierda wrote: Is there a ConTeXt way of doing an article a la LaTeX's article class? 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 ___
Re: [NTG-context] stand-alone ConTeXt
why not support Emacs? AucTeX is mature. Kevin D. Robbins wrote: Good news! I just wanted to say that including Scite with ConTeXt support in minimals as an option will be very helpful to me, because I need to support users who only work on Windows and are not really comfortable using only a command line interface. I'll be happy to test this option. Kevin On Thu, Jun 11, 2009 at 4:39 AM, Hans Hagen pra...@wxs.nl mailto:pra...@wxs.nl wrote: Carlos Breton Besnier wrote: stand-alone CONTEXTediting environment (windows) is not available? no, as i need to spend some time on getting scite into the minimals as option - 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 http://www.pragma-ade.com | www.pragma-pod.nl http://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 mailto: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] Verbatim / prettyprinting in mkIV
the author of the latex 'listing' package showed some interest in porting the code to ConTeXt. Perhaps someone could contact him. Matthijs Kooijman wrote: Hi all, I've been struggling with verbatim printing in MkIV for a while now and found some confusing things. I did finally get things working, but after quite some effort. I'd like to hear if my conclusions are correct, perhaps I can put them on the wiki then. I was trying to set up some custom pretty printing scripts, using lua (since I'd rather not learn complete tex scripting :-p). Looking at the files in /usr/share/texmf/tex/context/base and the wiki (Verbatim_text talks about verb-foo.tex files), I created a file called verb-foo.lua. I put this beside my document at first, and then in /usr/share/texmf/tex/context/base when it did not work, but neither worked. I tried setting things up as follows: \installprettytype [FOO] [FOO] \definetyping[FOO][option=FOO] \startFOO blub \stopFOO Trying to trace the code, I worked out things should work as follows: \installprettytype sets the evalue \??ty\??tyFOO to point at FOO \definetyping call \setupprettiesintypeFOO, which finds looks up the above evalue, finds FOO and then turns that into verb-foo and calls \ctxloadluafile{verb-foo}{}. This sets up the buffers.visualizers.foo value in lua. When actually starting a typing environment, dodotypeA or dodotypeD call buffers.hooks.flush_line, which in turn calls buffers.visualizers.foo.flush_line. The above didn't happen for me, so I tried manually loading the lua file using \ctxloadluafile{verb-foo}{}. After this, things started working for some reason. When looking closer and installing some \writestatus lines in core-ver.mkiv, I found that \setupprettiesintype was never actually called! Closer inspection showed that the entire core-ver.mkiv is never loaded when running context --make. However, there is a second file, buff-ver.mkiv which closely resembles core-ver.mkiv and which is loaded. An important difference, however, is that buff-ver loads pret-foo instead of verb-foo (or rather, uses the value of \f!prettyprefix, which is set to pret- in mult-sys.tex). Renaming my lua file to pret-foo.lua made context find it exactly as it should, also when putting the file next to the main document. So, my main question was, are the verb-*.lua and core-ver.text files still used in any way? I just checked the minimals tree, and found out they have been removed already (but I didn't have -d in my rsync commandline to actually remove them). Looking at the previous version I was running (2009.05.20 beta) it seems that this change was actually pretty recent, so I mostly created this confusing situation by upgrading today (because my verbatim file was not properly loaded). I'm not so sure why it was not working before then, but at least it is working now. Heh, this is what you get when you write an email while you are still trying things out. All this buildup to get to a question, when the question is not even relevant. As for another relevant question: Is my analysis of how things are supposed to work correct? Then I might put something like it on the wiki. Also, it seems that \ctxloadluafile does not give an error when the file was not found. If it would have, things would probably have been a lot easier. Is there any compelling reason to make it fail silently? Gr. Matthijs ___ 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 minimals installation problem
here's how i did it (, if i remember correctly). get a a luatex binary and dump it into the dir of the last command $ . ~/context.distro/tex/setuptex ... $ which luatex does this work? svn cat http://svn.contextgarden.net/minimals/bin/tex/linux-64/current/luatex/bin/lua...@030 `which luatex` see; http://wiki.contextgarden.net/ConTeXt_Minimals#Reverting_to_an_older_installation I use ConTeXt - 2008.10.31 13:58 so in my case it's sh ./first-setup.sh --context=2008.10.31 you might want to look at the thread i started; http://thread.gmane.org/gmane.comp.tex.context/49826/focus=49831. good luck. On Mon, 2009-06-08 at 21:41 +0200, Mojca Miklavec wrote: 2009/6/3 Michal Kvasnička wrote: Hallo, gentlemen. I've just tried to install the latest stable ConTeXt minimals on my new system (SuSE Linux 11.1). The system downloaded itself (via rsync) all right, but it isn't able to create formats (MarkII; I don't know how to use MarkIV). If I try run texexec --make --all manually, I get this error: ...TEXROOTDIR/tex/texmf-linux-64/bin/mtxrun:8707: attempt to concatenate a nil value It's counter-intuitive, but I'm afraid that stable might be a bi broken at the moment. Hans has recently (for ConTeXt time scale that would be iron-age) replaced some ruby scripts by lua scripts (texmfstart by mtxrun) and now even mkii depends on luatex, but since we only provide a single luatex binary at the moment, it either breaks current or beta. I should have fixed that, but not now. Possible solutions: 1.) just take the beta (easiest); most recent problems only affect mkiv users; there are almost no changes in mkii, so you should be on the safe side 2.) create a new texexec with texmfstart texexec instead of mtxrun texexec and make sure that it comes first in path 3.) fetch an older luatex; there should be one at something like http://minimals.contextgarden.net/current/bin/linux/luatex/beta-0.31.3/, but the one for linux-64 is missing for unknown reason (the plan is to fix it ...) I didn't try any of the 2/3 options, I'm just blindly guessing. Mojca ___ 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] TOC with simpleslides
yes, all slide titles should be fine. what do other people think? 2009/6/2 Aditya Mahajan adit...@umich.edu On Mon, 1 Jun 2009, Mohamed Bana wrote: Hi all, is it possible to get a TOC with this module? my attempts so far just produce an empty 'Content' heading. Short Answer: No because the module is for simple slides. Long Answer: A automatic TOC is relatively easy to implement, but what should be in the list? All slide titles? If so, we can have \module[simple-slides][list=yes] If you want only a few slide titles, then manually adding them to the list may be a better idea. Simpleslides can provide a default list and some basic styles for the list. 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] TOC with simpleslides
Hi all, is it possible to get a TOC with this module? my attempts so far just produce an empty 'Content' heading. thanks ___ 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] Arial
does that work with MKII??? if you have modest requirements, you could try using http://wiki.contextgarden.net/otfinst for MKII. it's pretty straight forward, and i've used it to install Warnock and Myriad. 2009/5/26 Vyatcheslav Yatskovsky yatskov...@gmail.com If you have Windows OS, then please \usetypescriptfile[type-win] \usetypescript[arial]\setupbodyfont[arial, 12pt] I'm being asked to use Arial font (not my choice!) Bets, Vyatcheslav ___ 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] Seeking a Deeper ConTeXt: Questions for Initializing
my personal favourite http://thread.gmane.org/gmane.comp.tex.context/44368/focus=46254, beware you might have trouble getting that to compile with a new version of LuaTeX. John Haltiwanger wrote: On Mon, May 25, 2009 at 12:50 PM, Wolfgang Schuster schuster.wolfg...@googlemail.com mailto:schuster.wolfg...@googlemail.com wrote: Am 25.05.2009 um 18:30 schrieb John Haltiwanger: I am not averse to rolling my own, I am just confused why, if environments are so powerful and flexible (flexible meaning one can easily change things, unlike document classes), there are no pre-rolled environments available. I am thinking here of standardized thesis environments for universities, or a nice letter environment to demonstrate the beauty of TeX. There are a lot of letter styles are available for ConTeXt, what's wrong with them? • http://wiki.contextgarden.net/Letter_style • http://wiki.contextgarden.net/Letter Wolfgang Thank you for those! I had not come across them yet. I was responding to Henning's statement that there are nearly no ready-to-use ConTeXt environments available. In fact I realize I had misread that until right now, having missed the 'nearly' that qualifies the statement. Sorry for the confusion. Also, I don't want it to seem like I don't enjoy rolling my own documents. While I'm new at it, I quite like interfacing with documents in this 'programming' way. Thank you, John C. Haltiwanger ___ 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] Seeking a Deeper ConTeXt: Questions for Initializing
i tend to write in Markdown, as the syntax is very light weight, then compile with pandoc (http://johnmacfarlane.net/pandoc/). $ pandoc --toc --smart --number-sections --standalone -H header.tex -w context file.pdc -o file.tex $ texexec file.tex i think Aditya has some documents floating around somewhere. John Haltiwanger wrote: Thank you Arthur, Mohamed, and Hans for pointing me towards the available modules. As far as working towards semantical documents in TeX, I'll just have to settle for writing external RDF descriptors for the documents. I'll take a look at using XML as the source and feeding it into ConTeXt, but since I rather like conTeXt's markup over XML, I'm not sure how likely I will be to go that route. Since Arthur implies that an XML output might one day be feasible, Thanks everyone for being so helpful, speaks volumes about the community you have here. Regards, John C. Haltiwanger ___ 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] beta
Taco, hi, could you please include a feature that allows listing the set of pages that an item was cited on, I'm sure this is present in LaTeX. Mohamed 2009/5/21 Taco Hoekwater t...@elvenkind.com Thomas A. Schmitz wrote: 1. bib-module Taco's bib module does not work with the current beta. For me, this is a showstopper, I will have to give up on mkiv as long as this does not work. I feel sorry for you, but I do not know what to do about it anymore. For almost two weeks, I haven't been able to connect to the supelec website to bring my luatex to the latest version; is this a problem on my end, or is access to the svn repositories currently disabled? This post should explain the issue: http://archive.contextgarden.net/message/20090518.210735.77967964.en.html Best wishes, Taco ___ 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] pandoc tables
Hi Taco, % context --lua test.tex works, yet % texexec --lua test.tex gives the single horizontal line, any idea why? i'm using same versions as before. Mohamed Taco Hoekwater wrote: Mohamed Bana wrote: attached is the output of pandoc -w context -o test.tex test.pdc texexec test.tex i'm wondering if context has support for this built in. here's the link; http://johnmacfarlane.net/pandoc/README.html#tables. could someone try compiling with luatex, i get a single horizontal line and nothing else. Output looks fine here: Creator:ConTeXt - 2009.05.14 16:44 Producer: LuaTeX-0.41.0 Best wishes, Taco ___ 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] pandoc tables
attached is the output of pandoc -w context -o test.tex test.pdc texexec test.tex i'm wondering if context has support for this built in. here's the link; http://johnmacfarlane.net/pandoc/README.html#tables. could someone try compiling with luatex, i get a single horizontal line and nothing else. Creator:ConTeXt - 2009.05.12 22:35 Producer: LuaTeX-0.40.1 many thanks, Mohamed Demonstration of simple table syntax.RightLeftCenterDefault12121212123123123123 Right Left Center Default --- -- -- --- 12 121212 123 123 123 123 1 1 1 1 Table: Demonstration of simple table syntax. \starttext \placetable[here]{Demonstration of simple table syntax.} \starttable[|rp(0.15\textwidth)|lp(0.09\textwidth)|cp(0.16\textwidth)|lp(0.13\textwidth)|] \HL \NC Right \NC Left \NC Center \NC Default \NC\AR \HL \NC 12 \NC 12 \NC 12 \NC 12 \NC\AR \NC 123 \NC 123 \NC 123 \NC 123 \NC\AR \NC 1 \NC 1 \NC 1 \NC 1 \NC\AR \HL \stoptable \stoptext ___ 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] New module - mkiv font loading
Hi Wolfgang, Sorry to hassle you again, but I have a quick question. I'm using Creator:ConTeXt - 2008.10.31 13:58 Producer: luaTeX-0.30.3 as a few things don't work with a recent release, and I get the following errors; ! Undefined control sequence. l.50 \setinterfacemessage {simplefonts}{title}{simplefonts} ? ! Undefined control sequence. l.51 \setinterfacemessage {simplefonts}{1}{font -- not found} ? Are they important? If not I'll simply ignore them with --batchmode. Wolfgang Schuster wrote: Hi all, I wrote a new module to load fonts without the need to write typescripts for them - http://bitbucket.org/wolfs/simplefonts/ 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 ___ ___ 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] New module - mkiv font loading
I got a chance to try it out; it's great. What I don't understand is that I need to use \starttext ... \stoptext, normally omitting these work. In your module's case I have to use it or it just typesets with L. Modern. \startcomponent first \productproject \environmentmy.env \starttext % I don't normally use this ... \stoptext \stopcomponent Wolfgang Schuster wrote: Hi all, I wrote a new module to load fonts without the need to write typescripts for them - http://bitbucket.org/wolfs/simplefonts/ 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 ___ ___ 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] MKIV, fonts, confusion
if you don't require anything completex http://github.com/contextgarden/otfinstall/tree/master automates a lot of the tasks required in installing a font in mkii. afsmith wrote: Luigi, Hans, and Wolfgang, thank you for your responses. I'm still unclear on several things. (comments on your responses follow afterwards) Let me try asking these things as questions. Specifically, could someone please tell me... 1. How do I determine whether I am using MKII, MKIV, or XeTeX to process my documents? I tend to use \begin{XETEX,OLDTEX,LUATEX} ... \end{XETEX,OLDTEX,LUATEX} 2. Given the line from a typescript... \definefontsynonym[LiberationSerif] [name:liberationserif] ... how do I determine which file name:liberationserif corresponds to? 3. In both MKII and MKIV, how can I determine which typescripts exist? In other words, how do I determine working arguments for \usetypescriptfile? 3b. Specifically, in the case of... \usetypescript[palatino][ec] ... in which typescript is this defined? (given a vanilla context minimals installation) 4. What defines the output of fc-list or mtxrun --script fonts --list? Do they correspond to files? Type synonyms? etc. fc-list also looks in $HOME/.fonts/ 5. Do I need to bother with map files for MKII? 6. Is it particularly recommended that I use MKIV? How stable is it compared to MKII? Luigi, what do you mean by and look into base/*? Which 'base'? Are you talking about in the context minimals distribution? some specific online repository? I have seen the two documents you mentioned. Re-reading them has clarified things a little bit. Wolfgang, Currently the module you linked to (http://bitbucket.org/wolfs/simplefonts/) is beyond my understanding... I would first like to understand the mechanism your module operates on before trying to automate it. Hans, I am aware that there are such types of parameters that must be defined for fonts. I understand 'it is complicated' but this does not really help make things clearer to me. The inner workings of fonts are of little concern to me to me at the moment. Right now I do not even know where to look. I have seen the examples you gave for palatino, such as... \usetypescript[palatino][ec] ...but I have no idea where those arguments come from Thanks. On 5/13/09, afsmith adventurecompl...@gmail.com wrote: ... What I would like to do is use the full range of TeX-Gyre fonts (and later possibly others) for my existing documents. It is not clear to me... Whether or not I am using MKIV, nor how to determine which engine I am running. If not running MKIV/XeTeX, how to determine which fonts are installed. What the items from the output of fc-list or mtxrun --script fonts --list correspond to. How to use available fonts, nor where to draw valid parameters from for use in font commands. How to determine what font configurations are available for a given font. Whether I need to write typescripts, nor how to find any existing ones. Whether I need to concern myself with .map or any other font files. Whether I need to configure anything, move any files, etcetera. ...As well as anything else I might need to install or use a font For what it's worth, I have been using the command texexec to process my tex files, am using a context minimals downloaded about two months ago, and am running Linux. ___ 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] mtxrun / fonts
i tend to use --pattern, is that wrong? $ mtxrun --script fonts --list --info --pattern=*minion* MTXrun | fontname: minionprobold MTXrun | fullname: MinionPro-Bold MTXrun | filename: /media/sdb1/Fonts/Minion Pro/MinionPro-Bold.otf MTXrun | MTXrun | fontname: minionproboldcapt MTXrun | fullname: MinionPro-BoldCapt MTXrun | filename: /media/sdb1/Fonts/Minion Pro/MinionPro-BoldCapt.otf MTXrun | . . . btw, the new output is much more intuitive. Wolfgang Schuster wrote: Hi Hans, the following produced a list with all font features for Minion Pro but it did no longer work. mtxrun --script fonts --list --info minionproregular 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 ___ ___ 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] New module - mkiv font loading
great! thanks Wolfgang. is this working with the latest minimals? Hopefully I'll get to try it later. Wolfgang Schuster wrote: Hi all, I wrote a new module to load fonts without the need to write typescripts for them - http://bitbucket.org/wolfs/simplefonts/ 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 ___ ___ 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] lots of luatex process/instances (ps xa| grep lua / top -----sort by memory)
I've also noticed something along those lines. I've also found that CTRL+Z/C doesn't really exit the program --- there are stale processes still lying around. What I described is general, it tends to happen across big documents. Is this a known problem? � Broustet wrote: Dear context users, at first a lot of warm thanks for help and comments on using t-simpleslides. On a different matter, I now have the following problem : I do a lot of testing trying compiling my slides (using the following command : context essai.tex). Sometimes, I get errors and an interactive prompt that I kill with either ctrl+C or ctrl+Z (at random). I noticed that my computer was swapping (2Go RAM). With ps xa | grep lua I get 34 process. Using top and sorting by memory used the processes, I noticed 7 instances of luatex and 5 of texlua on the first page for a total of 800MB of resident memory. Did I miss something using context (I do context essai.tex each time that I want compile changes) ? killall luatex and kill -15 PID does nothing. Best, Amaël ___ 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] URL \href ... ?
Hi, Is there macro for typesetting a URL without defining it before hand? E.g., something as simple as, \href{www.google.com}, it'd also be great if \setupalign[hyphenated] \setupurl[space=yes,style=\ss,urlalternative=] also determined the way they are typeset. Mohamed ___ 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] What happened with sectionworld?
Would it be possible to go through a deprecation phase? E.g., allow \section hello world to compile, but prompt the user to acknowledge that it's going to be replaced with \section{hello world} in future versions. On 28/04/2009 19:53, Wolfgang Schuster wrote: Am 28.04.2009 um 19:42 schrieb Henning Hraban Ramm: \setupsectionworld is unknown in latest beta (at least since some betas before). removed from mkiv a *long* time ago, there is now \startchapter etc. 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 ___ ___ 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] \section and luatex
Hi Aditya, Any chance of getting Hans to include that again. I'm certain that it worked with LuaTeX before, e.g., your thesis. -- Bana Aditya Mahajan wrote: On Sun, 19 Apr 2009, Mohamed Bana wrote: \section Current Activities displays 1 C urrent Activities could you please allow \section Other to use the entire word not just the first Letter. And how do I tell if LuaTeX is 64bit? $ luatex --version This is LuaTeX, Version snapshot-0.39.0-2009041607 luatex.web v2298 $ context --version MTXrun | main context file: /home/mbana/context.distro/tex/texmf-context/tex/context/base/context.tex MTXrun | current version: 2009.04.18 13:47 Add this somewhere (old code, not tested with latest beta) \def\dodohandlestructureheadnop[#1][#2]% {\dowithpargument{\dododohandlestructureheadnop[#1][#2]}} \def\dododohandlestructureheadnop[#1][#2]#3% {\setfalse\currentstructureown \dohandlestructurehead{#1}{\c!reference=#2,\c!title={#3}}{}} % name ref nr title -- 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] \section and luatex
\section Current Activities displays 1 C urrent Activities could you please allow \section Other to use the entire word not just the first Letter. And how do I tell if LuaTeX is 64bit? $ luatex --version This is LuaTeX, Version snapshot-0.39.0-2009041607 luatex.web v2298 $ context --version MTXrun | main context file: /home/mbana/context.distro/tex/texmf-context/tex/context/base/context.tex MTXrun | current version: 2009.04.18 13:47 Many thanks Mohamed ___ 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] \section and luatex
If it isn't too much trouble, please just add it back. I'm sure it was working in LuaTeX one point in time. -- Mohamed 2009/4/19 Aditya Mahajan adit...@umich.edu On Sun, 19 Apr 2009, Mohamed Bana wrote: \section Current Activities displays 1 C urrent Activities could you please allow \section Other to use the entire word not just the first Letter. And how do I tell if LuaTeX is 64bit? $ luatex --version This is LuaTeX, Version snapshot-0.39.0-2009041607 luatex.web v2298 $ context --version MTXrun | main context file: /home/mbana/context.distro/tex/texmf-context/tex/context/base/context.tex MTXrun | current version: 2009.04.18 13:47 Add this somewhere (old code, not tested with latest beta) \def\dodohandlestructureheadnop[#1][#2]% {\dowithpargument{\dododohandlestructureheadnop[#1][#2]}} \def\dododohandlestructureheadnop[#1][#2]#3% {\setfalse\currentstructureown \dohandlestructurehead{#1}{\c!reference=#2,\c!title={#3}}{}} % name ref nr title -- 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 ___
Re: [NTG-context] LuaTeX 64bit
One more question, how do I only create the formats for British English only? No Dutch, American English etc.. I'm going to argue on the list that the en_GB should be the default ;), but I'll save that for another day. Mohamed Mojca Miklavec wrote: On Wed, Apr 15, 2009 at 21:23, Mohamed Bana wrote: Hi guys, I don't think I have ever needed more than than 3-4gb, so it worth using the 64bit ver. of LuaTeX? What would be the advantages of using the 32-bit version? Can I force the minimals install script to download and use the 32bit binary instead? You need to desable automatic format generation and you need to pass --platform=linux as argument to mtx-update.lua in first-setup.sh ... then you need a costum version of setuptex (or you can set path manually) that will set the path to linux instead of linux-64. But I have no idea why you would want to do that. Mojca ___ 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] [Fwd: Re: LuaTeX 64bit]
---BeginMessage--- On Sat, Apr 18, 2009 at 23:09, Mohamed Bana wrote: One more question, how do I only create the formats for British English only? No Dutch, American English etc.. I'm going to argue on the list that the en_GB should be the default ;), but I'll save that for another day. There is only one English format that you can generate with texexec --make en. If you're speaking about how to generate only that one with first-setup.sh, then you should be, at least in theory, able to generate only the chosen formats with --formats switch or my modifying the lua file that gets generated, but I imagine that it doesn't work or at least I have never tested it so far. do you know if first-setup.sh only downloads the files /only if/ they're are changes? i mean could a simple checksum do the job? Yes, it only downloads the modified files, but it doesn't use checksums since using them is much slower. You could add an additional -c switch, but you will not notice any difference (apart from a few files that Hans recreates every time when he uploads a new zip, but that's neglectable). Rsync checks for date+size. Only if these two are different it fetches the file. You could add checksum checking, but I guess that you don't gain anything. The only critical component where I really do need to change this are luatex and metapost source, but this only concerns binary builders, not users. Mojca ___ 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 ___ ---End Message--- ___ 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] [Fwd: Re: LuaTeX 64bit]
---BeginMessage--- On Sat, Apr 18, 2009 at 23:44, Mojca Miklavec mojca.miklavec.li...@gmail.com wrote: On Sat, Apr 18, 2009 at 23:09, Mohamed Bana wrote: One more question, how do I only create the formats for British English only? No Dutch, American English etc.. I'm going to argue on the list that the en_GB should be the default ;), but I'll save that for another day. There is only one English format that you can generate with texexec --make en. I forgot to finish the sentence. You can use British hyphenation rules instead of American ones with \mainlanguage[ukenglish]. And no, the behaviour is not going to change. TeX uses Knuth's hyphenation rules as well. ConTeXt uses slightly improved ones. Differences are almost neglectable anyway. Mojca ___ 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 ___ ---End Message--- ___ 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] LuaTeX 64bit
Hi guys, I don't think I have ever needed more than than 3-4gb, so it worth using the 64bit ver. of LuaTeX? Can I force the minimals install script to download and use the 32bit binary instead? I'm on a 64bit machine and I'm sure that on linux I can run that app in 32bit mode. - Mohamed ___ 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] \rightarrow missing?
excuse me if this has already been fixed. $ pdfinfo test1.pdf Creator:ConTeXt - 2009.03.23 10:57 Producer: LuaTeX-0.36.0 CreationDate: Fri Apr 10 18:10:34 2009 ModDate:ConTeXt - 2009.03.23 10:57 \implies doesn't work ! Undefined control sequence. recently read \implies l.11 $\implies $ ? *I* think \Rightarrow should be exchanged for \implies, as \implies generates a slightly longer arrow. $ pdfinfo test2.pdf Creator:ConTeXt - 2009.03.23 10:57 Producer: pdfTeX-1.40.9 CreationDate: Fri Apr 10 18:11:36 2009 ModDate:Fri Apr 10 00:00:00 2009 %%% the file %%% \starttext $\rightarrow$ $\to$ $\leftarrow$ $\leftrightarrow$ $\implies$ $\Rightarrow$ \stoptext Jesse Alama wrote: I switched from MkIV to MkII today because of this gap in MkIV's math: I need to submit a dissertation that has \rightarrow's in it. Let's hope that this issue is resolved soon. Jesse Alan BRASLAU alan.bras...@cea.fr writes: Indeed, it seems to be broken in mkiv \rightarrow \to \leftarrow ... However, \leftrightarrow works. So, currently, it is hard to typeset limits under mkiv! Alan On Tuesday 31 March 2009 09:14:16 Hans Hagen wrote: Aditya Mahajan wrote: On Mon, 30 Mar 2009, Jesse Alama wrote: It seems that \rightarrow is missing. The command exists, in the sense that its use doesn't lead to an error, but it doesn't lead to anything in the output. Minimal example: \starttext $\rightarrow$ \stoptext Hans, What does the new arrow function in math-vfu.lua supposed to do? it will be used instead of the macro based one (as luatex has native support for such extenders now) but i had to wait till you fixed all the other arrows that you added someplace Hans ___ 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 ___ test1.pdf Description: Adobe PDF document test2.pdf Description: Adobe PDF document ___ 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] new beta
Hi Aditya, when you have time can you please forward me your complete zsh setup, the .zsh etc. i think i'm going to switch to zsh from bash, the benefits are far too numerous. Mohamed Aditya Mahajan wrote: On Wed, 8 Apr 2009, Mohamed Bana wrote: hi all, on that tangent, is it possible to get command line completion for the rest of the options for example something like mtxrun tabscripts --tabfonts --tabreload This usually depends on tab-completion of the shell and has nothing to do with the program. I made something like this for texexec. See Zsh completion in http://wiki.contextgarden.net/User:Adityam 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 ___
Re: [NTG-context] new beta
hi all, on that tangent, is it possible to get command line completion for the rest of the options for example something like mtxrun tabscripts --tabfonts --tabreload etc. Hans Hagen wrote: Ulrike Fischer wrote: Am Wed, 08 Apr 2009 19:58:19 +0200 schrieb Hans Hagen: Ulrike Fischer wrote: Am Wed, 08 Apr 2009 18:54:08 +0200 schrieb Hans Hagen: It works partly: After I called luatools --generate mtxrun now finds also fonts in my various texmf-trees (and not only the one in the system folder), but mtxrun works only if I move first font-syn.lua in the folder of mtxrun. But this only a small nuisance. hm, i'll have a look at it; i wonder why it fails since it has worked for ages what does luatools font-syn.lua return ? Nothing if I remove the file from the folder. When the file is in the folder then I get the answer font-syn.lua: I:\TeX-Roots\luatexmf\texmf\scripts\context\lualuatex --luaonly luatools.lua font-syn.lua font-syn.lua hm, strange as you made a file database I don't know. Don't forget that I'm using a very minimal system with an hand-made texmf.cnf to hook luatex to my miktex. It is quite possible that I'm simply missing some standard file or texmf.cnf-setting. I don't expect everything to run smoothly. It is already running better than I thought it would. what does luatools --verbose return? luatools --verbose xxx should report the loaded databases ___ 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] [OT] adobe_reader_91_for_linux
that isn't good enough, evince reloads the PDF automatically if it changes. � wrote: 2009/4/1, luigi scarso luigi.sca...@gmail.com: http://blogs.adobe.com/acroread/2009/03/adobe_reader_91_for_linux_and.html Get it. Now. It has a reload shortcut. :-) Best Martin ___ 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] New module simpleslides
thank you both. is there any chance that this will ship with the minimals, that is, so i don't have to download and extract it manually? i've never been content with slides that come as part of ConTeXt, some are too fancy. Thomas A. Schmitz wrote: Dear list members, We're happy to announce the initial release of the simpleslides module. It has taken us somewhat longer than we anticipated, but now it's there! simpleslides is a module that facilitates the creation of presentations in ConTeXt. It provides a few macros to position titles, text, and images on slides, some typescripts to make use of LatinModern and the TeXGyre fonts, and a few pre-defined styles that should make your presentations visually appealing. We guarantee that this release is absolutely bug-free; whoever finds a bug has the inalienable right to buy us a beer at the next ConTeXt meeting! Seriously: we are aware that some things are not working as expected. Our biggest and most embarrassing problem for the time being is that the module refuses to work with XeTeX. Neither of us uses XeTeX on a regular basis, and we're not familiar with its innards, so we're at a loss here. If you can offer help, you will be most welcome! We would of course welcome feedback, bug reports, feature suggestions, etc., so download the module at http://modules.contextgarden.net/module/detail?name=simpleslides and give it a whirl! Aditya and 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 ___ ___ 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] Font and Typescript Questions
curiouslearn wrote: Can someone please help me with the following questions so that I can use some of the typescripts that Wolfgang and some others have so kindly made available. I will use font Bera as an example, since I would like to use it. I have a Mac OS X Version 10.5.6 (1) How do I know if I have font Bera? As in, where on my computer do I look to see if I have font Bera installed? if you run the minimals, and probably also linux, this should tell you if the font has been cached. i'm not sure if the pattern is case sensitive. $ mtxrun --script font --list --pattern=*bera* (2) If I do not have the font, how do I install Bera? I see that there are files on ctan. Where should I save this? is it an OpenType font? on linux i just put it into my ~/.fonts/ dir. (3) Once I have installed the font and I have downloaded Wolfgang's type-bera.tex file, where do I save this file? Can I save it where I save the third-party modules. Once I save it, do I run the usual texhash, followed by luatools --generate followed by context --make just put it in current dir and see if it works, you won't need to run those commands (i think). (4) Once I have accomplished the top three steps, how do I use it in a document? Do I just type \usetypescript[bera] \switchtobodyfont[bera,12pt] OR, do I also have to type \usemodule[type-bera] I would really appreciate any help. ___ 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] recurse bug?
Asalamu Alakum Prof. Hamid, you sent me an email about Minion Pro opticals, did you get my reply? Idris Samawi Hamid ادريس سماوي حامد wrote: Dear gang, The following, using the latest beta, moves the last recurse to the next page: \setuplayout [lines=12] \starttext \pardir TRT \dorecurse{12}{This is a recursive line. \crlf} \stoptext so we get only 11 lines on page 1. Is this a bug? Best wishes Idris ___ 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] typescript repository
does anyone use Asana Math? Wolfgang Schuster wrote: Hi, the repository [1] has now a few typescripts from me but it would be nice if other people can contribute more files for other fonts. Another thing I need is a license for the files because I need one for CTAN submission and TeXLive inclusion. [1] http://bitbucket.org/wolfs/typescripts/ 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 ___ ___ 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] typescript repository
Some strange font is used now. \usetypescriptfile[type-optical] % \starttypescript [main] [war] % \definetypeface [war] [rm] [serif] [minion] [optical] % \definetypeface [war] [ss] [sans] [cronos] [optical] % \stoptypescript % \usetypescript[main][war] % \setupbodyfont[war,rm,14pt] \starttypescript [main] \definetypeface [main] [rm] [serif] [minion] [optical] \definetypeface [main] [ss] [sans] [cronos] [optical] \stoptypescript \usetypescript[main] \setupbodyfont[main,14pt] \starttext \input tufte 123456789 {\os 123456789} hello---good morning. between the 4--5. is it type-safe. \blank[5*big] \ss \input tufte 123456789 {\os 123456789} hello---good morning. between the 4--5. is it type-safe. \stoptext Wolfgang Schuster wrote: Am 25.03.2009 um 04:31 schrieb Mohamed Bana: Beware you might have to replace \definefontsynonym [SerifCaption-Regular] [file:MinionPro-Capt] [features=default] with \definefontsynonym [SerifCaption-Regular] [name:MinionPro-Capt] [features=default] Can you test my new version. 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 ___ minionpro.pdf Description: Adobe PDF document ___ 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] typescript repository
it works, great! thanks Wolfgang Schuster wrote: Am 25.03.2009 um 14:37 schrieb Mohamed Bana: Some strange font is used now. A fixed version is in the repository. 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 ___ ___ 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] typescript repository
Beware you might have to replace \definefontsynonym [SerifCaption-Regular] [file:MinionPro-Capt] [features=default] with \definefontsynonym [SerifCaption-Regular] [name:MinionPro-Capt] [features=default] on my install CM is used if file: is used. Bruce D'Arcus wrote: Wolfgang Schuster schuster.wolfgang at googlemail.com writes: Am 24.03.2009 um 16:27 schrieb Bruce D'Arcus: As for how to do it, I could imagine using the wiki. But I could also imagine some other approach, like someone starting a project on GitHub or something similar. I did this now, I put a few typescript files online: http://bitbucket.org/wolfs/typescripts/src/299e712756a6/ Great! So followup question, then: I saw you added the basic adobe typescripts (thanks!). How best to add opticals support to this? Should the contents from the wiki be added more-or-less as is to that typescript file? Bruce ___ 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] typescript repository
I personally would like see a professionally done typescript for Minion and Warnock Pro with Myriad and Cronos Pro. I posted mine a while ago, but I got no feed back. Wolfgang Schuster wrote: Hi all, what do think about a page with typescript files for good quality free fonts, we have a few typescripts on the wiki but you have to copy them first in your document or in a file before you can use them. 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 ___ ___ 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] math problems
fairly recently as in, say, 2 months ago, i could typeset that file without changing anything, that is, it worked with luatex and pdftex from the minimals and pdtex from texlive 2008. is this because of the recent addition of the math stuff? Mohamed Aditya Mahajan wrote: On Sun, 15 Mar 2009, Mohamed Bana wrote: hi guys, i generally use this file to test if math is working, with the recent update i get a lot of errors such as; Add \let\blackboard\mathblackboard \let\fraktur\mathfraktur \let\gothic\mathfraktur in your preamble. 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] math problems
hi guys, i generally use this file to test if math is working, with the recent update i get a lot of errors such as; ! Missing number, treated as zero. to be read again $ \@@dobig ...o #1\bodyfontsize {}\right @space $ }} \...@mt@defaultBigl ...\puremathcomm {open}{\Big {#1} } l.99 \pauli = \dirac^2 = \Bigl( \sum_{j=1}^2 \sigma_j\big(-i\PD{}{x^j}-a_j\bi... ? with texlive 2008 it works just fine, i've attached the output of the TL2008. i'm certain that the same file was compiling just fine with (i think) luatex 0.31 (or pre 0.31). the content is from Mikael Persson's thesis. Mohamed \usemodule[bib] \def\mathbb#1{{\blackboard #1}} \def\pauli{\mathfrak{P}} \def\mathfrak#1{{\fraktur #1}} % Matriser av olika typ. % Paranthesis \definemathmatrix [pmatrix] [left={\left(\,},right={\,\right)}] % Brackets \definemathmatrix [bmatrix] [left={\left[\,},right={\,\right]}] % Curly braces \definemathmatrix [Bmatrix] [left={\left\{\,},right={\,\right\}}] % vertical bars \definemathmatrix [vmatrix] [left={\left\vert\,},right={\,\right\vert}] % double vertical bars \definemathmatrix [Vmatrix] [left={\left\Vert\,},right={\,\right\Vert}] \def\PD#1#2{\frac{\partial #1}{\partial #2}} \def\ann{\mathscr{Q}^{\vphantom{*}}} \def\mathscr#1{{\gothic #1}} \def\cre{\mathscr{Q}^*} \def\dirac{{\mathfrak{D}}} \def\pform{\mathfrak{p}} \def\ed{\mfunction{\,d}} \definemathcommand [dom] [nolop] {\mfunction{Dom}} \def\bz{\bar{z}} \def\psip{{\psi_+}} \def\psim{{\psi_-}} % \eqref \definereferenceformat[eqref][left=(,right=)] \defineenumeration[problem] [text=Problem, location=serried, width=fit, indenting=first, distance=0.5em, way=bysection, ] \subsubsection[ksec:paulitvad]{The Pauli operator in $\mathbb{R}^2$} A charged spin $1/2$ particle is described by the Pauli Hamiltonian, which acts in $L_2(\mathbb{R}^2)\otimes \mathbb{C}^2$, and is formally defined as \placeformula[keq:pauli] \startformula \pauli = \startpmatrix \NC H-\frac{g}{2}B \NC 0 \NR \NC 0 \NC H+\frac{g}{2}B\NR \stoppmatrix. \stopformula Here $H$ is the two-dimensional Schrödinger Hamiltonian $H=(-i\nabla -\vec{a})^2$, $B$ is the magnetic field (In two dimensions we identify the two-form and the coefficient function), and $g$ is the {\em gyromagnetic ratio}. We identify the real point $(x^1,x^2)$ with the complex number $z=x^1+ix^2$, and denote a scalar potential of $B$ by $W$, \startformula -\Delta W = B. \stopformula We set $\Pi_j = -i\PD{}{x^j}-a_j$ and \startformula \ann = \Pi_1 - i \Pi_2,\quad \cre = \Pi_1 + i\Pi_2, \stopformula and note that \placeformula[keq:komm] \startformula \ann\cre=\cre\ann+2B,\quad H=\cre\ann+B=\ann\cre-B. \stopformula From~\eqref[keq:pauli] and~\eqref[keq:komm] we get \placeformula[keq:paulig] \startformula \pauli = \startpmatrix \NC \cre\ann-\frac{g-2}{2}B \NC 0 \NR \NC 0 \NC \ann\cre+\frac{g-2}{2}B\NR \stoppmatrix. \stopformula The number $\frac{g-2}{2}$ is called the {\em anomaly factor} of the magnetic moment. Experiments give an anomaly factor of $0.00159$ for the electron~\cite[bovo]. We assume that $g=2$, which is the simplest case. Thus, the Pauli Hamiltonian we study in this thesis is formally defined by \placeformula[keq:pauliw] \startformula \pauli = \startpmatrix \NC \cre\ann \NC 0 \NR \NC 0 \NC \ann\cre\NR \stoppmatrix. \stopformula The Pauli operator can be written as the square of the Dirac operator \placeformula[keq:paulia] \startformula \pauli = \dirac^2 = \Bigl(\sum_{j=1}^2 \sigma_j\big(-i\PD{}{x^j}-a_j\big)\Bigr)^2 = \startpmatrix \NC 0 \NC \cre \NR \NC \ann \NC 0\NR \stoppmatrix^2 \stopformula from which it follows that it is a non-negative operator. Now let us be more precise about the domains. As in the case of the Schrödinger Hamiltonian there is a problem in defining the Pauli Hamiltonian if the magnetic field is too singular. The quadratic form corresponding to $\pauli$ is given by \placeformula[keq:pform] \startformula \pform(\psi,\psi)= \int_{\mathbb{R}^2} \Big|\sum_{j=1}^2 \sigma_j\big(-i\PD{}{x^j}-a_j\big)\psi\Big|^2\ed m(x). \stopformula If $\vec{a}\in L_{2,\text{loc}}(\mathbb{R}^2)\otimes \mathbb{R}^2$ then $\pform(\psi,\psi)$ makes sense for $\psi\in C_0^\infty(\mathbb{R}^2)\otimes \mathbb{C}^2$. We define the {\em minimal} Pauli form $\pform_{\text{min}}$ as \startformula \startalign \NC \dom(\pform_{\text{min}}) \NC = C_0^\infty(\mathbb{R}^2)\otimes \mathbb{C}^2;\NR \NC \pform_{\text{min}}(\psi,\psi) \NC = \pform(\psi,\psi),\quad \psi\in\dom(\pform_{\text{min}}).\NR \stopalign \stopformula It is closable and thus a self-adjoint operator $\pauli_{\text{min}}$ can be defined. We also define the {\em maximal} Pauli form $\pform_{\text{max}}$ as \placeformula \startformula \startalign \NC \dom(\pform_{\text{max}}) \NC = \bigl\{\,\psi\in L_2(\mathbb{R}^2)\otimes \mathbb{C}^2\bigm|
Re: [NTG-context] Simplified input for natural tables
looks nice. Aditya Mahajan wrote: On Thu, 12 Mar 2009, Vyatcheslav Yatskovsky wrote: In the same way as Hans wrote them in his exmple. Cool, but will it be included in context source? Or it is too early? I think that such solutions are too fragile. A robust way will be to use a complete mediawiki (or any other markup) parser. It one in lua is available, integrating it to ConTeXt will be easy. If not, we can still have an external file based route. For some time I have been thinking about a module using which I can do \definemarkup[RST][command={pandoc -r rst -w context}] \startRST Write anything here in restructured text syntax here. For example - Two syntaxes for tables_: 1. `Grid tables`_; complete, but complex and verbose:: +++--+ | Header row, column 1 | Header 2 | Header 3 | +++==+ | body row 1, column 1 | column 2 | column 3 | +++--+ | body row 2 | Cells may span| ++---+ 2. `Simple tables`_; easy and compact, but limited:: == == Header row, column 1 Header 2Header 3 == == body row 1, column 1 column 2column 3 body row 2Cells may span columns == \stopRST Such a module will also provide a quick and dirty way of writing simple presentations. Any takers for writings such a module (basically just copying the R module a bit). 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 ___
Re: [NTG-context] Bib module...
Taco, hi, I've said this before, but I think you need to include a complete example (i.e., the source) with your bib PDF somehow. It wasn't as straight forward as I would have wanted it to be. Taco Hoekwater wrote: Willi Egger wrote: Hi, I should typeset an article... Now I tried out different approaches but I do not get a complete list of references. I am puzzled why I do get only Taco's reference in the list and why there is no journal mentioned in Taco's reference. You are missing the journal entry because a manual is not an article, and you are missing the Allan et al. reference because Allan-eighty is not the same as [Allan80] Best wishes, Taco ___ 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] Bib module...
I've heard PDF now supports attaching text files. Not sure accurate that is. Thanks Taco Mohamed Bana wrote: Taco, hi, I've said this before, but I think you need to include a complete example (i.e., the source) with your bib PDF somehow. It wasn't as straight forward as I would have wanted it to be. Taco Hoekwater wrote: Willi Egger wrote: Hi, I should typeset an article... Now I tried out different approaches but I do not get a complete list of references. I am puzzled why I do get only Taco's reference in the list and why there is no journal mentioned in Taco's reference. You are missing the journal entry because a manual is not an article, and you are missing the Allan et al. reference because Allan-eighty is not the same as [Allan80] Best wishes, Taco ___ 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] luatex tikz problem
Aditya, thanks for looking into it. ConTeXt version: 2009.02.25 14:43 $ luatex --version This is LuaTeX, Version snapshot-0.35.0-2009022421, build unknown untouched version of tikz from minimals Aditya Mahajan wrote: On Sat, 21 Feb 2009, Mohamed Bana wrote: hi, why does this fail with luatex? also, try \enableregime[utf-8] i got another error message when that's enabled. You do not need \enableregime[utf-8] in luatex. Everything is already utf-8. The following works for me (see attached pdf). For some reason, the text in the first node is black. Notice the \tikzstyle line is different from what you had. BTW, the fix for the arrows is; \usetikzlibrary[arrows] *I think* the problem was with; \usemodule[pgfplots] if I include it get the following in the resulting PDF; mapped colorrgb0,0,0 ad2.tex is original --- ad.tex 2009-03-07 23:32:53.0 + +++ ad2.tex 2009-03-07 23:34:24.0 + @@ -3,16 +3,12 @@ \le...@\zeropoint \protect \usemodule[tikz] -\usetikzlibrary[arrows,automata] - -%\usemodule[pgfplots] -\setupcolors[state=start] \starttext \starttikzpicture[-,=stealth',shorten =1pt,auto,node distance=4cm, semithick] - \tikzstyle{every state}=[fill=black,draw=none,text=white] + \tikzstyle{state}=[fill=gray,draw=none,text=white] \node[state] (s0) [label=left:$s_0$] {$p,q$}; \node[state] (s1) [below right of=s0,label=right:$s_1$] {$q$}; @@ -32,5 +28,4 @@ \stoptikzpicture -\stoptext - +\stoptext Mohamed \unprotect \newtoks\toks@ \le...@\zeropoint \protect \usemodule[tikz] \starttext \starttikzpicture[-,=stealth',shorten =1pt,auto,node distance=4cm, semithick] \tikzstyle{state}=[fill=gray,draw=none,text=white] \node[state] (s0) [label=left:$s_0$] {$p,q$}; \node[state] (s1) [below right of=s0,label=right:$s_1$] {$q$}; \node[state] (s2) [below of=s0,label=right:$s_2$] {$q$}; \node[state] (s3) [below left of=s0,label=left:$s_3$] {$p$}; \path (s0) edge [loop above] (s0) edge (s1) edge (s3) (s1) edge [bend right] (s3) (s2) edge [loop below] (s2) edge (s0) edge [right] (s1) (s3) edge [right] (s1) edge [right] (s2); \stoptikzpicture \stoptext LuaTeX, Version snapshot-0.35.0-2009030712, build 1950 ConTeXt version: 2009.03.07 00:29 CVS version of tikz: date 2009-03-01 from http://www.texample.net/tikz/builds/ 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 ___ ad.pdf Description: Adobe PDF document \unprotect \newtoks\toks@ \le...@\zeropoint \protect \usemodule[tikz] \starttext \starttikzpicture[-,=stealth',shorten =1pt,auto,node distance=4cm, semithick] \tikzstyle{state}=[fill=gray,draw=none,text=white] \node[state] (s0) [label=left:$s_0$] {$p,q$}; \node[state] (s1) [below right of=s0,label=right:$s_1$] {$q$}; \node[state] (s2) [below of=s0,label=right:$s_2$] {$q$}; \node[state] (s3) [below left of=s0,label=left:$s_3$] {$p$}; \path (s0) edge [loop above] (s0) edge (s1) edge (s3) (s1) edge [bend right] (s3) (s2) edge [loop below] (s2) edge (s0) edge [right] (s1) (s3) edge [right] (s1) edge [right] (s2); \stoptikzpicture \stoptext ad-pgf.pdf Description: Adobe PDF document ___ 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] [Fwd: Re: math preview in emacs]
has anyone else looked at providing math preview with ConTeXt? ---BeginMessage--- On Thu, 5 Mar 2009, Mohamed Bana wrote: hi Aditya, maybe i should have been more explicit in my last email. auctex supports maths preview for latex, i was wondering how far you got on it. Hi Mohamed, I did not explore emacs too much. At present for context, I find vim much better (simply because I know vim very well). I rarely use latex these days, so there is not much incentive to learn emacs. I might look at this again in future if I have to use latex in a large project. One thing that I never understood was why it is hard to port preview-latex to ConTeXt, especially for displays. For displays and floats, all preview latex does is create a pdf/png; in ConTeXt, we can get that easily by using \startTEXpage ... \stopTEXpage around the environment. I assume that this would be easy for someone who knows the inner working of AucTeX. For me it is a long term project, which I will get to some day. Best, Aditya ---End Message--- ___ 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] luatex tikz problem
anyone? Mohamed Bana wrote: hi, why does this fail with luatex? also, try \enableregime[utf-8] i got another error message when that's enabled. $ luatex --version This is LuaTeX, Version snapshot-0.31.3-2008123108, build unknown $ context --version MtxRun | main context file: /home/mbana/context-minimals/tex/texmf-context/tex/context/base/context.tex MtxRun | current version: 2009.01.18 14:39 texexec --lua test.tex ! Missing \endcsname inserted. to be read again \edef \t...@finish ...\the \pgflinewidth }\fi \fi \edef \t...@temp {\noexpand \pgf... argument ...linewidth {\begingroup \t...@finish }\global \pgflinewidth =\p... \pgfu...@secondoftwo #1#2-#2 argument ...l \pgflinewidth =\pgfu...@tempdima } \pgfu...@ifundefined {...@... \pgfu...@secondoftwo #1#2-#2 l.52 ...ft:$s_0$] {$p,q$}; ? %\enableregime[utf-8] \usemodule[tikz] \usemodule[pgfplots] %\usetikzlibrary[fit] % ConTEXt \usetikzlibrary[arrows,automata,fit] \starttext \starttikzpicture[-,=stealth',shorten =1pt,auto,node distance=4cm, semithick] \tikzstyle{every state}=[fill=grey,draw=none,text=white] \node[state] (s0) [label=left:$s_0$] {$p,q$}; \node[state] (s1) [below right of=s0,label=right:$s_1$] {$q$}; \node[state] (s2) [below of=s0,label=right:$s_2$] {$q$}; \node[state] (s3) [below left of=s0,label=left:$s_3$] {$p$}; \path (s0) edge [loop above] (s0) edge (s1) edge (s3) (s1) edge [bend right] (s3) (s2) edge [loop below] (s2) edge (s0) edge [right] (s1) (s3) edge [right] (s1) edge [right] (s2); \stoptikzpicture \stoptext ___ 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] reducing compile time
maybe someone should research LuaJIT; http://luajit.org/ lua vs luajit; http://shootout.alioth.debian.org/u32q/benchmark.php?test=alllang=luajitlang2=luabox=1 thoughts? Alan Stone wrote: - does using \doifundefined{myMacro}{...} shorten tex runs/compile time ? - what are the features to avoid for shortest compile times ? -- Alan ___ 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] luatex tikz problem
hi, why does this fail with luatex? also, try \enableregime[utf-8] i got another error message when that's enabled. $ luatex --version This is LuaTeX, Version snapshot-0.31.3-2008123108, build unknown $ context --version MtxRun | main context file: /home/mbana/context-minimals/tex/texmf-context/tex/context/base/context.tex MtxRun | current version: 2009.01.18 14:39 texexec --lua test.tex ! Missing \endcsname inserted. to be read again \edef \t...@finish ...\the \pgflinewidth }\fi \fi \edef \t...@temp {\noexpand \pgf... argument ...linewidth {\begingroup \t...@finish }\global \pgflinewidth =\p... \pgfu...@secondoftwo #1#2-#2 argument ...l \pgflinewidth =\pgfu...@tempdima } \pgfu...@ifundefined {...@... \pgfu...@secondoftwo #1#2-#2 ... l.52 ...ft:$s_0$] {$p,q$}; ? %\enableregime[utf-8] \usemodule[tikz] \usemodule[pgfplots] %\usetikzlibrary[fit] % ConTEXt \usetikzlibrary[arrows,automata,fit] \starttext \starttikzpicture[-,=stealth',shorten =1pt,auto,node distance=4cm, semithick] \tikzstyle{every state}=[fill=grey,draw=none,text=white] \node[state] (s0) [label=left:$s_0$] {$p,q$}; \node[state] (s1) [below right of=s0,label=right:$s_1$] {$q$}; \node[state] (s2) [below of=s0,label=right:$s_2$] {$q$}; \node[state] (s3) [below left of=s0,label=left:$s_3$] {$p$}; \path (s0) edge [loop above] (s0) edge (s1) edge (s3) (s1) edge [bend right] (s3) (s2) edge [loop below] (s2) edge (s0) edge [right] (s1) (s3) edge [right] (s1) edge [right] (s2); \stoptikzpicture \stoptext ___ 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] Unicode Math - what it is
in first-setup.sh # download or update the distribution # you may remove the --context=beta switch mtxrun --verbose --script ./bin/mtx-update.lua --update --make --force --engine=all --context=alpha --texroot=$PWD/tex --extras=t-tikz $@ got this error loading : Context Synchronization ) (/home/mbana/context-minimals/tex/texmf-context/tex/context/base/math-pln.tex) (/home/mbana/context-minimals/tex/texmf-context/tex/context/base/math-ini.mkiv ! LuaTeX error ...mals/tex/texmf-context/tex/context/base/math-noa.lua:161: table index is nil stack traceback: ...mals/tex/texmf-context/tex/context/base/math-noa.lua:161: in main chunk main ctx instance:1: in main chunk. \ctxluabytecode ...de[#1] = nil end else end end } \registerctxluafile ...{\the \luabytecodecounter } \fi l.43 \registerctxluafile{math-noa}{1.001} ? Mojca Miklavec wrote: On Fri, Feb 13, 2009 at 8:44 PM, Mohamed Bana wrote: i upgraded only to check if this would would, and it didn't, any idea why? $ context --version MtxRun | main context file: /home/mbana/context-minimals/tex/texmf-context/tex/context/base/context.tex MtxRun | current version: 2009.01.18 14:39 $ luatex --version This is LuaTeX, Version snapshot-0.31.3-2008123108, build unknown You need version 0.33.1 from SVN and the latest ConTeXt (about 5 days old; in minimals it's --context=alpha and it's beta on Pragma, but you need your own LuaTeX). % engine=luatex \usetypescript[cambria] \setupbodyfont[cambria] \starttext $\mu$ µ is ok, but $µ$ is ţ \stoptext uses Latin Modern i'm getting this error when i try to use Tikz ! Undefined control sequence. recently read \usetikzlibrary l.11 \usetikzlibrary [arrows,automata,fit] ? Did you check for notices like module tikz not loaded in the log? If you use the minimals you need to make sure to add --extras=t-tikz to first-setup.sh (or add that switch when you call first-setup.sh). also where exactly are the typescripts located and do you happen to have the Asana Math typescripts as well? :) They are in type-otf.tex. If you want to use Asana, just copy the whole portion of cambria typescripts and search-and-replace-all from cambria to asana (or ask Hans politely to do that in core once he's back). Mojca ___ 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] Unicode Math - what it is
i upgraded only to check if this would would, and it didn't, any idea why? $ context --version MtxRun | main context file: /home/mbana/context-minimals/tex/texmf-context/tex/context/base/context.tex MtxRun | current version: 2009.01.18 14:39 $ luatex --version This is LuaTeX, Version snapshot-0.31.3-2008123108, build unknown % engine=luatex \usetypescript[cambria] \setupbodyfont[cambria] \starttext $\mu$ µ is ok, but $µ$ is ţ \stoptext uses Latin Modern i'm getting this error when i try to use Tikz ! Undefined control sequence. recently read \usetikzlibrary l.11 \usetikzlibrary [arrows,automata,fit] ? also where exactly are the typescripts located and do you happen to have the Asana Math typescripts as well? :) btw, thanks a lot. Wolfgang Schuster wrote: Am 13.02.2009 um 18:12 schrieb Michail Vidiassov: You can already use Cambria Math or Asana Math in mkiv with the non-released LuaTeX with ConTeXt beta from Pragma. How? What are the typescripts? \usetypescript[cambria] \setupbodyfont[cambria] 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 ___ ___ 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] Ouput of compile
hi, is it possible to forward the output a compile to a specific directory to avoid cluttering the current dir? also do you guys know that --purgeall still leaves some output - such as bibtex - to the current dir. it would also be great if texexec could also accept which dir to get the temp files from to avoid generating them again. i know i can forward the PDF output to a specific place, but that's not the point. ___ 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] setuphead question
i also have a question; why can't i use different fonts in \def\myCommand#1#2{{\ss\sc #1}{\rm\sc #2}{\ss\sc\bf #1}{\rm\sc\bf #2}} \setuphead[part][command=\myCommand] the font commands are simply ignored. I don't want to have to resort to using numberstyle and textstyle. Thanks ___ 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] installing fonts pdftex
this http://wiki.contextgarden.net/otfinst did it and it actually worked quite well, thanks a lot. it even took care of the dashes problem. do you know how to default to old style numerals the 'osf' doesn't seem to work, and i'm certain that the font supports it. and if you so happen to be the author, you've got a bug; if i chose Sans, it generates this typescript \definetypeface [sample][rm][serif][cronospro][default][encoding=texnansi] instead of \definetypeface [sample][ss][sans][cronospro][default][encoding=texnansi] Thomas A. Schmitz wrote: On Jan 27, 2009, at 12:28 AM, Mohamed Bana wrote: Hi Thomas, Hi, please address questions to the mailing-list, not to me personally. 1. when is the last time you tried to install a font manually using texfont? i've been trying to get install warnockpro and cronospro - both of which are .otf - but i've had no lack. texfont --makepath --install --fontroot=`pwd` --vendor=adobe --co=warnockpro --en=texnansi --lcdf --preproc --variant=liga,kern,smcp,onum the last time i checked texfont was generating an empty map file. texfont is really old, it predates opentype fonts, so you can't expect it to handle such fonts. It was a brave and wonderful effort to automate installation of fonts, but I gave up using it - not because texfont itself is bad, but because so many fonts are just faulty and/or idiosyncratic, and automatization just can't handle all these eceptions. I always had to double-check and edit files by hand, so I decided to go for a manual process. The --lcdf switch was added by Adam Lindsay, who also wrote a short article about otf and ConTeXt: http://www.tug.org/pracjourn/2005-2/lindsay/lindsay.pdf Too bad Adam isn't active anymore, he was a great help in ConTeXt development. If you search the mailing list archive for texfont lcdf, you will see that the problem with the empty map file is common and was never really solved, AFAIK. So you have several options: 1. install the fonts manually 2. use texfont and write the map file manually 3. try Patrick's otfinst http://wiki.contextgarden.net/otfinst 4. I have a set of support files for using Cronos and Warnock with pdftex; if you want, I can make a zip and send them to you (not before Thursday, however). the free version of lucida (.ttf) that ship with Java files worked fine 2. is there someone i must do to get to dashes working properly? as in, --- doesn't generate the right dash nor does --. These are defined as ligatures in the tfm/vf files. Doesn't texfont produce vpl-files as an intermediate format? You could open those and check whether the ligature is defined. It probably isn't, and then you have to hunt down the reason or add it manually... Good luck 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 ___ ___ 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] Adobe ArnoPro in mkiv
hi, thanks for the reply, it's nice to hear that it's working - what was the problem? anyhow, currently my favourite font is minion/warnock pro and when the math version (that is, MinionMath) is released it'll be the ultimate font. if you want to preview material typeset with minion/warnock pro you might want to check out Daniel Jackson's page http://people.csail.mit.edu/dnj/, in particular his book; Software Abstractions: Logic, Language, and Analysis is typeset in warnock pro. do you mind sharing the typeset for arnopro, i'll give it a try to see how to compares to minion/warnock pro. Mohamed Thomas A. Schmitz wrote: On Aug 24, 2008, at 9:56 AM, Thomas A. Schmitz wrote: On Aug 20, 2008, at 8:59 PM, abbg...@city.ac.uk wrote: Thomas A. Schmitz thomas.schmitz at uni-bonn.de writes: Hi all, I'm trying to use the Adobe ArnoPro font (just testing if it will work with ConTeXt). The font does work with ConTeXt/XeTeX, but not in mkiv. Hi, Did you manage to fix it? LuaTeX goes into (what I think is) an endless cycle --- I haven't allowed it to terminate naturaly, as it takes far too long even on a quad core. Yes, I get a segmentation fault here on OS X as well. I talked to Hans in Bohinj (I'm back earlier than the rest, who are still working hard in Slovenia), and he thinks we'll just have to wait a bit till luatex integrates code from fontforge v.3. So for the time being, Arno Pro is unfortunately no go. Just for the record and in case anybody else is interested: with the latest luatex and the latest beta, ArnoPro now works in mkiv! 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 ___ ___ 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] Looking for ConTeXt commands for ...
! Undefined control sequence. \CVTITLE ...\ss \bfa #1} \blank [medium]{\ss \tfe #2} }\blank [2*big] l.139 \CVTITLE{}{CV} ? \tfe doesn't seem to work, the others do. $ context --version MtxRun | main context file: /home/mbana/context-minimals/tex/texmf-context/tex/context/base/context.tex MtxRun | current version: 2008.11.10 21:40 ConTeXt ver: 2008.11.10 21:40 MKIV fmt: 2008.12.15 int: english/english $ luatex --version This is LuaTeX, Version snapshot-0.30.3-2008112812, build unknown Aditya Mahajan wrote: On Mon, 5 Jan 2009, Mohamed Bana wrote: I'am trying to convert a doc to ConTeXt, and I'm also trying to make it as close to the original as possible. How do the command below translate to ConTeXt? 1. \geometry{a4paper, textwidth=5.5in, textheight=8.5in, marginparsep=7pt, marginparwidth=.6in} For a4 paper use \setuppapersize[a4][a4] For setting geometry, see \setuplayout. 2. \scriptsize = \tfxx? 3. \LARGE and \Large 4. \Huge and \HUGE Semantically, \scriptsize = \tfxx, \Large et. al. are \tfa \tfb \tfc \tfd \tfe, but that may not give you visually the same appearance due to different defaults in Latex and Context. In Latex, these sizes are set as part of the documentclass, or size10.clo, size12.clo, etc. So, the most reliable way to reconstruct the visual appearance will be to figure out what sizes they correspond to in latex, and then set the context font environmet to match the latex values. 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] Looking for ConTeXt commands for ...
I'am trying to convert a doc to ConTeXt, and I'm also trying to make it as close to the original as possible. How do the command below translate to ConTeXt? 1. \geometry{a4paper, textwidth=5.5in, textheight=8.5in, marginparsep=7pt, marginparwidth=.6in} 2. \scriptsize = \tfxx? 3. \LARGE and \Large 4. \Huge and \HUGE thanks ___ 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] fullpage and XeTeX typescript
hi, 1. what's the equivalent of the \usepackage{fullpage} for ConTeXt? 2. it would be convenient if LuaTeX supported typescripts like XeTeX does instead of having to define font synonyms, e.g., \definetypeface[mainface][rm][Xserif][Warnock Pro] \definetypeface[mainface][ss][Xsans][Cronos Pro] \definetypeface[mainface][tt][Xmono][Inconsolata][default]%[rscale=0.9] % use only for Monaco %\definetypeface[mainface][mm][Xmath][palatino] \definetypeface[mainface][mm][math][palatino][default]%[encoding=texnansi] \setupbodyfont[mainface, 13pt] ___ 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] lucida and mactex 2008
sorry i'm stealing your thread, but i'm thinking of buying the lucida fonts with maths, which version works with luatex and which one works with mkii, please provide a link for both. Jerónimo Alaminos Prats wrote: Hello, I have been using the lucida fonts without problems for a long time. They work like a charm with mactex 2007 but moving to the 2008 version I've found that some math symbols are shuffled or simply do not appear in the pdf. For example, \midint compiles correctly but do not appear in the pdf result. I have checked everything that I can imagine but cannot find a reason for this behaviour. As example, the result that I get when i compile \setupcolors[state=start] \usetypescript[lucida][texnansi] \usetypescript[lucidabfm][texnansi] \usetypescript[lucidaboldmath][texnansi] \setupbodyfont[lucida,10pt] \starttext \showmathcharacters \stoptext can be seen at http://www.ugr.es/~alaminos/_Media/lucida-2008.pdf Any ideas? Thanks, Jeronimo - Jer�nimo Alaminos Prats Dpto. An�lisis Matem�tico Facultad de Ciencias Universidad de Granada Granada - 18071 alami...@ugr.es ___ 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] moinmoin ... to ConTeXt
hey guys, just stumbled across this; http://moinmo.in/ (wiki): click on 'more actions'-'render as docbook', then use http://dblatex.sourceforge.net/ to convert to ConTeXt. ___ 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] PDF page numbers
Derek CORDEIRO wrote: In latex + book/memoir + hyperref, if \frontmatter \mainmatter are used, the pdf files generated use the roman numbers in the pdf itself. It appears as ii (2 of 500) in the pdfviewer. Is it possible to do the same with ConTeXt? It would be great if ConTeXt could. Is there any introduction to using fonts(typefaces) in ConTeXt? I find myself stumbling on simple things(I'm a beginner). For example, the following works fine. \usetypescriptfile[type-gyr] \usetypescript[palatino] \setupbodyfont[palatino,11pt] but the following does not work. \usetypescriptfile[type-gyr] \usetypescript[schoolbook][ec] \setupbodyfont[schoolbook,11pt] I have tried with and older distribution of ConTeXt which comes along with Fedora 10 as well as with ConTeXt minimals. Incidentally if I use \definetypeface[schola][rm][serif][schola][default][encoding=t5] it works fine. What am I doing wrong? Regards, Derek ___ 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] Experience on writing a thesis with MKIV
Hi Aditya Are you aware of this using \setupindenting [big,yes] in L 263 env-thesis.tex instead of the default; \setupindenting [medium,yes] results in 'Chapters' in the TOC being indented slightly more than References, Abstract etc. give it a try, you'll notice that it protrudes slightly more than the other entries. ___ 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] Experience on writing a thesis with MKIV
This is very strange, I did a fresh checkout and everything *just* worked. $ luatex --version This is LuaTeX, Version snapshot-0.30.3-2008112812, build unknown ... $ context --version MtxRun | main context file: /home/mbana/context-minimals/tex/texmf-context/tex/context/base/context.tex MtxRun | current version: 2008.11.10 21:40 Hopefully this will be my last question; how do you compile individual chapters? Aditya Mahajan wrote: On Tue, 9 Dec 2008, Taco Hoekwater wrote: Aditya Mahajan wrote: On Tue, 9 Dec 2008, Mohamed Bana wrote: sorry about the late reply, my minimals broke so i had to wait for a fix. t-bib-2008.12.01.zip $ luatex --version This is LuaTeX, Version snapshot-0.30.3-2008112812, build unknown $ context --version MtxRun | main context file: /home/mbana/context-minimals/tex/texmf-context/tex/context/base/context.tex MtxRun | current version: 2008.11.10 21:40 http://filebin.ca/jqqekq/thesis.pdf or http://filebin.ca/jqqekq http://filebin.ca/uhvgex/thesis.log or http://filebin.ca/uhvgex How are you compiling your files? Use context thesis and not texexec --lua thesis (texexec will run bibtex which will overwrite the existing bbl file, since you do not have any bib file, the bbl file will be empty). Please note that my latest upload to modules.contextgarden runs bibtex itself, in mkiv mode. Ah, so that explains why Mohamed is not getting any citations. I was using latest minimals from yesterday which still have t-bib from 2008.10.27. Taco, I also have a feature request for the bib module. Currently, \setupcite is defined as \def\dosetupcite[#1][#2]% {\ifsecondargument \def\dodosetupcite##1{\getparameters[\??pv##1][#2]}% \processcommalist[#1]\dodosetupcite \else % default case \getparameters[\??pv\@@citedefault][#1]% \fi } This means that if I say \setupcite[compress=no], this option is only passed to the default cite command. This means that when interaction is enabled, (and the bibl-* file says compress=yes), we get no styles for other cite styles. Does it make sense to add a keyword all so that \setupcite[all][...] is equal to \setupcite [author,authoryear,authoryears, year,serial,authornum,page,short,type,doi,url,num] [...] Also, can we add style and color options to \cite. These can be either passed to \setupinteraction in \docite or simply added using attributes in the output of \cite. Mohamed, to get the references to work comment \setupbibtex [database={IEEEfull,../collection}, sort=author] in macros.tex and add \dousepublications[thesis] You can also use the official way: \usepublications[thesis], but I think that this will cause warnings about redefined labels. Perhaps a better way would be to change thesis.bbl to say thesis-ref.bbl and then use \usepublications[thesis-ref]. 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 ___
Re: [NTG-context] Problem with fonts
$ luatex --version This is LuaTeX, Version snapshot-0.31.0-2008120715, build unknown Taco Hoekwater wrote: Mohamed Bana wrote: i just updated the minimals and I can no longer typeset, even though $ mtxrun --script fonts --list shows the font ! LuaTeX error Are you running luatex 0.31 ? Taco ___ 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] Experience on writing a thesis with MKIV
sorry about the late reply, my minimals broke so i had to wait for a fix. t-bib-2008.12.01.zip $ luatex --version This is LuaTeX, Version snapshot-0.30.3-2008112812, build unknown $ context --version MtxRun | main context file: /home/mbana/context-minimals/tex/texmf-context/tex/context/base/context.tex MtxRun | current version: 2008.11.10 21:40 http://filebin.ca/jqqekq/thesis.pdf or http://filebin.ca/jqqekq http://filebin.ca/uhvgex/thesis.log or http://filebin.ca/uhvgex Aditya Mahajan wrote: On Tue, 9 Dec 2008, Mohamed Bana wrote: No the citations aren't working. This is really strange. It is working at my end with the latest version of t-bib. Can you send me your log and pdf file. Am I the only one who thinks ConTeXt needs a extensive set of regression tests? No. We have discussed this extensively in the past. There is also a context-test svn repository with a script that can automatically check if the pdf output changed with different version. However, it has been dormat for about a year now. For more info see http://wiki.contextgarden.net/Test and add more tests. Adiyta, you shouldn't have hard-coded: ./frontmatter.tex:\startcolor[darkred]\titlefont \hskip 1.5em Chapters \stopcolor} Yeah, I know. This was just a quick change, so I did not bother with elegance. The proper way of doing it would be to define a titlecolor and use that. Changing L191 env-thesis.tex, has no effect, such as: \setuplist [chapter][color=darkblue] \setuplist [Title] [color=darkblue] Chapters still comes out as darkred. 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 ___
Re: [NTG-context] Experience on writing a thesis with MKIV
Hi Aditya, Thanks for getting back to me. I did a fresh checkout and tried to compile, I uncommented out these lines from the beginning of macros.tex. L3 \setupcolors[state=start] ... L16 \setupcite [interaction=start, compress=no,color=] %darkgreen] L276-278 in env-thesis.tex \setupinteraction[state=start,style=,color=] \setupinteraction[focus=standard] It's still the same; Multi-agent systems can be classified as teams and games on the basis of the ob- jective of the agents. In teams all agents have the same objective; in games, each agent has its own objective. Historically, games were first studied in the seminal work of and were later developed as a subfield of mathematical economics called game theory (Aumann and Hart, , , ). Teams were first studied in mathematical economics by and , and later in control systems by , , , , and others. Version: ConTeXt ver: 2008.11.30 14:39 MKIV fmt: 2008.12.1 int: english/english And have you seen this error; ! LuaTeX error ...nimals/tex/texmf-local/tex/context/base/core-syn.lua:71: attempt to call field 'process' (a nil value) stack traceback: ...nimals/tex/texmf-local/tex/context/base/core-syn.lua:71: in function 'process' ...nimals/tex/texmf-local/tex/context/base/core-syn.lua:125: in function 'process' main ctx instance:1: in main chunk. \mkloadsortedlist ...xlua {joblists.process('#1')} \getvalue {\s!reset #1}\eg... \doplacelistofsynonyms ... ]\mkloadsortedlist {#1} \endgroup \ifutilitydone \... l.162 \placelistofabbreviations Aditya Mahajan wrote: Hi Mohamed, On Sun, 7 Dec 2008, Mohamed Bana wrote: Hi Aditya, Any news on bib module - t-bib.tex? Sorry for not replying to your earlier message. If enable the colouring in cite commands in macros.tex I get; \setupcite [interaction=start, compress=no,color=darkgreen] The current bib module does not support changing the color of links. The color=darkgreen was a local change that I did in my copy of t-bib. So, color=darkgreen should just be silently ignored. However, compress=no does affect the output of the \cite command but I do not understand why it changes things like like Aumann and Hart (...) instead of (Aumann and Hard, ... ). Can you try to create a minimal example just using the bib module specific setups? Aditya Teams and games Multi-agent systems can be classified as teams and games on the basis of the ob- jective of the agents. In teams all agents have the same objective; in games, each agent has its own objective. Historically, games were first studied in the seminal work of and were later developed as a subfield of mathematical economics called game theory (Aumann and Hart, , , ). Teams were first studied in mathematical economics by and , and later in control systems by , , , , and others Instead of; Teams and games Multi-agent systems can be classified as teams and games on the basis of the ob- jective of the agents. In teams all agents have the same objective; in games, each agent has its own objective. Historically, games were first studied in the seminal work of von Neumann and Morgenstern () and were later developed as a sub- field of mathematical economics called game theory (Aumann and Hart, , , ). Teams were first studied in mathematical economics by Radner () and Marschak and Radner (), and later in control systems by Witsenhausen (a, ), Ho et al. (), Ho (), and others. Obviously I had to move t-bib.tex from the current directory to even get the it compile. Thanks Mohamed Aditya Mahajan wrote: * Bibliography. For a large part, the bib module was very easy. In the end, there were a few glitches with the formatting of the bibliography (too title space between entries) which I had to manually correct. (Look for \help inside the bbl file). The bbl file sorted authors with multiple entries incorrectly. If I had authors with four publications in a year, say 2000, the came out as 2000d, 2000c, 2000b, 2000a. I wanted 2000a, 2000b, 2000c, and 2000d, so in the end I just edited the bbl file by hand. There was also problem with maybe year. If I had 2000a and 2000b in the bib file, but only referred to 2000b in the thesis, the year came out as 2000b rather than 2000. For this also, I edited the bbl file by hand. Overall, ConTeXt made writing the thesis fairly easy. I mean the typesetting part of it. For those who are wondering, ConTeXt does not help with the content of the thesis :-) I would like to thank Hans and Taco for providing ConTeXt and everyone on the mailing list for answering my various questions. Aditya ___ If your question is of interest to others as well, please add an entry
Re: [NTG-context] Experience on writing a thesis with MKIV
No the citations aren't working. Am I the only one who thinks ConTeXt needs a extensive set of regression tests? Adiyta, you shouldn't have hard-coded: ./frontmatter.tex:\startcolor[darkred]\titlefont \hskip 1.5em Chapters \stopcolor} Changing L191 env-thesis.tex, has no effect, such as: \setuplist [chapter][color=darkblue] \setuplist [Title] [color=darkblue] Chapters still comes out as darkred. Aditya Mahajan wrote: Hi Mohamed, On Mon, 8 Dec 2008, Mohamed Bana wrote: Hi Aditya, Thanks for getting back to me. I did a fresh checkout and tried to compile, I uncommented out these lines from the beginning of macros.tex. L3 \setupcolors[state=start] ... L16 \setupcite [interaction=start, compress=no,color=] %darkgreen] L276-278 in env-thesis.tex \setupinteraction[state=start,style=,color=] \setupinteraction[focus=standard] It's still the same; I followed the same steps. Downloaded the files from http://www.eecs.umich.edu/~adityam/publications/thesis/thesis.tar.gz unzipped them, removed t-bib.tex from the current directory, made the changes indicated by you above, and did context thesis. Everything compiles files (there is one warning about Delicious-Bold.otf). Version: ConTeXt ver: 2008.11.30 14:39 MKIV fmt: 2008.12.1 int: english/english And have you seen this error; ! LuaTeX error ...nimals/tex/texmf-local/tex/context/base/core-syn.lua:71: attempt to call field 'process' (a nil value) stack traceback: ...nimals/tex/texmf-local/tex/context/base/core-syn.lua:71: in function 'process' ...nimals/tex/texmf-local/tex/context/base/core-syn.lua:125: in function 'process' main ctx instance:1: in main chunk. \mkloadsortedlist ...xlua {joblists.process('#1')} \getvalue {\s!reset #1}\eg... \doplacelistofsynonyms ... ]\mkloadsortedlist {#1} \endgroup \ifutilitydone \... l.162 \placelistofabbreviations An error like this usually means that luatex or mtxrun is old. I am using context version version: 2008.11.10 21:40 (hmmm... that is after a fresh update from the minimals, which is strange) and LuaTeX, Version snapshot-0.31.0-2008120715. I do not know if something broke in a newer version of context, but for that I will first need to figure out why my minimals are not being updated. Since I was at it, I redid the local change in t-bib so that I can have citations of different colors. Also changed a few other macros, to work well with colors (I had stopped playing with colors a while back ...). I am uploading the changed files and the typeset pdf file at http://pantheon.yale.edu/~am894/temp/ Try to download and compile this and see if it works. In the mean time I will investigate why minimals aren't being updated on my machine. 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] Problem with fonts
i just updated the minimals and I can no longer typeset, even though $ mtxrun --script fonts --list shows the font ! LuaTeX error ...mals/tex/texmf-context/tex/context/base/luat-log.lua:75: bad argument #2 to 'format' (string expected, got table) stack traceback: [C]: in function 'format' ...mals/tex/texmf-context/tex/context/base/luat-log.lua:75: in function 'report' ...mals/tex/texmf-context/tex/context/base/font-otf.lua:1431: in function 'after' ...mals/tex/texmf-context/tex/context/base/font-otf.lua:895: in function 'load' ...mals/tex/texmf-context/tex/context/base/font-otf.lua:1845: in function 'otf_to_tfm' ...mals/tex/texmf-context/tex/context/base/font-otf.lua:2066: in function 'read_from_open_type' ...mals/tex/texmf-context/tex/context/base/font-def.lua:333: in function ...mals/tex/texmf-context/tex/context/base/font-def.lua:315 (tail call): ? ...mals/tex/texmf-context/tex/context/base/font-def.lua:250: in function 'read' ...mals/tex/texmf-context/tex/context/base/font-def.lua:645: in function 'read' ...mals/tex/texmf-context/tex/context/base/font-def.lua:752: in function 'command_2' main ctx instance:1: in main chunk. \lowleveldefinefont ...s , \@@fontfallbacks )} \edef \somefontspec {at \s... \xxdododefinefont ...efont {#4}\newfontidentifier \let \localrelativefontsiz... \fontstrategy ...me \fontclass #2#3#4#5\endcsname \tryingfontfalse \fi inserted text ...yle \fontalternative \fontsize \fi \iftryingfont \fontstr... \synchronizefont ...strategy \the \fontstrategies \relax \fi \iftryingfont \... argument \getvalue [EMAIL PROTECTED]@ \fontstyle } \edef \fontstyle {\fontstyle }\if... ... l.148 \setupbodyfont[mainface,13pt] %should be 12pt, use 12.5pt for minion a... ? %%% test.tex %%% % engine=luatex \enableregime [utf-8] \def\sc{\setfontfeature{smallcaps}} \definefontfeature [default][default] [protrusion=quality,expansion=quality,mode=node,script=latn] \definefontfeature [oldstyle][default] [protrusion=quality,expansion=quality,mode=node,script=latn,onum=yes] \definefontfeature [smallcaps][default] [protrusion=quality,expansion=quality,mode=node,script=latn,smcp=yes] \usetypescript [serif] [hanging] [pure] \setupalign [hanging] \setfontfeature{oldstyle} \usetypescriptfile[type-folio] \definetypeface[mainface][rm][serif][warnockpro] [default] [features=default] \definetypeface[mainface][ss][sans][myriadpro] [default] [features=default] \definetypeface [mainface] [mm] [math] [palatino] [default] [encoding=texnansi] \setupbodyfont[mainface,13pt] \starttext {\tfa HELLO} {\tfb WORLD} \stoptext %%% type-folio.tex %%% \starttypescript [serif] [minionpro] \definefontsynonym [MinionPro-Regular][name:minionproregular] \definefontsynonym [MinionPro-Bold] [name:minionprobold] \definefontsynonym [MinionPro-Italic] [name:minionproit] \definefontsynonym [MinionPro-BoldItalic] [name:minionproboldit] \stoptypescript \starttypescript [serif] [minionpro] \definefontsynonym [Serif] [MinionPro-Regular] [features=default] \definefontsynonym [SerifBold] [MinionPro-Bold] [features=default] \definefontsynonym [SerifItalic] [MinionPro-Italic] [features=default] \definefontsynonym [SerifBoldItalic] [MinionPro-BoldItalic] [features=default] % \definefontsynonym [SerifSlanted] [SerifItalic] [features=default] \definefontsynonym [SerifCaps] [Serif] [features=smallcaps] \stoptypescript \starttypescript [sans] [myriadpro] \setups[font:fallback:sans] % \definefontsynonym [MyriadPro-Regular][name:MyriadPro-Regular] [features=default] % \definefontsynonym [MyriadPro-Bold] [name:MyriadPro-Bold] [features=default] % \definefontsynonym [MyriadPro-Italic] [name:MyriadPro-It] [features=default] % \definefontsynonym [MyriadPro-BoldItalic] [name:MyriadPro-BoldIt] [features=default] \definefontsynonym [MyriadPro-Regular][name:myriadproregular] \definefontsynonym [MyriadPro-Bold] [name:myriadprobold] \definefontsynonym [MyriadPro-Italic] [name:myriadproit] \definefontsynonym [MyriadPro-BoldItalic] [name:myriadproboldit] \stoptypescript \starttypescript [sans] [myriadpro] \definefontsynonym [Sans] [MyriadPro-Regular] [features=historic] \definefontsynonym [SansBold] [MyriadPro-Bold] [features=historic] \definefontsynonym [SansItalic] [MyriadPro-Italic] [features=historic] \definefontsynonym [SansBoldItalic] [MyriadPro-BoldItalic] [features=historic] \definefontsynonym [SansCaps] [Sans] [features=latin-smallcaps]
Re: [NTG-context] Experience on writing a thesis with MKIV
Hi Aditya, Any news on bib module - t-bib.tex? If enable the colouring in cite commands in macros.tex I get; \setupcite [interaction=start, compress=no,color=darkgreen] Teams and games Multi-agent systems can be classified as teams and games on the basis of the ob- jective of the agents. In teams all agents have the same objective; in games, each agent has its own objective. Historically, games were first studied in the seminal work of and were later developed as a subfield of mathematical economics called game theory (Aumann and Hart, , , ). Teams were first studied in mathematical economics by and , and later in control systems by , , , , and others Instead of; Teams and games Multi-agent systems can be classified as teams and games on the basis of the ob- jective of the agents. In teams all agents have the same objective; in games, each agent has its own objective. Historically, games were first studied in the seminal work of von Neumann and Morgenstern () and were later developed as a sub- field of mathematical economics called game theory (Aumann and Hart, , , ). Teams were first studied in mathematical economics by Radner () and Marschak and Radner (), and later in control systems by Witsenhausen (a, ), Ho et al. (), Ho (), and others. Obviously I had to move t-bib.tex from the current directory to even get the it compile. Thanks Mohamed Aditya Mahajan wrote: * Bibliography. For a large part, the bib module was very easy. In the end, there were a few glitches with the formatting of the bibliography (too title space between entries) which I had to manually correct. (Look for \help inside the bbl file). The bbl file sorted authors with multiple entries incorrectly. If I had authors with four publications in a year, say 2000, the came out as 2000d, 2000c, 2000b, 2000a. I wanted 2000a, 2000b, 2000c, and 2000d, so in the end I just edited the bbl file by hand. There was also problem with maybe year. If I had 2000a and 2000b in the bib file, but only referred to 2000b in the thesis, the year came out as 2000b rather than 2000. For this also, I edited the bbl file by hand. Overall, ConTeXt made writing the thesis fairly easy. I mean the typesetting part of it. For those who are wondering, ConTeXt does not help with the content of the thesis :-) I would like to thank Hans and Taco for providing ConTeXt and everyone on the mailing list for answering my various questions. 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] How to use Minion Pro
Feedback welcome. Make sure you use LuaTeX, add % engine=luatex right at the beginning of the main file. \starttypescript [serif] [minionpro] \definefontsynonym [MinionPro-Regular][name:minionproregular] \definefontsynonym [MinionPro-Bold] [name:minionprobold] \definefontsynonym [MinionPro-Italic] [name:minionproit] \definefontsynonym [MinionPro-BoldItalic] [name:minionproboldit] \stoptypescript \starttypescript [serif] [minionpro] \definefontsynonym [Serif] [MinionPro-Regular] [features=default] \definefontsynonym [SerifBold] [MinionPro-Bold] [features=default] \definefontsynonym [SerifItalic] [MinionPro-Italic] [features=default] \definefontsynonym [SerifBoldItalic] [MinionPro-BoldItalic] [features=default] % \definefontsynonym [SerifSlanted] [SerifItalic] [features=default] \definefontsynonym [SerifCaps] [Serif] [features=smallcaps] \stoptypescript \starttypescript [sans] [myriadpro] \setups[font:fallback:sans] % \definefontsynonym [MyriadPro-Regular][name:MyriadPro-Regular] [features=default] % \definefontsynonym [MyriadPro-Bold] [name:MyriadPro-Bold] [features=default] % \definefontsynonym [MyriadPro-Italic] [name:MyriadPro-It] [features=default] % \definefontsynonym [MyriadPro-BoldItalic] [name:MyriadPro-BoldIt] [features=default] \definefontsynonym [MyriadPro-Regular][name:myriadproregular] \definefontsynonym [MyriadPro-Bold] [name:myriadprobold] \definefontsynonym [MyriadPro-Italic] [name:myriadproit] \definefontsynonym [MyriadPro-BoldItalic] [name:myriadproboldit] \stoptypescript \starttypescript [sans] [myriadpro] \definefontsynonym [Sans] [MyriadPro-Regular] [features=historic] \definefontsynonym [SansBold] [MyriadPro-Bold] [features=historic] \definefontsynonym [SansItalic] [MyriadPro-Italic] [features=historic] \definefontsynonym [SansBoldItalic] [MyriadPro-BoldItalic] [features=historic] \definefontsynonym [SansCaps] [Sans] [features=latin-smallcaps] \stoptypescript %%% Then i've got this in the file i want to typeset %%% \def\sc{\setfontfeature{smallcaps}} \definefontfeature [default][default] [protrusion=quality,expansion=quality,mode=node,script=latn] \definefontfeature [oldstyle][default] [protrusion=quality,expansion=quality,mode=node,script=latn,onum=yes] \definefontfeature [smallcaps][default] [protrusion=quality,expansion=quality,mode=node,script=latn,smcp=yes] \usetypescript [serif] [hanging] [pure] \setupalign [hanging] \usetypescriptfile[type-folio] \definetypeface[mainface][rm][serif][minionpro] [default] [features=default] \definetypeface[mainface][ss][sans][myriadpro] [default] [features=default] \definetypeface [mainface] [mm] [math] [palatino] [default] [encoding=texnansi] \setupbodyfont[mainface,12.5pt] \setfontfeature{oldstyle} ... text %%% xetex %%% \definefontfeature[default][deault][script=latn,onum=yes] \definetypeface[myface][rm][Xserif][Minion Pro] \definetypeface[myface][ss][Xsans][Myriad Pro] \definetypeface[myface][tt][Xmono][Consolas] \setupbodyfont[myface, 12pt] ... text Fengnan Gao wrote: Hi all, I'm learning how to use ConTeXt recently, and I find difficulty using Minion Pro, which can be fully accessed using XeTeX. Here is how I use Minion Pro, and as far as I can see, there is no problem with the setup. \starttypescript[all][myfont][name] \definefontsynonym[Minion][MinionPro-Regular] \definefontsynonym[MinionBold][MinionPro-Bold] \definefontsynonym[MinionItalic][MinionPro-It] \definefontsynonym[MinionBoldItalic][MinionPro-BoldIt] \definefontsynonym[Myriad][MyriadPro-Regular] \definefontsynonym[MyriadBold][MyriadPro-Bold] \definefontsynonym[MyriadItalic][MyriadPro-It] \definefontsynonym[MyriadBoldItalic][MyriadPro-BoldIt] \stoptypescript \definefontfeature[minion][language=dflt, script=latn, mode=node, frac=yes, onum=yes, kern=yes, liga=yes, dlig=yes, protrusion=quality, expansion=quality] \definefontfeature[minionsmcp][language=dflt, script=latn, mode=node, frac=yes, onum=yes, kern=yes, liga=yes, dlig=yes, smcp=yes, protrusion=quality, expansion=quality] \definefontfeature[myriad][language=dflt, script=latn, mode=node, frac=yes, onum=yes, kern=yes, liga=yes, zero=yes, protrusion=quality, expansion=quality] \starttypescript[serif][myfont][name] \definefontsynonym[Serif][Minion][features=minion] \definefontsynonym[SerifBold][MinionBold][features=minion] \definefontsynonym[SerifItalic][MinionItalic][features=minion]
Re: [NTG-context] looking for equivalence to LaTeX algorithm package
Maybe you could typeset the page with (Xe)LaTeX and include the pdf as page in your ConTeXt doc. Zhaopeng Xing wrote: Hi, Does anyone know how to describe algorithm procedures in similar way as LaTeX algorithmic and algorithm packages? I tried to search it on wiki but found nothing. Thanks. -- Zhaopeng XING Tinbergen Institute ___ 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 + BibTeX problem
1. Using \completepublications[criterium=all] produces the error message; title : - References ! Missing } inserted. inserted text } to be read again \dostopattributes argument ...cation {shapley_cores_1974}\strut }} \egroup \ifdim \wd 4=\zero... \secondoftwoarguments #1#2-#2 \dosomelistelement ...hss \dostoplistattributes }} \endgraf \nointerlineskip ... \dodolistelement ...ement {#1}{#2}{#3}{#4}{#5}{#6} \global \utilitydonetrue ... l.38 \completepublications[criterium=all] ? I was using ConTeXt ver: 2008.10.31 13:58 MKIV fmt: 2008.11.2 int: english/english then I update to ConTeXt ver: 2008.11.30 14:39 MKIV fmt: 2008.12.1 int: english/english But the problem still persists. 2. Compiling with the following using \completepublications and \subsubject{Top trading procedures} or \subsection{Top trading procedures}; context testfile.tex It comes out as; This is the housing market introduced by Xx (). and the 'References' is empty. Instead of; This is the housing market introduced by Shapley and Scarf (1974). Why? 3. Taco, could you please include a minimal example of using bibtex in your bibmod-doc.pdf file please, much like what Guilherme has done. It'll probably be a good idea to include about 3 references. 4. Why is the [criterium=all] parameter needed? %%% testfile.tex %%% % engine=luatex \enableregime [utf-8] \mainlanguage[uk] \language[uk] \usemodule[bib] \setupbibtex[database={./references}] \setuppublications[refcommand=authoryear,sorttype=cite]%, sort=author] \starttext \cite{shapley_cores_1974} \completepublications[criterium=all] \stoptext %%% references.bib - same as Guilherme's %%% -- references.bib -- @article{shapley_cores_1974, title = {On cores and indivisibility}, volume = {1}, journal = {Journal of Mathematical Economics}, author = {Lloyd Shapley and Herbert Scarf}, month = mar, year = {1974}, pages = {23--37} } Taco Hoekwater wrote: Guilherme P. de Freitas wrote: then everything works: the citation appears correctly *and* the reference appears in the References list. I don't know why. Any ideas? Yes. Change this line \completepublications to \completepublications[criterium=all] Best wishes, Taco ___ 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 + BibTeX problem
Hi Taco, 1. How do I get coloured citations? E.g., \cite[jacky:critial] should produce a coloured link. 2. If is possible to get the list of pages an item was cited at? I'm sure LaTeX could do this. E.g., Jacky, J., 1995. “Specifying a safety-critical control system in z”, in IEEE Trans. Softw. Eng., Volume 21, Number 2, pages 99–106. Page(s) 1,2,...n. Thanks Taco Hoekwater wrote: Guilherme P. de Freitas wrote: Hi, Taco Yes, that worked! I tried to find documentation about \completepublications on the wiki and on the documents at articles.contextgarden.net (looking at titles, and searching the main Pragma-ADE manuals), but I didn't find any. Actually, it is not the first time that I can't find the desired documentation. Where can I find it? Is it somehwere in the sources? The bibliography module has its own manual. There is a link here: http://modules.contextgarden.net/bib but it is probably on your harddisk already as context/doc/context/bib/bibmod-doc.pdf Best wishes, Taco ___ 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] Centering the page
anyone? Mohamed Bana wrote: %%% Document %%% % engine=luatex \enableregime [utf-8] \mainlanguage[uk] \language[uk] \setuppapersize [A4] [A4] \showframe %\showlayout %\setuplayout[width=middle] \setupwhitespace [medium] \starttext \input knuth \input zapf \input tufte \stoptext Look at http://filebin.ca/rzjruz/test.pdf or http://filebin.ca/rzjruz, you'll notice a reasonably sized gap on the right hand side, how do I get rid of it? The work around seems to be \setuplayout[width=middle] But this isn't want I want as the width of the text betters slightly bigger, see; http://filebin.ca/ttufjc/test.pdf or http://filebin.ca/ttufjc . Thanks ___ 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] Centering the page
Thanks, but that's not what I had in mind. Look at the right edge of the pdf (http://filebin.ca/rzjruz/test.pdf or http://filebin.ca/rzjruz) there's a gap - about 1/2 a centimetres - which isn't on the left side. It doesn't look uniform. Wolfgang Schuster wrote: On Thu, Nov 27, 2008 at 1:17 PM, Mohamed Bana [EMAIL PROTECTED] wrote: anyone? \setuplayout [backspace=8cm, width=middle] Wolfgang Mohamed Bana wrote: %%% Document %%% % engine=luatex \enableregime [utf-8] \mainlanguage[uk] \language[uk] \setuppapersize [A4] [A4] \showframe %\showlayout %\setuplayout[width=middle] \setupwhitespace [medium] \starttext \input knuth \input zapf \input tufte \stoptext Look at http://filebin.ca/rzjruz/test.pdf or http://filebin.ca/rzjruz, you'll notice a reasonably sized gap on the right hand side, how do I get rid of it? The work around seems to be \setuplayout[width=middle] But this isn't want I want as the width of the text betters slightly bigger, see; http://filebin.ca/ttufjc/test.pdf or http://filebin.ca/ttufjc . Thanks ___ 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 ___
[NTG-context] Centering the page
%%% Document %%% % engine=luatex \enableregime [utf-8] \mainlanguage[uk] \language[uk] \setuppapersize [A4] [A4] \showframe %\showlayout %\setuplayout[width=middle] \setupwhitespace [medium] \starttext \input knuth \input zapf \input tufte \stoptext Look at http://filebin.ca/rzjruz/test.pdf or http://filebin.ca/rzjruz, you'll notice a reasonably sized gap on the right hand side, how do I get rid of it? The work around seems to be \setuplayout[width=middle] But this isn't want I want as the width of the text betters slightly bigger, see; http://filebin.ca/ttufjc/test.pdf or http://filebin.ca/ttufjc . Thanks ___ 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] Testing the build
Hi, Do the developers run the trunk against a set of test cases? For instance, testing the new release against files that compile successfully under the current stable release? I ask as I often see people complain that the new beta isn't working and so forth. ___ 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] questions about Aditya's thesis
Hello everyone, Here's the link to his thesis; http://www.eecs.umich.edu/~adityam/publications/thesis/thesis.tar.gz 1. Is this the new official syntax? \chapter[chap:01] Introduction \section Motivation 2. How do I enabled colour links for the bibliography citations? I've tried - You'll have to move/delete t-bib.tex if you're running a recent ver. of the minimals to get the the doc to compile. % env-thesis.tex lines 289-291 \setupinteraction[state=start,style=,color=] \setupinteraction[focus=standard] \placebookmarks [chapter,section][chapter] and % line 3, macros.tex \setupcolors[state=start] % line 8, macros.tex \setupcite [interaction=start, compress=no,color=] %darkgreen] Yet the links are still in black. Here's the pdf; http://filebin.ca/mzxxpc/thesis.pdf or http://filebin.ca/mzxxpc 3. The entries in bibliography outflow into the margins; pages 23 onwards. I don't mind if the line contains huge gaps as long as the entries don't flow into the margins. 4. How do I decrease the linespacing? Don't you agree with Minion Pro it doesn't look as good as with Palatino. Mohamed ___ 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 MkIV and texlive2008
I put the following in my .bashrc; alias contextstart='. ~/context-minimals/tex/setuptex ~/context-minimals/tex' And when I wish to compile a document; $ contextstart Setting /home/mbana/context-minimals/tex as TEXROOT. $ texexec file.tex MkIV should work out of the box with texlive 2008, I gave up last time I tried. Mohamed Marcin Borkowski wrote: Hi, assume I've done everything as told on the wiki, so that MkIV works in texlive2008. Assume that I used the tl package manager to upgrade ConTeXt. Do I have something more to do in order to use it (e.g., run luatools --generate or context --make or both once again)? Greets ___ 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] PhD Thesis in ConTeXt
Hi Aditya, I've tried compiling your thesis. It failed with; texmfstart texexec thesis.tex TeXExec | processing document 'thesis.tex' TeXExec | no ctx file found TeXExec | tex processing method: context TeXExec | TeX run 1 TeXExec | writing option file thesis.top TeXExec | using randomseed 104 TeXExec | tex engine: luatex TeXExec | tex format: cont-en (thesis.tex ConTeXt ver: 2008.09.16 15:06 MKIV fmt: 2008.9.16 int: english/english language : language en is active system : cont-new loaded (C:/context/tex/texmf-local/tex/context/base/cont-new.tex systems : beware: some patches loaded from cont-new.tex (C:/context/tex/texmf-local/tex/context/base/cont-new.mkiv lua: used config path - C:/context/tex/texmf/web2c/texmf.cnf lua: used cache path - C:/context/tex/texmf-cache/luatex-cache/context/2fea56f92e5267d7cc9662e4d5f52e1e ) (C:/context/tex/texmf-local/tex/context/base/cont-mtx.tex)) system : cont-old loaded (C:/context/tex/texmf-local/tex/context/base/cont-old.tex loading: Context Old Macros ) system : cont-fil loaded (C:/context/tex/texmf-local/tex/context/base/cont-fil.tex loading: Context File Synonyms ) system : cont-sys loaded (C:/context/tex/texmf-context/tex/context/user/cont-sys.tex (C:/context/tex/texmf-local/tex/context/base/type-tmf.tex) (C:/context/tex/texmf-local/tex/context/base/type-siz.tex) (C:/context/tex/texmf-local/tex/context/base/type-otf.tex)) bodyfont : 12pt rm is loaded specials : tex loaded system : thesis.top loaded (thesis.top specials : loading definition file tpd (C:/context/tex/texmf-local/tex/context/base/spec-tpd.tex specials : loading definition file fdf (C:/context/tex/texmf-local/tex/context/base/spec-fdf.tex (C:/context/tex/texmf-local/tex/context/base/spec-fdf.mkiv)) specials : fdf loaded (C:/context/tex/texmf-local/tex/context/base/spec-tpd.mkiv)) specials : fdf loaded ) (thesis.tuo) (thesis.tuo) systems: begin file thesis at line 2 systems: begin file env-thesis at line 4 (env-thesis.tex system : module abr-aditya not found system : module bib loaded (t-bib.tex publications : loading formatting style from bibl-apa (C:/context/tex/texmf-local/tex/context/bib/bibl-apa.tex) publications : loading database from thesis.bbl (thesis.bbl)) system : module ctags not found publications : loading formatting style from bibl-ssa (bibl-ssa.tex) (C:/context/tex/texmf-local/tex/context/base/type-tmf.tex) (C:/context/tex/texmf-local/tex/context/base/type-siz.tex) (C:/context/tex/texmf-local/tex/context/base/type-otf.tex) (C:/context/tex/texmf-local/tex/context/base/type-tmf.tex) (C:/context/tex/texmf-local/tex/context/base/type-siz.tex) (C:/context/tex/texmf-local/tex/context/base/type-otf.tex) (delicious.tex (C:/context/tex/texmf-local/tex/context/base/type-tmf.tex) (C:/context/tex/texmf-local/tex/context/base/type-siz.tex) (C:/context/tex/texmf-local/tex/context/base/type-otf.tex) (delicious.tex) (C:/context/tex/texmf-local/tex/context/base/type-tmf.tex) (C:/context/tex/texmf-local/tex/context/base/type-siz.tex) (C:/context/tex/texmf-local/tex/context/base/type-otf.tex) (delicious.tex)) system : module mathsets not found ! Undefined control sequence. recently read \definemathset l.377 \definemathset [EXP] [text={\doublestroke{E}}] ? I removed the following from env-thesis.tex; \definetypeface [mainface] [rm] [serif] [palatino] [default] [features=default] \definetypeface [mainface] [ss] [sans] [delicious] [default] [features=default, rscale=1.1] \definetypeface [mainface] [tt] [mono] [modern] [default] [features=default, rscale=1.1] \definetypeface [mainface] [mm] [math] [palatino] [default] [encoding=texnansi] %\definetypeface [mainface] [mm] [math] [euler] [euler] [encoding=texnansi, rscale=1.03] \setupbodyfont[mainface,12pt] Thanks Mohamed Aditya Mahajan wrote: On Tue, 21 Oct 2008, Piotr wrote: Hello, I have spent some time with google in order to find an answer to the following questions. Unfortunatly, I was not satisfied with the answers, which I now hope to find here. It is my plan not to use the MS Office suite for the production of my PhD thesis (in chemistry). I have used Miktex some years ago during my studies for some project reports, and I remember beeing quite satisfied with the results. My Master thesis, on the other hand, I wrote in word.. and although I remember not having too many difficulties, there were some nasty obstacles to be overcome. Obstacles which I simply do not want to risk having repeated a second time on a much bigger scale. I this mailing list I read several reports of people who either had written their thesis in Latex or ConTeXt. There was a mention of Latex beeing designed for mathematic purposes, while ConTeXt was said to be better suited for the intergration of graphics or