Re: [NTG-context] Latest beta, missing stmary10 while loading fallback modern
Sorry to bring this up again, but something looks wrong with the deletion of the stmary10 fonts from the minimals tree, as the fonts seem to be called in 2 places: ./tex/texmf-context/tex/context/base/s-map-10.mkiv ./tex/texmf-context/tex/context/fonts/lm-math.lfg but stmary10.afm doesn't exist any more in the tree. I searched the mail archive without success about the deletion of the fonts. Minimal example: \setupbodyfont[11pt,libertine] \starttext test \stoptext Log message: fontsfallback modern mm 11pt is loaded fontsdefining forced type afm of stmary10 not found fontsdefining font with asked name 'stmary10' is not found using lookup 'file' fontsvirtual math unable to resolve name mapsfromchar fontsdefining forced type afm of stmary10 not found fontsdefining font with asked name 'stmary10' is not found using lookup 'file' fontsdefining forced type afm of stmary10 not found fontsdefining font with asked name 'stmary10' is not found using lookup 'file' Using mkiv with version 2011.04.20 Bests -- Marco ___ 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] Latest beta, missing stmary10 while loading fallback modern
Hello there. Given the following minimal example: \setupbodyfont[11pt,libertine] \starttext test \stoptext (where the libertine don't have the math fonts) In the logs I found the following problems: fontsfallback modern mm 11pt is loaded fontsdefining forced type afm of stmary10 not found fontsdefining font with asked name 'stmary10' is not found using lookup 'file' fontsvirtual math unable to resolve name mapsfromchar fontsdefining forced type afm of stmary10 not found fontsdefining font with asked name 'stmary10' is not found using lookup 'file' fontsdefining forced type afm of stmary10 not found fontsdefining font with asked name 'stmary10' is not found using lookup 'file' While I was updating the minimals I noticed the deletion of stmary10. Until April 3rd this problem (even if so far I didn't encounter compilation errors) wasn't present. Best regards (and cheers for the release of luatex 0.66) -- Marco ___ 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] Typesetting url's in ConTeXt?
Aditya Mahajan adit...@umich.edu writes: On Sun, 10 Apr 2011, Alasdair McAndrew wrote: There's a wiki page all about typesetting url's, but I can't seem to get them to work. All I want to do is to display a url in a typewriter font, for document printing - I don't need a live link. What I want is for the output to be similar to that provided by LaTeX's url package, so that, for example: \url{https://This_is_a_url.html} would be appropriately typeset, including all such ascii characters as underscores. What's the canonical way to do this? \hyphenatedurl{} Aditya Try this: \setupinteraction[state=start] \starttext \goto{\hyphenatedurl{http://domain.tdl:/id=15ln=test\letterpercent 20_test\#2}}[url(http://domain.tdl:/id=15ln=test\%20_test\#2)] \stoptext IIRC there has been a discussion about the percent (%) in url, so maybe this workaround isn't needed anymore. Anyway, this is what I usually use. -- Marco ___ 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] Fonts in ConTeXt is now available from boekplan.com
Taco Hoekwater t...@elvenkind.com writes: After some delays, thankfully the book Fonts in ConTeXt is now finally available for immediate ordering. Due to the high costs of shipping and bank payment, could you tell me if the book Layouts in ConTeXt will be out as scheduled in a month (so I'll wait to buy them both, saving some logistic money)? As always, thanks for all you do. Bests -- Marco ___ 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] Latest beta: Can't compile a document with lists (with no math fonts)
I think the same happened some time ago when the not-loading (horrible word, my english is rotting) of Latin Modern was still an experimental feature. Anyway, minimal example: start \usetypescript[libertine] \setupbodyfont[libertine,10pt] \starttext \startitemize[1] \item fail \stopitemize \stoptext %%% stop %%% It compiles just fine commenting the first 2 lines or with ConTeXt version 2011.01.26 09:01 While with the latest 2011.02.18 ! Math error: parameter \Umathquad\displaystyle is not set. system tex error on line 8 in file fail.tex: Math error: parameter \Umathquad\displaystyle is not set ... 1 \usetypescript[libertine] 2 \setupbodyfont[libertine,10pt] 3 4 \starttext 5 6 \startitemize[1] 7 8 \item fail 9 10 \stopitemize 11 12 \stoptext \mathematics ...rmalstartimath #1\normalstopimath \fi \dodosymbol ...bol \csname \??ss :#1:#2\endcsname \relax }\relax \donormalsymbol ...bol \redosymbol \currentsymbol \fi \fi \dodosymbol ...bol \csname \??ss :#1:#2\endcsname \relax }\relax \donormalsymbol ...bol \redosymbol \currentsymbol \fi \fi to be read again } ... l.8 \item f ail ? Sorry, but I can't typeset math unless various parameters have been set. This is normally done by loading special math fonts into the math family slots. Your font set is lacking at least the parameter mentioned earlier. Best wishes -- Marco ___ 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] TTF fonts and MKIV
John Culleton j...@wexfordpress.com writes: Is there a short, simple guide somewhere that shows how to use TTF and OTF fonts in Context? I downloaded the new Fonts chapter but it goes deep into the weeds on typescripts etc. I am looking for a method that allows me to do in Context what I can already do in most other DTP programs: simply designate for use a font or font family that exists in /usr/share/fonts without typescripts, complex and confusing aliasing schemes or tfm files. http://wiki.contextgarden.net/Fonts_in_LuaTex -- Marco ___ 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] new beta
Hans Hagen pra...@wxs.nl writes: On 25-1-2011 9:18, Marco Pessotto wrote: Hans Hagenpra...@wxs.nl writes: - If you are adventurous you can add the following to cont-new.mkiv \enablemode[*nofonts] This will postpone font loading and will be default soon. This saves runtime when you use another font than latin modern. When no font is loaded before the first \starttext, modern will kick in. A side effect is that any text typeset before \starttext will not show up in the output. If you observe that, you need to setup a bodyfont explicitly beforehand. In practice there should be no problems. The delayed loading is somewhat tricky but has been tested for a while. If felt adventurous and I found the following problem: new beta that checks for math and mono being loaded and if not it loads modern fallbacks Works here. Thanks -- Marco ___ 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] new beta
Hans Hagen pra...@wxs.nl writes: - If you are adventurous you can add the following to cont-new.mkiv \enablemode[*nofonts] This will postpone font loading and will be default soon. This saves runtime when you use another font than latin modern. When no font is loaded before the first \starttext, modern will kick in. A side effect is that any text typeset before \starttext will not show up in the output. If you observe that, you need to setup a bodyfont explicitly beforehand. In practice there should be no problems. The delayed loading is somewhat tricky but has been tested for a while. If felt adventurous and I found the following problem: minimal example \usetypescript[libertine] \setupbodyfont[libertine,12pt] \starttext \startitemize[1] \item one \item two \stopitemize \stoptext end It fails because itemize seems to require some math characters (the bullets) and the libertine font seems not to have them. lmodern don't kick in, it just fails: ! Math error: parameter \Umathquad\displaystyle is not set. \mathematics ...rmalstartimath #1\normalstopimath \fi \dodosymbol ...bol \csname \??ss :#1:#2\endcsname \relax }\relax \donormalsymbol ...bol \redosymbol \currentsymbol \fi \fi \dodosymbol ...bol \csname \??ss :#1:#2\endcsname \relax }\relax \donormalsymbol ...bol \redosymbol \currentsymbol \fi \fi to be read again } ... l.7 \item o ne ? Bests and thanks for all your work -- Marco ___ 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] new beta
Andreas Harder ahar...@uni-koblenz.de writes: Am 25.01.2011 um 21:18 schrieb Marco Pessotto: Hans Hagen pra...@wxs.nl writes: - If you are adventurous you can add the following to cont-new.mkiv \enablemode[*nofonts] This will postpone font loading and will be default soon. This saves runtime when you use another font than latin modern. When no font is loaded before the first \starttext, modern will kick in. A side effect is that any text typeset before \starttext will not show up in the output. If you observe that, you need to setup a bodyfont explicitly beforehand. In practice there should be no problems. The delayed loading is somewhat tricky but has been tested for a while. If felt adventurous and I found the following problem: minimal example \usetypescript[libertine] \setupbodyfont[libertine,12pt] \starttext \startitemize[1] \item one \item two \stopitemize \stoptext end It fails because itemize seems to require some math characters (the bullets) and the libertine font seems not to have them. lmodern don't kick in, it just fails: Works for me with the latest minimals. For Libertine bullets you can use the following: \setupbodyfont[libertine] \definesymbol[1][•] % otherwise LMMathSymbols10-Regular \starttext \startitemize \item one \item two \stopitemize \stoptext Greeting Andreas Just to be sure I've updated the Minimals, but with \enablemode[*nofonts] in cont-new.mkiv it fails. I don't need a workaround, because I can comment out the *nofonts in the cont-new.mkiv (which was added by myself). I was just reporting a problem, as asked (IIRC). $ context prova.tex MTXrun | run 1: luatex --fmt=/home/melmoth/usr/context/tex/texmf-cache/luatex-cache/context/161a8cd09bbec9213c251f73843e59e3/formats/cont-en --lua=/home/melmoth/usr/context/tex/texmf-cache/luatex-cache/context/161a8cd09bbec9213c251f73843e59e3/formats/cont-en.lui --backend=pdf ./prova.texThis is LuaTeX, Version beta-0.65.0-2010121316 \write18 enabled. (prova.tex jobcontrol resuming randomizer with 0.71793062133618 ConTeXt ver: 2011.01.25 13:17 MKIV fmt: 2011.1.25 int: english/english system : cont-new.mkiv loaded (/home/melmoth/usr/context/tex/texmf-context/tex/context/base/cont-new.mkiv systems : beware: some patches loaded from cont-new.mkiv ) system : prova.top loaded (prova.top) fonts : latin modern fonts are not preloaded language: language en is active (/home/melmoth/usr/context/tex/texmf-context/tex/context/base/type-siz.mkiv) (/home/melmoth/usr/context/tex/texmf-context/tex/context/base/type-otf.mkiv){/home/melmoth/usr/context/tex/texmf-context/fonts/map/pdftex/context/mkiv-base.map} systems : begin file prova.tex at line 5 ! Math error: parameter \Umathquad\displaystyle is not set. \mathematics ...rmalstartimath #1\normalstopimath \fi \dodosymbol ...bol \csname \??ss :#1:#2\endcsname \relax }\relax \donormalsymbol ...bol \redosymbol \currentsymbol \fi \fi \dodosymbol ...bol \csname \??ss :#1:#2\endcsname \relax }\relax \donormalsymbol ...bol \redosymbol \currentsymbol \fi \fi to be read again } ... l.7 \item o ne ? ? Type return to proceed, S to scroll future error messages, R to run without stopping, Q to run quietly, I to insert something, E to edit your file, 1 or ... or 9 to ignore the next 1 to 9 tokens of input, H for help, X to quit. ? X mkiv lua stats : used config file - /home/melmoth/usr/context/tex/texmf/web2c/texmfcnf.lua mkiv lua stats : used cache path - /home/melmoth/usr/context/tex/texmf-cache/luatex-cache/context/161a8cd09bbec9213c251f73843e59e3 mkiv lua stats : input load time - 0.015 seconds mkiv lua stats : stored bytecode data - 265 modules, 56 tables, 321 chunks mkiv lua stats : cleaned up reserved nodes - 30 nodes, 9 lists of 412 mkiv lua stats : node memory usage - 1 hlist, 1 math, 2 glue, 1 noad, 1 math_char, 19 attribute, 20 glue_spec, 4 attribute_list, 2 temp, 7 if_stack, 1 local_par, 3 dir mkiv lua stats : node list callback tasks - 6 unique task lists, 2 instances (re)created, 1773 calls mkiv lua stats : used backend - pdf (backend for directly generating pdf output) mkiv lua stats : loaded patterns - en::2 mkiv lua stats : callbacks - direct: 1788, indirect: 2937, total: 4725 mkiv lua stats : result saved in file - prova.pdf mkiv lua stats : loaded fonts - 1 files: fxlr.otf mkiv lua stats : fonts load time - 0.101 seconds mkiv lua stats : luatex banner - this is luatex, version beta-0.65.0-2010121316 mkiv lua stats
Re: [NTG-context] new beta
Aditya Mahajan adit...@umich.edu writes: On Tue, 25 Jan 2011, Marco Pessotto wrote: Hans Hagen pra...@wxs.nl writes: - If you are adventurous you can add the following to cont-new.mkiv \enablemode[*nofonts] This will postpone font loading and will be default soon. This saves runtime when you use another font than latin modern. When no font is loaded before the first \starttext, modern will kick in. A side effect is that any text typeset before \starttext will not show up in the output. If you observe that, you need to setup a bodyfont explicitly beforehand. In practice there should be no problems. The delayed loading is somewhat tricky but has been tested for a while. If felt adventurous and I found the following problem: minimal example \usetypescript[libertine] \setupbodyfont[libertine,12pt] \starttext \startitemize[1] \item one \item two \stopitemize \stoptext end Can you test if \setupbodyfont[libertine,12pt] \starttext $ABC \bullet \star$ \stoptext also fails? Yes. Full log here melmoth@universe:/tmp$ context --version MTXrun | main context file: /home/melmoth/usr/context/tex/texmf-context/tex/context/base/context.mkiv MTXrun | current version: 2011.01.25 13:17 melmoth@universe:/tmp$ cat prova.tex minimal example \usetypescript[libertine] \setupbodyfont[libertine,12pt] \starttext $ABC \bullet \star$ \stoptext end melmoth@universe:/tmp$ context prova.tex MTXrun | run 1: luatex --fmt=/home/melmoth/usr/context/tex/texmf-cache/luatex-cache/context/161a8cd09bbec9213c251f73843e59e3/formats/cont-en --lua=/home/melmoth/usr/context/tex/texmf-cache/luatex-cache/context/161a8cd09bbec9213c251f73843e59e3/formats/cont-en.lui --backend=pdf ./prova.texThis is LuaTeX, Version beta-0.65.0-2010121316 \write18 enabled. (prova.tex jobcontrol resuming randomizer with 0.71793062133618 ConTeXt ver: 2011.01.25 13:17 MKIV fmt: 2011.1.25 int: english/english system : cont-new.mkiv loaded (/home/melmoth/usr/context/tex/texmf-context/tex/context/base/cont-new.mkiv systems : beware: some patches loaded from cont-new.mkiv ) system : prova.top loaded (prova.top) fonts : latin modern fonts are not preloaded language: language en is active (/home/melmoth/usr/context/tex/texmf-context/tex/context/base/type-siz.mkiv) (/home/melmoth/usr/context/tex/texmf-context/tex/context/base/type-otf.mkiv){/home/melmoth/usr/context/tex/texmf-context/fonts/map/pdftex/context/mkiv-base.map} systems : begin file prova.tex at line 4 ! Math error: parameter \Umathquad\displaystyle is not set. l.5 $ABC \bullet \star$ ? ? Type return to proceed, S to scroll future error messages, R to run without stopping, Q to run quietly, I to insert something, E to edit your file, 1 or ... or 9 to ignore the next 1 to 9 tokens of input, H for help, X to quit. ? H Sorry, but I can't typeset math unless various parameters have been set. This is normally done by loading special math fonts into the math family slots. Your font set is lacking at least the parameter mentioned earlier. ? X mkiv lua stats : used config file - /home/melmoth/usr/context/tex/texmf/web2c/texmfcnf.lua mkiv lua stats : used cache path - /home/melmoth/usr/context/tex/texmf-cache/luatex-cache/context/161a8cd09bbec9213c251f73843e59e3 mkiv lua stats : input load time - 0.015 seconds mkiv lua stats : stored bytecode data - 265 modules, 56 tables, 321 chunks mkiv lua stats : cleaned up reserved nodes - 30 nodes, 9 lists of 412 mkiv lua stats : node memory usage - 1 hlist, 1 math, 1 glue, 5 noad, 5 math_char, 57 attribute, 18 glue_spec, 10 attribute_list, 1 temp, 1 local_par, 2 dir mkiv lua stats : node list callback tasks - 6 unique task lists, 2 instances (re)created, 1767 calls mkiv lua stats : used backend - pdf (backend for directly generating pdf output) mkiv lua stats : loaded patterns - en::2 mkiv lua stats : callbacks - direct: 1782, indirect: 2932, total: 4714 mkiv lua stats : result saved in file - prova.pdf mkiv lua stats : loaded fonts - 1 files: fxlr.otf mkiv lua stats : fonts load time - 0.102 seconds mkiv lua stats : luatex banner - this is luatex, version beta-0.65.0-2010121316 mkiv lua stats : control sequences - 29324 of 165536 mkiv lua stats : current memory usage - 18 MB (ctx: 19 MB) mkiv lua stats : runtime - 14.364 seconds Seems like a bug. If no math typescripts are defined, the fallback should have been loaded. (In any case, the libertine typescript should use either txfonts or perhaps xits as the default math fonts). Aditya Cheers -- Marco ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg
[NTG-context] Imposition with signatures (pdfpages/psbook emulation -- kind of announce)
Hello there. I deal very often with imposition, useful for zinesters and to create home-made booklets. ConTeXt by itself seems not to manage signatures, i.e., given a text long 200 pages, it should be imposed in smaller booklets of 50 pages each. (Or at least I didn't find anything about it) At the beginning I was using psbook. But this requires a slow processing (pdf - ps; psbook ; ps - pdf). Then I found out that pdfpages does the same thing (and better), and started using that. Now that I switched to ConTeXt, I found that I cannot use pdfpages without a latex installation. So I wrote a script and a module to do the same thing without having to install texlive. It uses MkIV and lua. The code is stored at http://gitorious.org/the-anarchist-library-tools/the-anarchist-library-tools/trees/master/context-imposition A minimal example and (minimal) documentation is provided. The code does basically 2 things: 1) the module, using the \alibraryflushpages commands, fills the output pdf (not imposed) with white pages, until it reach a “good” number, multiple of 4. The signature is calculated at runtime, so you can specify a minimum or a maximum (depends on your staple, if you can trim the paper, and so on). E.g., if the original pages are 128, no problem, the signature is 64 (16 sheets) and you can impose it without problems. But, if the original pages are 129, the optimal signature is 44, so the module will add 3 pages during the PDF compiling. 2) the perl script (which uses only standard perl libraries) creates a temporary context file, gets the number of signatures provided by the module (or passed as option if only the imposition is required against a pdf without tex sources), and does the actual imposing (the algorithm is taken from the psbook sources (the same used by pdfpages), including the pages in the right order. I'm not a real programmer, so it's a piece of spaghetti code. But seems to work. I'm posting this here because it's aimed to people that use the Minimals only, as TeXLive already ships pdfpages, psbook and pdfpages to do the same thing. (Well, the signature is not calculated on the fly by these tools). *If* there are people interested, I'd like to clean it up, improve it, document it a bit better and so on. If not, well, sorry for the noise. Bests -- Marco ___ 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] Natural tables (split) + setupinteraction = fail? (latest mkiv)
Hello there. See the following minimal example: begin \setupinteraction[state=start,color=black,contrastcolor=black] \starttext \placetable[split]{Test} {\bTABLE[split=yes] \dorecurse{60}{ \bTR \bTD hello \eTD \eTR } \eTABLE} \stoptext end % If I try to compile it, I get the following error: pagesflushing realpage 1, userpage 1, subpage 1 ! Missing number, treated as zero. to be read again { \docompletefloat ...\vbox \floatcaptionattribute { \doifelsemainfloatbody \cu... argument ...loat {table}{}{split}{Test}\nextbox \else \docompletefloat {ta... \thirdofthreearguments #1#2#3-#3 \xdocompletefloat ...afloat ,#3}{#4}\nextbox \fi } \else \docompletefloat {#1... \dodowithnextbox ...tefloat {table}{}{split}{Test} \doifnotinset \v!text {spl... ... l.11 \eTABLE } ? The same source compiles as expected with version 2010.12.15 (ok, there was the bug for the numbering, but it compiled). Bests -- Marco ___ 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] What's the proper way to typeset a slash in a text flow?
Hans Hagen pra...@wxs.nl writes: On 21-12-2010 1:04, Marco Pessotto wrote: Is this going to happen or there are serious reasons not to have it as default? The problem with automatisms is that they need a lot of testing and have the disadvantage that when one is unaware of it and doesn't want its effects it can take ages to conclude that the automatism is doing the unexpected thing. Thanks for your answer I see and understand your point, and you're (obviously) right. I've updated this: http://wiki.contextgarden.net/Composed_words \setbreakpoints[compounds] will set as breakpoint - + / ( and ) Is it correct? (I've looked in the source, but just to be sure). Bests -- Marco ___ 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] What's the proper way to typeset a slash in a text flow?
Hans Hagen pra...@wxs.nl writes: On 21-12-2010 12:34, Marco Pessotto wrote: See the following minimal example (I'm not trying to typeset urls or filesystem paths in this way, just regular text): \def\myslash{/\penalty-5000} \starttext \type{/} {\bfd Love/Hate/Play/Love/Hate/Play/Love/Hate/Play/Love/Hate/Play} \type{\slash} {\bfd Love\slash Hate\slash Play\slash Love\slash Hate\slash Play\slash Love\slash Hate\slash Play\slash Love\slash bla|/|bla Thanks! -- Marco ___ 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] What's the proper way to typeset a slash in a text flow?
Wolfgang Schuster schuster.wolfg...@googlemail.com writes: Am 21.12.2010 um 00:34 schrieb Marco Pessotto: See the following minimal example (I'm not trying to typeset urls or filesystem paths in this way, just regular text): \def\myslash{/\penalty-5000} \starttext \type{/} {\bfd Love/Hate/Play/Love/Hate/Play/Love/Hate/Play/Love/Hate/Play} \type{\slash} {\bfd Love\slash Hate\slash Play\slash Love\slash Hate\slash Play\slash Love\slash Hate\slash Play\slash Love\slash Hate\slash Play} \type{\textslash} {\bfd Love\textslash Hate\textslash Play\textslash Love\textslash Hate\textslash Play\textslash Love\textslash Hate\textslash Play\textslash Love\textslash Hate\textslash Play} \type{\myslash} {\bfd Love\myslash Hate\myslash Play\myslash Love\myslash Hate\myslash Play\myslash Love\myslash Hate\myslash Play\myslash Love\myslash Hate\myslash Play} \stoptext Neither one of the first three solutions above give me the right thing, because the line won't break at /. What am I missing? A workaround seems to be \def\myslash{/\penalty-5000} and then using \myslash instead of \slash, but I'm pretty sure I'm not doing this right. MkIV: \setbreakpoints[compound] Ah, that's odd, because I've already defined that and I didn't realize it fixed the problem (but I was used to type \slash from LaTeX, breaking the typesetting). This \setbreakpoints looks like a panacea to me (it already fixed the hyphen issue some weeks ago, but I didn't know it fixed the slash too). I'm thinking how to make this information more accessible (because from my point of view hate/love is not a compound word) on the wiki. I found this in cont-new.mkiv % potential new defaults: \setbreakpoints[compound] Is this going to happen or there are serious reasons not to have it as default? Thanks again -- Marco ___ 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] What's the proper way to typeset a slash in a text flow?
See the following minimal example (I'm not trying to typeset urls or filesystem paths in this way, just regular text): \def\myslash{/\penalty-5000} \starttext \type{/} {\bfd Love/Hate/Play/Love/Hate/Play/Love/Hate/Play/Love/Hate/Play} \type{\slash} {\bfd Love\slash Hate\slash Play\slash Love\slash Hate\slash Play\slash Love\slash Hate\slash Play\slash Love\slash Hate\slash Play} \type{\textslash} {\bfd Love\textslash Hate\textslash Play\textslash Love\textslash Hate\textslash Play\textslash Love\textslash Hate\textslash Play\textslash Love\textslash Hate\textslash Play} \type{\myslash} {\bfd Love\myslash Hate\myslash Play\myslash Love\myslash Hate\myslash Play\myslash Love\myslash Hate\myslash Play\myslash Love\myslash Hate\myslash Play} \stoptext Neither one of the first three solutions above give me the right thing, because the line won't break at /. What am I missing? A workaround seems to be \def\myslash{/\penalty-5000} and then using \myslash instead of \slash, but I'm pretty sure I'm not doing this right. Thanks in advance -- Marco ___ 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] 4000 pages limit?
Hello there. Yesterday I was trying to typeset a very, very long document (about 3000 pages in A4). Well, mkiv died with a PANIC: unprotected error in call to Lua API (stack overflow (out of stack space)) It's easily reproducible with a simple \starttext \dorecurse{5}{ \input knuth } Once it reaches page 4000 it will die. I'm obviously going to split the document, because a pdf of 4000 pages is just insane, but now I'm curious if this is a known limit. Bests -- Marco ___ 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] How to avoid that \writetolist becomes a page-breaker
Hans Hagen pra...@wxs.nl writes: On 14-12-2010 9:00, Marco Pessotto wrote: \doneleavehmode \writetolist[myrandompart]{It's a test} \input knuth i.e. just bind the write to some text Thanks for your answer. I'm on my way to the wiki :-) -- Marco ___ 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] \do(single|double|etc)empty behaviour
Hello there. I was writing a small macro to emulate a custom \part command, and I broke my head against \dosingleempty (but finally I won). Why this example is working: % start % \definelist[talpart] \define\talpart{\page[right]% \blank[2*big]% \startalignment[center]% \dosingleempty\doTalPart} \def\doTalPart[#1]#2{% \iffirstargument debug: I have the optional arg \bfc#1\blank[2*big] \writetolist[talpart]{}{{#1. }#2} \else debug: I don't have any arg \blank[2*big] \writetolist[talpart]{}{#2} \fi \bfd#2 \stopalignment \blank[2*big] } \starttext \placelist[talpart] \talpart[optional]{With optional argument} \input knuth \talpart{No argument} \input ward \stoptext %%% stop While this, the original one, is definitively not working? % start % \definelist[talpart] \define\talpart{\dosingleempty\doTalPart} \def\doTalPart[#1]#2{% \page[right] \startalignment[center] \blank[force,2*big] \iffirstargument debug: I have the optional arg \noindent{\bfc#1}\blank[2*big] \writetolist[talpart]{}{{#1. }#2} \else debug: I don't have any arg \blank[2*big] \writetolist[talpart]{}{#2} \fi {\noindent \bfd#2} \stopalignment \page[left] } \starttext \placelist[talpart] \talpart[optional]{With optional argument} \input knuth \talpart{No argument} \input ward \stoptext %%% stop It's unclear to me how the arguments are passed between macros. Probably it's just a matter of knowledge of TeX macro programming (which obviously I don't have). My source of inspiration was: http://wiki.contextgarden.net/Commands_with_optional_arguments Bests -- Marco ___ 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] \do(single|double|etc)empty behaviour
Wolfgang Schuster schuster.wolfg...@googlemail.com writes: Am 15.12.2010 um 19:40 schrieb Marco Pessotto: Hello there. I was writing a small macro to emulate a custom \part command, and I broke my head against \dosingleempty (but finally I won). […] It's unclear to me how the arguments are passed between macros. Probably it's just a matter of knowledge of TeX macro programming (which obviously I don't have). Your test with \iffirstargument fails because you perform it after \startalignment which has itself a argument which sets \iffirstargument to true, a better way to check for content of the optional argument is \doifsomethingelse. \def\talpart {\dosingleempty\dotalpart} \def\dotalpart[#1]#2% {\page[right] \blank[force,2*big] \startalignment[center] \doifsomethingelse{#1} {{\bfc#1}\writetolist[talpart]{}{#1. #2}} {\writetolist[talpart]{}{#2}}% \blank[2*big] {\bfd#2} \stopalignment \page[left]} Wolfgang Thanks a lot for your explanation. I've added a pitfalls section to http://wiki.contextgarden.net/Commands_with_optional_arguments#Pitfalls (well, it was a pitfall at least for me) -- Marco ___ 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] writebetweenlist regression (mkiv)
Hans Hagen pra...@wxs.nl writes: On 13-12-2010 11:20, Steffen Wolfrum wrote: Am 08.11.2010 um 23:03 schrieb Marco: Hello there. Currently \writebetweenlist doesn't work as advised. It inserts the argument before the last entry of the list. The minimal example is provided by the reference itself. http://wiki.contextgarden.net/Reference/en/writebetweenlist The rule is correctly inserted at http://live.contextgarden.net/ and in the ConTeXt shipped with TeXlive 2010 (2010.05.24), but not with the current beta and the 2010.07.30 version. mkii works fine. It prints --rule-- List entry A List entry B Unfortunately, I can confirm this with current version: ver: 2010.12.12 17:06 MKIV Help please! There is a good reason for this. Inbetween has multiple usage and these are conflicting: - in order to get the right page info associated it needs to be anchored in the text stream - in that case a node can interfere with spacing and can come unexpected - sometimes direct flushing is needed, sometimes delayed btw, all these issues have been observed by users every now and then Now, if unexpected interference is the hardest to track down, inbetween is an immediate action. In principle one can influence that but it's not that intuitive. So, I've now added an option to (1) the flushers and (2) the list placers. The following example shows this: \definelist[testlist][criterium=all] \starttext Regular list entries are bound to a specific location in order to get the right pagenumber etc.\ associated. When pushing something inbetween (in mkiv) it ends up directtly in the list. This is the default because otherwise users will wonder why spacing might get messed up (due to an unseen but present node). It is possible to force a location by explicitly setting \type {location} to \type {here}. Another way to force a certain order is to set the \type {order} variable when placing a list. The \type {command} option only pushes commands into the right order, and \type {all} orders all entries (which might be too much). In this case no specific location is needed with the inbetween method. Maybe additional mechanisms show up some day. \subject{normal} \placelist[testlist] \subject{command} \placelist[testlist][order=command] \subject{all} \placelist[testlist][order=all] \page \input tufte \writetolist [testlist] {1} {One} \writebetweenlist[testlist] {\blackrule[color=red,width=\hsize]} \writebetweenlist[testlist][location=here]{\blackrule[color=blue,width=\hsize]} \writetolist [testlist] {2} {Second} \writetolist [testlist][location=none]{W} {Whatever} \writebetweenlist[testlist] {\blackrule[color=green,width=\hsize]} \stoptext I admit that it's not an easy mechanism but any default would at some point trigger complaints. So it probably needs to be wikified. Hans Thanks for this. It's been wikified in the reference wiki: http://wiki.contextgarden.net/Reference/en/writebetweenlist Bests -- Marco ___ 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] Minimal ConTeXt and texfont!
Mojca Miklavec mojca.miklavec.li...@gmail.com writes: On Tue, Dec 14, 2010 at 11:53, Verhaag, G.C.H.M. wrote: Hi, I've put the ttf-file into the texmf-fonts/fonts/data directory, without the subdirectories, right? You either have to put the font into texmf-fonts/fonts/truetype/anywhere or texmf-fonts/fonts/data/anywhere (You can use texmf-fonts, texmf-local, I think that also ~/texmf would work.) The first folder fonts/truetype is appropriate for TrueType fonts only and is a more general location inside TDS (valid for other distributions as well). Any font-related file may go to fonts/data. You forgot the fonts subfolder in your earlier message. Mojca Try this sequece: copy the .ttf in contextroot/tex/texmf-fonts/fonts/truetype/anywhere mktexlsr mtxrun --script fonts --reload context --generate and finally check with mtxrun --script font --list if it appears in the list In my experience (i.e., if i recall correctly) mktexlsr is needed even if you use only mkiv. Bests -- Marco ___ 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] Minimal ConTeXt and texfont!
Marco Pessotto melmo...@gmail.com writes: Mojca Miklavec mojca.miklavec.li...@gmail.com writes: On Tue, Dec 14, 2010 at 11:53, Verhaag, G.C.H.M. wrote: Hi, I've put the ttf-file into the texmf-fonts/fonts/data directory, without the subdirectories, right? You either have to put the font into texmf-fonts/fonts/truetype/anywhere or texmf-fonts/fonts/data/anywhere (You can use texmf-fonts, texmf-local, I think that also ~/texmf would work.) The first folder fonts/truetype is appropriate for TrueType fonts only and is a more general location inside TDS (valid for other distributions as well). Any font-related file may go to fonts/data. You forgot the fonts subfolder in your earlier message. Mojca Try this sequece: copy the .ttf in contextroot/tex/texmf-fonts/fonts/truetype/anywhere Sorry, I meant contextroot/tex/texmf-local/fonts/truetype/anywhere mktexlsr mtxrun --script fonts --reload context --generate and finally check with mtxrun --script font --list if it appears in the list In my experience (i.e., if i recall correctly) mktexlsr is needed even if you use only mkiv. Bests -- Marco ___ 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] Minimal ConTeXt and texfont!
Verhaag, G.C.H.M. verhaagg...@ziggo.nl writes: Well I've put my ttf into: texmf-fonts/fonts/data, and entered the following sequence of commands: mktexlsr mtxrun --scripts fonts --reload context --generate Then I checked using the following command: mtxrun --script fonts --list --all --pattern=*snow* which yielded the following output: plymouthrocksnowdusted plymouthrocksnowdusted PlymouthSnowDusted.ttf plymouthrocksnowdustednormal plymouthrocksnowdusted PlymouthSnowDusted.ttf So this seams to be okay! Next I used the proposed context file: \definefont[snowdust][file:snowdusted*default] \starttext \snowdust SnowDusted \stoptext try instead \usemodule[simplefonts] % load the module \setmainfont[PlymouthRock 'SnowDusted'] I don't know if the '' in the family name will break the module. I downloaded the file and checked with otfinfo -a file.ttf to get the family name. You should do the same. http://wiki.contextgarden.net/Fonts_in_LuaTeX#With_the__simplefonts_module -- Marco ___ 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] How to avoid that \writetolist becomes a page-breaker
Probably due to my abuse of \writetolist, I noticed that inserting \writetolist right after \subject makes TeX to think that it can break the page there without problems. See the following minimal example: %===cut here= \definelist[myrandompart] \starttext \dorecurse{12}{ \input reich } \subject{\bf Wrong!} \writetolist[myrandompart]{It's a test} \input knuth \page \dorecurse{12}{ \input reich } \subject{\bf Correct!} %\writetolist[myrandompart]{It's a test} \input knuth %===cut here= I'm pretty sure the solution is out there. Some hints would be very welcome. Thanks in advance -- Marco ___ 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] How to avoid that \writetolist becomes a page-breaker
Marco Pessotto melmo...@gmail.com writes: Probably due to my abuse of \writetolist, I noticed that inserting \writetolist right after \subject makes TeX to think that it can break the page there without problems. See the following minimal example: %===cut here= \definelist[myrandompart] \starttext \dorecurse{12}{ \input reich } \subject{\bf Wrong!} \writetolist[myrandompart]{It's a test} \input knuth \page \dorecurse{12}{ \input reich } \subject{\bf Correct!} %\writetolist[myrandompart]{It's a test} \input knuth %===cut here= I'm pretty sure the solution is out there. Some hints would be very welcome. Thanks in advance To answer to my own question, it looks like that \subject{\bf My title!} \dontleavehmode \writetolist[myrandompart]{}{It's a test} works. The question if is this the right thing to do, still remains, though -- Marco ___ 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] installation on debian testing
Vedran Miletić riva...@gmail.com writes: 2010/12/12 Jonas Stein n...@jonasstein.de Hi, context in debian testing is quite old (2009) will that destroy my packagemanager or is it a good idea, to try this: purge the installed context as root run # checkinstall bash then the commands of http://wiki.contextgarden.net/ConTeXt_Minimals#System-wide_installation Yes. I have installed it that way in a computer that students use for education, and it works. We don't use LaTeX there, so I can't say if there is a conflict with it. Regards, Vedran Miletić If you follow the Minimals instructions you won't have problems, because the installation is self-contained. I suggest you not to put the `source $INSTALLDIR/tex/setuptex` command in .bashrc or .bash_login, to keep clean the PATH. Instead put an alias in ~/.bashrc alias activatecontext=source $HOME/usr/context/tex/setuptex When you need to use context, execute `activatecontext` and use that shell. If you use an integrated editor, start it from the shell where you activate it. Do you want to use LaTeX or the old context shipped by the distro? Start a fresh shell. Maybe my explanation is still confused :-\, but I can elaborate further, if needed. -- Marco ___ 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] bug: no overfullrule in footnotes!
Steffen Wolfrum cont...@st.estfiles.de writes: Am 09.12.2010 um 19:39 schrieb Hans Hagen: On 9-12-2010 6:15, Steffen Wolfrum wrote: Am 09.12.2010 um 17:20 schrieb Hans Hagen: On 8-12-2010 2:14, Steffen Wolfrum wrote: PS: The overfullrule for footnotes is only missing in MKIV ! no overfull rules in mkiv (no plans either) is this a well-founded decision? well, i never ever use(d) overfull rules myself ... so, in order to support it i'd also have to look at interference with recent mkiv node list parsing based solutions, so it has a real low priority (I will probably provide other means to check such things) of course, any means is welcome! we only really need an eye-caching way to skim if lines are overfull. as it is easy to typeset hundreds (or thousands?) of pages with context ... how to easily check where (by any reason) a line couldn't break and shot over textwidth, for instance?! Steffen I used \showframe and grep against the log file. Bests -- Marco ___ 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] Portable linux Minimals installation?
Hello list! It's happening to me that I have to travel to a place where there's no broadband access, and I'd like to take ConTeXt with me. So I can't just run the installer and rsync the trees. Now, the question is: is it safe to tarball the ConTeXt root directory with executable and texmf trees, and move it around (on another machine)? Or are there hardcoded paths that prevents this? I couldn't find anything about this on http://wiki.contextgarden.net/ConTeXt_Minimals Thanks in advance. -- Marco ___ 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] Portable linux Minimals installation?
Mojca Miklavec mojca.miklavec.li...@gmail.com writes: On Mon, Nov 29, 2010 at 15:39, Marco Pessotto wrote: It's happening to me that I have to travel to a place where there's no broadband access, and I'd like to take ConTeXt with me. So I can't just run the installer and rsync the trees. Now, the question is: is it safe to tarball the ConTeXt root directory with executable and texmf trees, and move it around (on another machine)? Or are there hardcoded paths that prevents this? No, there are no hardcoded paths. You may even fetch both linux and linux-64 architectures in parallel (or all the architectures), so that it will work on any architecture. The only somehow hardcoded path is the name of folder inside luatex-cache, but that's easy to change/recover (you may simply delete contents of luatex-cache and rerun mtxrun --generate). Mojca Thanks. I've added a brief section to http://wiki.contextgarden.net/ConTeXt_Minimals#Moving_the_installation_tree_around_.28linux.29 -- Marco ___ 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] Composed words: a simple way without a global replacement to |-|?
Dear list, today I was reviewing the hyphenation and stumbled on the composed word problem, as explained at http://wiki.contextgarden.net/Composed_words and in the ref-manual. Now, the trivial question sounds: is there a way to say to TeX hey, consider the hyphen inside words a good breakpoint? If not, I'm going to do a global replacement of ([a-z])-([a-z]) to $1|-|$2 , but somehow I feel I'm doing this wrong (because this will harm to the readability of the source). Any idea? Thanks in advance. -- Marco ___ 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] SciTE ConTeXt
S Barmeier severinbarme...@googlemail.com writes: Hello, I tried to follow the PRAGMA document for setting up SciTE to run with ConTeXt. The Tools menu seems to recognize that I am trying to process a ConTeXt file and the syntax highlighting seems to fit as well. However, when trying to Compile or Build, SciTE tells me mtxrun --autogenerate --script context --autopdf --pdf myfile.tex sh: mtxrun: not found Exit code: 127 When running mtxrun from the terminal or from the shell (by entering sh in the terminal) it works fine. My $PATH variable is set to find mtxrun (and context). How come SciTE can't find it? Where the PATH is set? in .bashrc or .bash_profile? How do you start the window manager? (startx or via a login manager?) Try to start the editor from the shell (so it should pick up the environment). -- Marco ___ 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] How can I properly credit ConTeXt
Hello there. This was meant to be a mail to say thanks to the ConTeXt/LuaTeX teams for the wonderful work they did and are doing. I'm pretty new to ConTeXt but I'm really impressed. It happens that I'm typesetting a journal that will hit the printer soon. Now, the question sounds: how can I credit ConTeXt/LuaTeX properly? (no, it won't generate any profit so I can't really donate some bucks; as a matter of fact I'm volunteering this) I was thinking about something like: \vfill \startalignment[center] Typeset with \ConTeXt\ and \luaTeX\ \goto{\hyphenatedurl{http://wiki.contextgarden.net}} [url(http://wiki.contextgarden.net)] \blank[big] Fonts used: Linux Libertine \goto{\hyphenatedurl{http://www.linuxlibertine.org}} [url(http://www.linuxlibertine.org)] \stopalignment Is it OK? Best wishes -- Marco ___ 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] microtype + \overstrike + libertine problem
Hello there. I'm experience the following problem: with microtypography \overstrike plays weird. See the following minimal. I can't reproduce it with the latin modern fonts, so maybe it's a font specific issue. I've found a workaround and documented it on the wiki (just in case) http://wiki.contextgarden.net/Overstriking %%% start minimal example, problems start a the 2nd recurse, p.2 %%% \definefontfeature[default][default] [protrusion=quality, expansion=quality, script=latn] \usetypescript[libertine] \setupbodyfont[10pt,libertine] \setupalign[hz,hanging] \setuppapersize[A6][A6] \starttext \dorecurse{20}{\input tufte \overstrike{test} \input tufte} \stoptext %%% stop minimal example%%% Best regards -- Marco ___ 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] indentnext after \placefigure[page]
Hello there. I'm struggling with the indentnext parameter. Please see the next minimal example: %%% start minimal \setupindenting[yes, medium, first] \setupheads[indentnext=yes] \setupfloats[indentnext=yes] \starttext \placefigure [here,nonumber]{}{\externalfigure[dummy]} test test \input knuth \placefigure [page,nonumber]{}{\externalfigure[dummy]} %%% adding \indent doesn't help {\bf test test} \input knuth \stoptext %%% stopt The first test test is indented as expected, the following, after the \placefigure[page] is not. adding \indent doesn't help. Tested both with the latest beta and the context live, with the same outcome. Am I missing something? Thanks in advance. -- Marco ___ 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] Footnote links in the body?
Hello there. I notice a strange behaviour with the footnote linking. Let's use the following minimal example: \setupinteraction[state=start] \starttext test\footnote{test} \stoptext Compiled with mkiv, the latest beta (ConTeXt ver: 2010.11.12 18:22 MKIV fmt: 2010.11.13), luatex, version beta-0.64.0-2010111215 (Gnu/Linux intel 32bit) The ¹ in the body is green, but it's not clickable, while the backlink is red, is clickable but it reset the zoom at fit page, which is kind of annoying when reading (if you have to jump between the footnotes and the body). This happens with evince and acroreader. Using mkii the link in the body is green, but doesn't react on click. Am I missing something? Probably it's a known issue, but I couldn't find any post or wiki article (I'll write it if I can understand what's going on). I also find this in the logs: systems : begin file fn.tex at line 3 references : invalid page reference: 0 (which I suppose is the footnote link). Last question en passant: is this list the right place to post bug reports? -- Marco ___ 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 ___