Re: [NTG-context] LuaTeX and PDF.js
08. 01. 2021. u 05:41, Aditya Mahajan piše: On Fri, 8 Jan 2021, Hans Hagen wrote: On 1/8/2021 12:39 AM, Vedran Miletić wrote: It's whatever ConTeXt standalone has. I don't have any extra Lua installed: --credits should mention the lua version Should I see it on non-HiDPI as well? Because it seems it's there. depends on what you consider (non) hdpi ... the positioning of glyphs depends on font scale, rounding of stems and such (hints in fonts but these get less relevant with high res displays), caching, inter glyph corrections (that pdftex/luatex/...) put in the text stream to resync within certain tolerances, etc ... (often a print is a better reference as displays are seldom 600+ dpi) .. it's also why often expansion looks bad on screen because even a sub percentage difference can give such effects Another way to see it is just zoom in on the PDF. If the artifacts go away on zooming in, then they are due to anti-aliasing. Aditya Thanks to both of you for the detailed explanations. Printed page shows no artifacts and neither does PDF.js when the text is zoomed. So it is an issue with anti-aliasing after all. I'll report it to PDF.js and see what they tell me. Regards, Vedran -- Vedran Miletić vedran.miletic.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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] LuaTeX and PDF.js
On 07. 01. 2021. 23:01, Hans Hagen wrote: what lua does your 2.08 have? if it's 5.2. then such small differences can be a side effect of lua (different number models), serialization of numbers (default accuracy), or maybe rounding in the lua=>tex font interface (there were some fixes iir), the number of digist that the backend uses, etc It's whatever ConTeXt standalone has. I don't have any extra Lua installed: $ luametatex --version This is LuaMetaTeX, Version 2.08.11 Execute 'luametatex --credits' for credits and version details. There is NO warranty. Redistribution of this software is covered by the terms of the GNU General Public License, version 2 or (at your option) any later version. For more information about these matters, see the file named COPYING and the LuaTeX source. Functionality : level 20210107 Support : cont...@ntg.nl Copyright : The Lua(Meta)TeX Team(s) (2005-2020+) The LuaMetaTeX project is related to ConTeXt development. This macro package tightly integrates TeX and MetaPost in close cooperation with Lua. $ luatex --version This is LuaTeX, Version 1.13.0 (TeX Live 2021/dev) Execute 'luatex --credits' for credits and version details. There is NO warranty. Redistribution of this software is covered by the terms of the GNU General Public License, version 2 or (at your option) any later version. For more information about these matters, see the file named COPYING and the LuaTeX source. LuaTeX is Copyright 2020 Taco Hoekwater and the LuaTeX Team. Typing lua gives command not found and texlua is system one. anyhow, so what you see (in the file) is (per line) transform matrices that are slightly different so what you then see is rounding to the device pixels Should I see it on non-HiDPI as well? Because it seems it's there. Regards, Vedran i wouldn't loose sleep over it .. nowadays fonts also evolve and that gives larger differences Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl - -- Vedran Miletić vedran.miletic.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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
[NTG-context] LuaTeX and PDF.js
Hello, I compared latest ConTeXt standalone (LuaTeX 2.08) against TeX Live 2020 (LuaTeX 1.12). The produced PDFs are: https://miletic.net/lipsum-112.pdf https://miletic.net/lipsum-208.pdf Viewing them with Evince (and I assume Adobe Reader, I don't have it at hand to test) shows only minor differences in (horizontal) character spacing, which I would expect; the text looks reasonably good either way. However, viewing them with PDF.js shows a large difference: https://miletic.net/lipsum-pdfjs-112.png https://miletic.net/lipsum-pdfjs-208.png As you can observe, b, m, n, p, and r (and possibly others) are moved slightly above other letters. Is this the expected behavior? If not, is this an issue with the way PDF.js is displaying the PDF or the way LuaTeX is producing it? Thanks in advance. Regards, Vedran Miletić -- Vedran Miletić vedran.miletic.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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
[NTG-context] \setupcombinedlist[content][alternative=c] has no effect in latest experimental
Minimal example: \setupcombinedlist[content][alternative=c] \starttext \completecontent \dorecurse{10}{ \section{sec} \input tufte \subsection{subsec} \input tufte \subsection{subsec} \input tufte \subsection{subsec} \input tufte } \stoptext With 2012.02.17 15:53 no dots appear. 2011.05.18 works fine. Regards, Vedran Miletić ___ 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] startquotation and stopquotation in latest beta
Hi, I'm getting ! Extra }, or forgotten \endgroup. on this: \starttext \startquotation test \stopquotation \stoptext with mtx-context | current version: 2011.12.19 01:47 Vedran Miletić ___ 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] Small issue with dimensions
Datuma 17. studenoga 2011. 09:26 Hans Hagen pra...@wxs.nl je napisao/la: On 15-11-2011 11:12, Vedran Miletić wrote: Datuma 14. studenoga 2011. 20:44 Romain Dissromain.d...@yahoo.fr je napisao/la: \starttext 1\unit{second} \stoptext gives 1 econd. But \unit{1 second} gives the correct result... Indeed, but IIRC Hans' original approach was 1\unit{second} style of writing[1]. I would like to know if this can be fixed. I'll look into it (first I have some deadlines to catch). Hans Just updated to latest minimals and rechecked, it's fixed. Thanks. Vedran ___ 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] Small issue with dimensions
Datuma 17. studenoga 2011. 09:26 Hans Hagen pra...@wxs.nl je napisao/la: I'll look into it (first I have some deadlines to catch). Hans Thanks. Vedran ___ 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] Small issue with dimensions
Datuma 14. studenoga 2011. 20:44 Romain Diss romain.d...@yahoo.fr je napisao/la: \starttext 1\unit{second} \stoptext gives 1 econd. But \unit{1 second} gives the correct result... Indeed, but IIRC Hans' original approach was 1\unit{second} style of writing[1]. I would like to know if this can be fixed. Vedran [1] http://www.ntg.nl/pipermail/ntg-context/2011/059762.html ___ 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] Small issue with dimensions
Hi, the following code \starttext 1\unit{bit / second} \stoptext gives 1 econd tested with: mtx-context | current version: 2011.11.14 16:17 Vedran ___ 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] Small issue with dimensions
Datuma 14. studenoga 2011. 20:19 Romain Diss romain.d...@yahoo.fr je napisao/la: Hi, On 14 nov 2011, Vedran Miletić wrote: the following code \starttext 1\unit{bit / second} \stoptext gives 1 econd It works correctly here with the latest beta. It gives 1 bit/s. It does. I posted the wrong code, sorry. Therefore: \starttext 1\unit{second} \stoptext gives 1 econd. Vedran ___ 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] [gnuplot-context] context terminal now in gnuplot's CVS
Congratulations! Vedran 2011/11/6 Mojca Miklavec mojca.miklavec.li...@gmail.com: Hello, After 5 years (actually almost 6 - the first t-gnuplot.tex code has been sent to me by Peter Münster on 2nd January 2006) gnuplot developers finally included context terminal into their CVS repository today. (temporary link, but probably slightly more clear than linking to CVS repository) https://github.com/gnuplot/gnuplot-new/commit/62737451bb138f0e679b5a57e0042b42e06f0a5c The release of gnuplot 4.4.4 was initially planned for around October, which means that it should probably be out sometime soon. Documentation: https://github.com/mojca/context-gnuplot/tree/master/texmf/doc/context/third/gnuplot Mojca PS: There are still three pending issues in the area that is rarely used anyway: - I need to fix font switching (I'm currently using \sometxt[gp][iwona,20]{some label} which doesn't work in MKIV and is an ugly hack in MKII) - there are some problems with (draw) externalfigure inside metapost drawings; I might create an abstract layer around that - transparent inline bitmap images don't work and they don't work in MKII at all (partially due to limitations in metapost) -- http://wiki.contextgarden.net/Gnuplot http://groups.google.com/group/gnuplot-context To post here: gnuplot-cont...@googlegroups.com To unsubscribe: gnuplot-context-unsubscr...@googlegroups.com ___ 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] \star not working
2011/6/20 Reviczky, Adam adam.revic...@kcl.ac.uk: Use $\star$ or \symbol[star]. Thanks, but both will use the math font (in my case: https://github.com/khaledhosny/euler-otf) which doesn't have this symbol. Missing character: There is no ⋆ (U+22C6) in font euler! Using \star only worked as a workaround until recently. I'm not doing anything wrong here, am I? I'm looking at: --- \usetypescript[palatino] \definetypeface [palatino] [mm] [math] [euler] [euler][rscale=1.03] \definetypeface [boldmath] [mm] [boldmath][euler][euler][rscale=1.03] \setupbodyfont[palatino,11pt] \starttext $\star$ \symbol[star] \star \stoptext --- Adam This came up a while ago, I believe this is the solution: http://www.mail-archive.com/ntg-context@ntg.nl/msg47703.html Vedran ___ 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] \Context bug?
2011/6/9 Wolfgang Schuster schuster.wolfg...@googlemail.com: Am 09.06.2011 um 23:13 schrieb Vedran Miletić: Hi, is it intentional that \starttext \Context \stoptext makes context (mkiv, haven't tried mkii) hang indefinitely? I'm using latest beta. Change this in font-ini.mkiv: %\unexpanded\def\getscaledglyph #1#2#3{{\setscaledstyledsymbolicfont{#1}{#2}\doifnumberelse{#3}\char\donothing#3}} \unexpanded\def\getscaledglyph #1#2#3{{\setscaledstyledsymbolicfont\fontbody{#1}{#2}\doifnumberelse{#3}\char\donothing#3}} Better use \ConTeXt or \CONTEXT, \Context is only a variation of the logo which isn’t used anywhere. Hans, could you please fix this in stable version that is on CTAN as well? Vedran ___ 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] \Context bug?
2011/6/15 Taco Hoekwater t...@elvenkind.com: On 06/15/2011 10:24 AM, Vedran Miletić wrote: Hans, could you please fix this in stable version that is on CTAN as well? CTAN will get fixed when there is a new stable release. Best wishes, Taco Will there be new stable release before TL2011 is released? Vedran ___ 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] beta
2011/6/11 Wolfgang Schuster schuster.wolfg...@googlemail.com: Nice but i suggest to use \si as name for the command. +1 What’s still missing is a reimplementation of the \digits macro where you have more control about the decimal and thousand separator and a few more options. Also +1, it would be cool to have something similar to siunitx[1] in terms of functionality. Vedran [1] http://mirror.ctan.org/macros/latex/contrib/siunitx/siunitx.pdf ___ 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] \Context bug?
Hi, is it intentional that \starttext \Context \stoptext makes context (mkiv, haven't tried mkii) hang indefinitely? I'm using latest beta. Vedran ___ 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] beta
2011/6/8 Otared Kavian ota...@gmail.com: Hi Hans and Taco, Updating the minimals resulted for me in an error message: This is MetaPost, version 1.504 (kpathsea version 6.0.0) ! I can't open file `metafun'. * metafun Please type another input file name: However upon aborting the process with ctrl-C, I have an updated ConTeXt version 2011.06.08 19:06, which works apparently fine under mkiv, but does not work with mkii, even with the simplest \starttext Hello Hans \stoptext The typesetting stops with the following error message: ! Font \*7ptmmmrrm*:=rm-lmr7 not loadable: Metric (TFM) file not found. to be read again \relax \definefontlocal ...ndcsname \lastfontname \relax \expandafter \let \expanda... I just report the issue to let you know (I have still the previous version at hand…). Best regards: OK Same here. Vedran ___ 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] entity-relation diagram
2011/6/4 Cecil Westerhof cldwester...@gmail.com: Is it possible to make an entity-relation diagram with ConTeXt, or can I better look for another tool? -- Cecil Westerhof MetaPost has expressg package (not sure if it works with ConTeXt), and there is also TikZ-based solution: http://www.texample.net/tikz/examples/entity-relationship-diagram/ Vedran ___ 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] testing TeX Live 2011
2011/6/4 Taco Hoekwater t...@elvenkind.com: Hi, For those of you who are not 'in the loop', so to say: instructions for running the texlive 2011 pretest are here: http://tug.org/texlive/pretest.html Best wishes, Taco Awesome. Vedran ___ 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] MPdefinitions
Hi, compiling example with quadriliterals and \startMPdefinitions{solvers} \stopMPdefinitions from MetaFun manual, regardless of the code that is commented out inside MPdefintions environment, gives: ! You can't use `\relax' after \the. system tex error on line 30 in file solvers.tex: You can't use ` ... 20 % z1=0.5[z11,z13] ; z2=0.5[z21,z23] ; 21 % z3=0.5[z31,z33] ; z4=0.5[z41,z43] ; 22 % draw z1--z3 dashed evenly ; draw z2--z4 dashed evenly ; 23 % z0=whatever[z1,z3]=whatever[z2,z4] ; 24 % mark_rt_angle (z1,z0,z2); 25 % if show_labels0: 26 % draw_problem_labels ; 27 % fi; 28 % endgroup ; 29 % enddef ; 30 \stopMPdefinitions 31 32 \starttext 33 %a 34 \stoptext recently read \@MPF@::solvers \dostartMPdefinitions ...er {\the \MPinstancetoks #2} l.30 \stopMPdefinitions Is this a bug? Vedran ___ 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] MPdefinitions
2011/5/23 Wolfgang Schuster schuster.wolfg...@googlemail.com Please send a complete example! Sure: \startMPdefinitions{solvers} \stopMPdefinitions \starttext Hello. \stoptext or this: \startMPdefinitions{solvers} def draw_problem (expr p, q, r, s, show_lables)= begingroup ; save x, y, a, b, c, d, e, f, g, h ; z11=z42=p ; z21=z12=q ; z31=z22=r ; z41=z32=s ; a=x12-x11 ; b=y12-y11 ; c=x22-x21 ; d=y22-y21 ; e=x32-x31 ; f=y32-y31 ; g=x42-x41 ; h=y42-y41 ; z11=(x11, y11) ; z12=(x12, y12) ; z13=(x12-b, y12+a) ; z14=(x11-b, y11+a) ; z21=(x21, y21) ; z22= (x22, y22); z23=(x22-s,y22+c) ; z24=(x21-d, y21+c) ; z31=(x31, y31) ; z32=(x32, y32) ; z33=(x32-f, y32+e) ; z34=(x31-f, y31+e); z41=(x41, y41) ; z42=(x42, y42) ; z43=(x42-h,y42+g) ; z44=(x41-h,y41+g) ; pickup pencircle scaled .5pt ; draw z11--z12--z13--z14--cycle ; draw z11--z13 ; draw z12--z14 ; draw z21--z22--z23--z24--cycle ; draw z21—z23 ; draw z22—z24 ; draw z31--z32--z33--z34--cycle ; draw z31—z33 ; draw z32—z34 ; draw z41--z42--z43--z44--cycle ; draw z41—z43 ; draw z42—z44 ; z1=0.5[z11,z13] ; z2=0.5[z21,z23] ; z3=0.5[z31,z33] ; z4=0.5[z41,z43] ; draw z1--z3 dashed evenly ; draw z2--z4 dashed evenly ; z0=whatever[z1,z3]=whatever[z2,z4] ; mark_rt_angle (z1,z0,z2); if show_labels0: draw_problem_labels ; fi; endgroup ; enddef ; \stopMPdefinitions \starttext Hello. \stoptext Result is the same. Vedran ___ 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] MPdefinitions
2011/5/23 Wolfgang Schuster schuster.wolfg...@googlemail.com Am 23.05.2011 um 17:37 schrieb Vedran Miletić: 2011/5/23 Wolfgang Schuster schuster.wolfg...@googlemail.com Please send a complete example! Sure: […] Add \defineMPinstance [solvers] [format=metafun, extensions=yes, initializations=yes] before \startMPdefintions or omit the argument (i.e. “{solvers}”) from the \startMPdefintions command. Great, thanks. Why does the code in attachment then produce undefined? It's an example from MetaFun book. Vedran solvers.tex Description: TeX 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] Math spacing after comma (MkIV)
Hi, please consider this: \starttext \math{1, 2, 3} \stoptext Spacing after comma in MkIV is practically nonexistent. Is this intended? Vedran P.S. Using or not using OTF has no effect. math-spacing2-mkii.pdf Description: Adobe PDF document math-spacing2-mkiv.pdf Description: Adobe PDF document math-spacing2-mkiv-otf.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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Math spacing after comma (MkIV)
2011/5/15 Otared Kavian ota...@gmail.com Hi Vedran, Some time ago we had a discussion on the list about this issue: I learned that in mkiv one has to add \setupmathematics[autopunctuation=no] in order to have a correct spacing. Thanks, that works! Vedran ___ 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] status-files.pdf
2011/5/14 Hans Hagen pra...@wxs.nl On 14-5-2011 6:28, luigi scarso wrote: Nice pdf in tex/texmf-context/tex/context/base/status-files.pdf there's also status-lua.pdf (ipad version) Nice title page, one might use it for a poster. Vedran ___ 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] MikTeX ConTeXt
2011/5/12 Hans Hagen pra...@wxs.nl On 11-5-2011 8:39, Mojca Miklavec wrote: Dear ConTeXt-ers, in particular HT, I have just noticed that 64-bit MikTeX is now using LuaTeX 0.70 and that the 32-bit version will follow at the end of May. It would be nice to prepare some version of ConTeXt compatible with LuaTeX 0.70 that MikTeX could fetch (and one would have to take care for configuration differences since the last version of ConTeXt that was included). afaik there is no dependency on 0.70 other than 0.66/0.67 (that will start with 0.71+) Hans I believe Mojca was referring to releasing new stable. Vedran ___ 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] lm otf math
2011/5/12 Hans Hagen pra...@wxs.nl Hi, The minimals now carry a beta version of lmmath.otf. Even when all lm and gyre math fonts are released, the vf variants will stay available if only because we need them to test luatex's virtual font machinery. As there is only one design size (but with a proper ssty feature), I decided to hook this font into the non-designsize variant, so you can test with: \usetypescript[modern-base] \setupbodyfont[modern] \starttext $e=mc^2$ \stoptext Problems can be reported to this list (or alternatively we can make a page on the wiki for it). Hans Just curious: why is it embedded as being named Latin? Vedran ___ 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] lm otf math
Dana 13. svibnja 2011. 10:04 Hans Hagen pra...@wxs.nl je napisao/la: On 13-5-2011 9:52, Vedran Miletić wrote: Just curious: why is it embedded as being named Latin? because latin modern is the follow up in computer modern; the name comes from the fact hat it started as a merge of all those latin variants (cmr, aer, csr, plr, vnr, ...) Hans Sure, but I was asking about this: $ pdffonts lmtest.pdf name type emb sub uni object ID - --- --- --- - JFRMQG+LMRoman10-Regular CID Type 0C yes yes yes 18 0 JYDOFF+Latin CID Type 0C yes yes yes 19 0 Shouldn't it be LMMath or something like that? Vedran ___ 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] Too much spacing in math mode between 'f' and 'l' (MkIV only)
Dana 4. svibnja 2011. 16:30 Vedran Miletić riva...@gmail.com je napisao/la: 2011/5/4 Aditya Mahajan adit...@umich.edu On Tue, 3 May 2011, Vedran Miletić wrote: Hi, please consider this: \starttext \math{flow_1} \stoptext When compiled with MkIV, space between f and l is quite big and doesn't look very good. Is it a bug? Definitely looks like a bug in italic correction. In principle, the spacing with virtual fonts (mkiv) should be the same as type 1 fonts (mkii). Thanks for clarification. Just curious: is this ConTeXt or LuaTeX bug? Vedran Miletić ___ 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] Proposed changes for Croatian language
Hi, according to [1], Croatian language has no em-dash. Could lang-def.mkiv (lines 240-243) be fixed to be: \c!leftsentence={\hbox{--~}}, \c!rightsentence={\hbox{~--}}, \c!leftsubsentence={--}, \c!rightsubsentence={--}, also, from my understanding, month names are only used for generating correct \date[...=...] output. If that's the case, they should be in Genitive case, as follows: january = siječnja february = veljače march = ožujka april = travnja may = svibnja june = lipnja july = srpnja august = kolovoza september = rujna october = listopada november = studenog december = prosinca If it would be easier, I can send fixed lang-txt.lua. Thanks, Vedran Miletić [1] http://hr.wikipedia.org/wiki/Crtica_%28pravopis%29 ___ 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] Proposed changes for Croatian language
Dana 6. svibnja 2011. 19:12 Hans Hagen pra...@wxs.nl je napisao/la: On 6-5-2011 6:46, Vedran Miletić wrote: Hi, according to [1], Croatian language has no em-dash. Could lang-def.mkiv (lines 240-243) be fixed to be: \c!leftsentence={\hbox{--~}}, \c!rightsentence={\hbox{~--}}, \c!leftsubsentence={--}, \c!rightsubsentence={--}, patched. Thanks. also, from my understanding, month names are only used for generating correct \date[...=...] output. If that's the case, they should be in Genitive case, as follows: january = siječnja february = veljače march = ožujka april = travnja may = svibnja june = lipnja july = srpnja august = kolovoza september = rujna october = listopada november = studenog december = prosinca If it would be easier, I can send fixed lang-txt.lua. indeed easier Here it is: http://www.inf.uniri.hr/~vmiletic/context/lang-txt.lua Vedran Miletić ___ 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] Too much spacing in math mode between 'f' and 'l' (MkIV only)
2011/5/4 Aditya Mahajan adit...@umich.edu On Tue, 3 May 2011, Vedran Miletić wrote: Hi, please consider this: \starttext \math{flow_1} \stoptext When compiled with MkIV, space between f and l is quite big and doesn't look very good. Is it a bug? Definitely looks like a bug in italic correction. In principle, the spacing with virtual fonts (mkiv) should be the same as type 1 fonts (mkii). Thanks for clarification. But I agree with Severin that you should not be using \math{flow_1} to represent the first flow. I hope that this example was for illustrating the spacing bug. Do you suggest I follow Severin's solution? Regards, Vedran Miletić ___ 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] Finite state machine
2011/4/26 Cecil Westerhof cldwester...@gmail.com 2011/4/26 luigi scarso luigi.sca...@gmail.com: On Tue, Apr 26, 2011 at 3:38 PM, Cecil Westerhof cldwester...@gmail.com wrote: 2011/4/26 luigi scarso luigi.sca...@gmail.com: On Tue, Apr 26, 2011 at 3:14 PM, Cecil Westerhof cldwester...@gmail.com wrote: Is there a way to create finite state machines with ConTeXt? yes How? I don't know the details, but it should be simple with Lua using the tables, cfr. http://en.wikipedia.org/wiki/Finite-state_machine State transition table In TeX should be almost the same, and with MetaPost you can draw states and transitions. There is not a module like for flow charts? (Makes sense, because I could not find something.) There is automata.mp at http://tug.ctan.org/tex-archive/graphics/metapost/contrib/macros/automata I'm not sure it's the best module for that, though. Regards, Vedran Miletić ___ 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] Finite state machine
2011/4/26 Cecil Westerhof cldwester...@gmail.com 2011/4/26 mathew m...@pobox.com: I just want to include a finite state machine in a pdf document. I usually go GraphViz - SVG, touch up the SVG with Inkscape, then save from Inkscape to PDF. If you're happy with GraphViz's standard output, it'll write PDF directly. SVG can be included in a ConTeXt document? Best would be then to create a SVG document and include it in my ConTeXt document. IIRC it's converted to PDF on the fly (but Inkscape must be installed). Vedran Miletić ___ 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] LuaTeX bug in 4096?
2011/4/25 Reviczky, Adam adam.revic...@kcl.ac.uk thanks for the report and sorry for inconvenience. I'm sifting through the PDF backend, it's not fully stable yet. Will check... Regards, Hartmut Don't worry, I just thought I mention it, in case somebody else is running into it. Thanks for the reply. +1 I get it with embedding PDFs. Regards, Vedran Miletić ___ 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] slide steps again
2011/3/7 Aditya Mahajan adit...@umich.edu On Sun, 6 Mar 2011, Curiouslearn wrote: I am making some slides using the Swoosh style in simpleslides module. I wanted to reveal some content sequentially. simpleslides does not support stepwise presentation of material. I occasionally use the following macros for quick and dirty stepwise effects. This is for really simple material (no counters, no glues ...) \usemodule[simpleslides][style=Swoosh] \def\StartSteps#1#2\StopSteps% {\dorecurse{#1}{\long\setvalue{\recurselevel}{\gobble}} \dorecurse{#1}{\long\setvalue{\recurselevel}{\oneofone} #2}} \long\def\gobble#1{} \long\def\oneofone#1{#1} \starttext \StartSteps{3} \SlideTitle{Context can be used for \dots} \null \startitemize[n] \2{\item Writing your articles} \3{ \item Making slides for presentations } \stopitemize \StopSteps \stoptext Hi, this is awesome, but could you please explain why it works? I don't understand what is defined by \def\StartSteps#1#2\StopSteps and also why are \gobble and \oneofone used in such a way when they are single-argument commands. Regards, Vedran Miletić ___ 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] LuaTeX bug in 4096?
2011/4/25 Hartmut Henkel hartmut_hen...@gmx.de On Mon, 25 Apr 2011, Vedran Miletić wrote: 2011/4/25 Reviczky, Adam adam.revic...@kcl.ac.uk thanks for the report and sorry for inconvenience. I'm sifting through the PDF backend, it's not fully stable yet. Will check... Don't worry, I just thought I mention it, in case somebody else is running into it. Thanks for the reply. +1 I get it with embedding PDFs. it was a silly copy and paste error, sorry. In trunk 4197 it should be fixed. Regards, Hartmut It is. Thanks, Vedran Miletić ___ 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] Acrobat JavaScript in ConTeXt
Dana 10. ožujka 2011. 14:35 Hans Hagen pra...@wxs.nl je napisao/la: 1) how to deal with commas in strings? MyAlert{Hello, World} displays only Hello. does {{Hello, World}} work? Unfortunately no. Hyperlink no longer gets created. Vedran ___ 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] Bug in \seeindex (MkIV only)
Hi, in mtx-context | current version: 2011.03.22 13:59, using MkIV the following code My \index{dog}dog is a \index{dog+bullterrier}bullterrier named \seeindex{Dolly}{Underware}Dolly. He doesn't like \index{cat}cats. There are a lot of \index{cat+stray}stray cats, but only a few of them are \index{cat+Siamese}Siamese. \placeindex Produces only see Underware under d in Index, without Dolly. MkII works fine. Regards, Vedran Miletić ___ 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] Footnote disappears (TABLE, itemize)
2011/3/20 Wolfgang Schuster schuster.wolfg...@googlemail.com Am 20.03.2011 um 22:08 schrieb Vedran Miletić: Hi, the following code makes first footnote disappear. \starttext \placetable{My table}{\bTABLE \bTR \bTD {\bf Something} \eTD \bTD \startitemize[1, packed] \item First \item Second\footnote{test1} hello \item Third\footnote{test2} hello \stopitemize \eTD \eTR \eTABLEbody \eTABLE} \stoptext Add \automigrateinserts or use local footnotes, be aware that floats and footnotes don’t work well together. Thanks, but please consider this: \starttext \placetable{My table}{\bTABLE \bTR \bTD {\bf Something} \eTD \bTD \startitemize[1, packed] \item First\footnote{test1} hello \item Second\footnote{test2} hello \stopitemize \eTD \eTR \eTABLEbody \eTABLE} \stoptext both footnotes now appear; or even this: \starttext \placetable{My table}{\bTABLE \bTR \bTD {\bf Something} \eTD \bTD \startitemize[1, packed] \item First\footnote{test1} hello \item Second\footnote{test2} hello \item Third\footnote{test3} hello \stopitemize \eTD \eTR \eTABLEbody \eTABLE} \stoptext all three footnotes appear. Regards, Vedran Miletić ___ 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 disappears (TABLE, itemize)
Hi, the following code makes first footnote disappear. \starttext \placetable{My table}{\bTABLE \bTR \bTD {\bf Something} \eTD \bTD \startitemize[1, packed] \item First \item Second\footnote{test1} hello \item Third\footnote{test2} hello \stopitemize \eTD \eTR \eTABLEbody \eTABLE} \stoptext Vedran Miletić ___ 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] Ideas for restructuring the ConTeXt garden?
2011/3/14 Carlos Breton Besnier breton.car...@gmail.com 2011/3/12 Florian Wobbe florian.wo...@awi.de Maybe we should start a discussion in a new thread to find out: 5) how to better promote context to new/latex users? I think is needed a installation guide for non-technical. A guide not only for programmers but a simple guide for dummies. Like me, I am no-developer, I write law books. Latex installation and update is very simple for beginners. On Windows with MiKTeX, everyone can write very soon his first document. Not so with ConTeXt, except old stand-alone installation. It's cause of frustration and after several attempts they give up. Then they return to LaTeX (like me too). Well, with TeX Live 2010 it's very simple to use MkII with both pdfTeX and XeTeX. Hopefully, some future version of TeX Live (2011?) will offer the same for MkIV. Script is already there, it's just not integrated with TeXworks in TeX Live yet. Regards, Vedran Miletić ___ 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] + in file names
2011/3/14 Peter Münster pmli...@free.fr Vedran Miletić riva...@gmail.com writes: Should + not be used? It seems to work ok without modes, but I haven't tested deeply. There is now an entry in the FAQ: http://wiki.contextgarden.net/FAQ#Why_should_I_only_use_letters.2C_digits_and_hyphens_in_file.2Fpath_names.3F Thanks, but this says nothing about + character specifically. Shouldn't it be in the same category as -? Regards, Vedran Miletić ___ 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] 620 pages limit?
2011/3/14 luigi scarso luigi.sca...@gmail.com On Mon, Mar 14, 2011 at 5:22 PM, Taco Hoekwater t...@elvenkind.com wrote:Not here: \starttext \dorecurse{5000} {\input knuth \page } \stoptext pagesflushing realpage 3987, userpage 3987 PANIC: unprotected error in call to Lua API (stack overflow (out of stack space)) mtx-context | fatal error: return code: 1 with latest minimals. Same here on Linux, 32-bit. Regards, Vedran Miletić ___ 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] + in file names
Consider two .tex files located at http://www.inf.uniri.hr/~vmiletic/art-pre/ with same content: context --mode=article art-pre.tex works right, context --mode=article art+pre.tex fails with ! Undefined control sequence. system tex error on line 7 in file art+pre.tex: Undefined control sequence ... Should + not be used? It seems to work ok without modes, but I haven't tested deeply. Regards, Vedran Miletić ___ 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] module bib outdated?
2011/3/12 Hans van der Meer h.vanderm...@uva.nl I suspect the cause of the problem in an earlier post is due to the line: \usemodule [bib] resulting in an error about an outdated module. What should I use instead? I believe that bib is now part of the core, so that line isn't necessary. Regards, Vedran Miletić ___ 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] Line spacing on a cover page
2011/3/10 John Haltiwanger john.haltiwan...@gmail.com To me the space between 'Freed' and 'by' looks awkward: \starttext \startalignment[left] \bgroup \switchtobodyfont[72pt] {\ss Freed \par by \par Design} \egroup \stoptext -- Should I be using \start..\stoplines ? or is this a bug? It could be just an impression. By the way, how abou this instead: \starttext \startalignment[left] \definedfont[Sans at 72pt] {Freed \blank by \blank Design} \stopalignment \stoptex This way, you can control how much blank space you want. Regards, Vedran Miletić ___ 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] Acrobat JavaScript in ConTeXt
Dana 8. ožujka 2011. 00:29 Hans Hagen pra...@wxs.nl je napisao/la: On 7-3-2011 5:11, Vedran Miletić wrote: Hi, how can one make a button that does app.alert() in ConTeXt? I tried something like this without much luck: \setupinteraction[state=start] \starttext \goto{Button}[JS(app.alert{Hello World})] \stoptext Can anyone help? \startJSpreamble MyStuff used later function MyAlert(str) { app.alert(str) } \stopJSpreamble \goto{Button}[JS(MyAlert{Hello World})] so, we have a separation between definitions and usage. Thanks, it works! I have two further questions: 1) how to deal with commas in strings? MyAlert{Hello, World} displays only Hello. 2) is it possible to get international charcters (such as čćžšđ) in strings? Regars, Vedran Miletić ___ 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] Acrobat JavaScript in ConTeXt
Hi, how can one make a button that does app.alert() in ConTeXt? I tried something like this without much luck: \setupinteraction[state=start] \starttext \goto{Button}[JS(app.alert{Hello World})] \stoptext Can anyone help? Regards, Vedran Miletić ___ 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] Layers on simpleslides
Hi, I'm trying to insert a simple logo on a simpleslides slide, but for some reason it doesn't appear: \usemodule[simpleslides] \definelayer[mybg] [x=0mm, y=0mm, width=\paperwidth, height=\paperheight] \setlayer[mybg] [hoffset=1cm, voffset=1cm] {\framed[frame=on, width=3cm, height=2cm]{LAYER}} \setupbackgrounds[page][background=mybg] \starttext \SlideTitle{Bla} Bla \stoptext Any ideas? Regards, Vedran Miletić ___ 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] references
2011/3/1 Stefan Müller warrence@gmx.de On 28.02.2011 17:58, Wolfgang Schuster wrote: Am 28.02.2011 um 17:38 schrieb Stefan Müller: I just learned that some of those labels are, in fact, reused. That caused some confusion when I tried something like \setuplabeltext[en][section=section~] Is there a list or something which labels alexist and what values they have? Only the source files, mkii gets the labels from the lang-xxx.mkii files and mkiv from lang-lab.lua. What you can do is to list them on the wiki. Wolfgang Only for clarification: did you mean lang-txt.lua with a lot stuff like ... july={ labels={ af=julie, ... in it? Or is there something wrong with my files (couldn't find this file at http://source.contextgarden.net/tex/context/base only on my harddrive...)? That's because that repository is quite a bit out of date; the file was introduced quite recently. Regards, Vedran Miletić ___ 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] DejaVu in minimals
Kudos for including DejaVu in minimals. Regards, Vedran Miletić ___ 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] Missing space between numbers in \showcolor (MkIV only)
\starttext \showcolor[rgb] \stoptext Numbers are next to each other. In MkII (with \setupcolors[state=start]) it looks OK. Regards. Vedran Miletić ___ 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] interaction color ?
2011/2/3 Mojca Miklavec mojca.miklavec.li...@gmail.com On Thu, Feb 3, 2011 at 12:18, Wolfgang Schuster wrote: Am 03.02.2011 um 12:13 schrieb Steffen Wolfrum: Hi, when running (MkIV) the example below I get darkred instead of blue. What can I do to change these? Add “contrastcolor=blue”. http://wiki.contextgarden.net/Interaction#Link_coloring Wolfgang But has the bug with random coloring of links ever been resolved? (I usually get randomly alternating colors with active interaction.) Probably not. I also still have it. Regards, Vedran Miletić ___ 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] error updating beta WAS: beta
2011/2/2 Hans Hagen pra...@wxs.nl On 2-2-2011 1:41, Peter Münster wrote: Hans Hagenpra...@wxs.nl writes: no, i'm still trying to get mkii and mkiv working at the same time with a fundamental different setup strategy .. getting there Or perhaps 2 completely different distributions? mkii: frozen, only some fixes from time to time mkiv: no more mkii files, no more pdftex, just pure mkiv this can already be done (just install with the --engine=luatex flag) the main issue is that mtxrun also replaces the ruby texmfstart script and texexec is launched via mtxrun; so mtxrun needs to be able to deal with mkii situations where kpse is used for lookups later on; as the installer uses the --tree option, and as mkiv has an abstract notion of the texroot, some hoops have to be jumped through to get it working for both machineries You mentioned earlier that texexec could be replaced by mtxrun completely, that only a bit is missing. Would this solve the problem? Regards, Vedran Miletić ___ 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] error updating beta WAS: beta
2011/2/1 Hans Hagen pra...@wxs.nl On 1-2-2011 1:40, Marco wrote: Hi, I get the following error while updating minimals: MTXrun | run: texexec --make --all --fast --xetex cont-nl cont-enTeXExec | using search method 'kpsewhich' TeXExec | using existing database TeXExec | using tex engine xetex TeXExec | using tex format path /nonesuch/texmf/web2c/xetex TeXExec | generating tex format cont-nl.mkii This is XeTeX, Version 3.1415926-2.2-0.9995.2 (Web2C 7.5.6) (INITEX) entering extended mode ! I can't find file `cont-nl.mkii'. * *cont-nl.mkii (Press Enter to retry, or Control-D to exit) Please type another input file name: can you run mktexlsr manually? Hans Same here. Running mktexlsr manually works, but it doesn't help next ./first-setup run. Regards, Vedran Miletić ___ 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] beta
2011/2/1 Jörg Hagmann joerg.hagm...@unibas.ch On 2/1/11 3:46 PM, luigi scarso wrote: On Tue, Feb 1, 2011 at 3:38 PM, Jörg Hagmannjoerg.hagm...@unibas.ch wrote: Conclusion: Installing the actual minimals in a hidden file doesn't work, in a visible one it does. Not sure if it's a bug or feature. If I understand correctly, mkii works ok in hidden folders, but mkiv no. I suspect then a bug in names resolver which in this situation it's ok . (perhaps you can try with /Users/bonasia/a.context-new ) Doesn't work either. Well - my context directory doesn't have to be hidden - why hide a pretty thing? Regards, Jörg Yes, there is a bug when using dots, someone recently triggered it when using versioned names (context-2011.01.18 or something). Not sure if it can be fixed. Regards, Vedran Miletić ___ 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] math mode underbar broken ?
2011/1/26 Steffen Wolfrum cont...@st.estfiles.de Hi, I just came across this discrepancy: \starttext \startformula H_1 + H_A = f(\underbar{α}) \stopformula $ H_1 + H_A = f(\underbar{α}) $ \startformula H_1 + H_A = f(\overbar{α}) \stopformula $ H_1 + H_A = f(\overbar{α}) $ \stoptext Is this known or is under/overbar broken in display math mode? Steffen (2011.01.14 14:44 MKIV) IIRC, this has been broken for a while. Regards, Vedran Miletić ___ 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] MTXrun
2011/1/23 Herbert Voss herbert.v...@fu-berlin.de What is the meaning of MTX in the name of the script? Herbert Could be MetaTeX. Regards, Vedran ___ 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] ConTeXt does not execute MetaPost (in debian experimental)
2011/1/11 Mojca Miklavec mojca.miklavec.li...@gmail.com It should probably be called texmfcnf.lua instead of contextcnf.lua. And there's also a high chance that the settings in that file are wrong if you just took the file from distribution. The settings should somehow match the contents in texmf.cnf. (What version of ConTeXt is this?) 2010.07.30, according to http://packages.debian.org/search?keywords=context Regards, Vedran Miletić ___ 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] Selecting pdf version
2011/1/2 luigi scarso luigi.sca...@gmail.com On Sun, Jan 2, 2011 at 3:20 PM, Jean-Philippe Rey jean-philippe@ecp.fr wrote: Dear all, I am looking for a way to choose the pdf version generated by ConTeXt. On my system, ConTeXt produces pdf 1.5 files, but my printshop doesn't like them and asks for pdf 1.4 files. Is there a way to tell ConTeXt to produce pdf 1.4 files ? \pdfminorversion4 I'm pretty sure that this doesn't actually disable extra features, just writes a different minor version. So PDFs might still break in printshop. Regards, Vedran Miletić ___ 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] contextgarden.net
2010/12/18 Mojca Miklavec mojca.miklavec.li...@gmail.com creating some safe environment to enable running mkiv on the server, I'm actually working on this specifically. It will Python/Django/PostgreSQL-based and it will (hopefully) be ready before summer semester starts here, which is 1.3.2011. We will use it inside of a virtual machine, so I can't speak for security. Regards, Vedran Miletić ___ 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] beta
2010/12/18 Hans Hagen pra...@wxs.nl Hi, I uploaded a new beta (not that much done, waiting for the new luatex bins to settle). There's also an updated zip with test files. There will probably be a current before 2011 but Taco and I need to coordinate that a bit. Hans Could you please look into alternating green-red color of references? IIRC Mojca posted a minimal example was back in September/October, but I can't find it. It can be seen in http://pmrb.free.fr/contextref.pdf Regards, Vedran Miletić ___ 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] 4000 pages limit?
2010/12/17 Taco Hoekwater t...@elvenkind.com On 12/17/2010 07:52 AM, luigi scarso wrote: On Fri, Dec 17, 2010 at 12:04 AM, Jonas Steinn...@jonasstein.de wrote: 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 } \starttext \dorecurse{5}{ \input knuth }\stoptext also fails after page [1619.1619]) with ! TeX capacity exceeded, sorry [pool size=1254582]. That is mkii, right? (I am not interested in that) PANIC: unprotected error in call to Lua API (stack overflow (out of stack space)) I think that is a bug, or not? yes, I think so. Yes it was a bug, fixed in the luatex source repository now. How high is the limit now? Just curious, since I saw LuaTeX building _a paragraph_ lasting few hundred pages without problems (on the other hand, pdfTeX couldn't do it). Regards, Vedran Miletić ___ 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] \par in end of define fails
2010/12/16 Jonas Stein n...@jonasstein.de \define[1]\myoneliner{#1 \par } raises an error. \define[1]\myoneliner{#1 \endgraf} works fine. Thank you! This is also nicely covered in TeXBook. Alternatively \long\def might work. \long\define[1]\myoneliner{#1 \par } fails too \long\def\myoneliner#1{#1 \par} should work. Regards, Vedran Miletić ___ 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 ConText Group
2010/12/12 Willi Egger w.eg...@boede.nl Dear ConTeXt users! We are proud to announce that the ConTeXt community has its own users-organisation. The new association is called ConTeXt Group and registered in France. You can see the registration on: http://www.journal-officiel.gouv.fr/association/index.php?ACTION=RechercherJTY_WALDEC=W353009428 . The association will organize the ConTeXt meetings and will try to issue a printed magazine. Current board members are: President Arthur Reutenauer Treasurer Adelheid Grob Secretary Willi Egger Committee members: Jano Kula , John Haltiwanger, Mojca Miklavec, Thomas Schmitz Shortly we will come up with more information. The temporary web-site is http://group.contextgarden.net/. Happy ConTeXing! Willi Egger Secretary ConTeXt-Group Great! Vedran Miletić ___ 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
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 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] \SetTableToWidth undefined?
2010/12/7 Hans Hagen pra...@wxs.nl On 7-12-2010 2:00, Khaled Hosny wrote: But I'm using \SetTableToWidth right now to set the width for all tables at once, what is replacement of that (I'm using texlive right now, and I hate to break the brand new document when I switch back to minimals). just do \setuptables[textwidth=...] then (once) Why setuptables, why not just setuptable? Regards, Vedran Miletić ___ 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] Saveable PDF-Files for Adobe Reader
2010/12/10 Martin Schröder mar...@oneiros.de 2010/12/8 Daniel Grycman daniel.gryc...@rub.de: how can I create saveable PDF-Files with ConTeXt for Adobe Reader? You can not (if you mean adding comments or saving form fields). Please complain to Adobe about this. Not true for Reader X. It supports highlighting and adding comments. Regards, Vedran Miletić ___ 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] \SetTableToWidth undefined?
Dana 10. prosinca 2010. 12:28 Hans Hagen pra...@wxs.nl je napisao/la: On 8-12-2010 1:00, Vedran Miletić wrote: Why setuptables, why not just setuptable? has always been the case .. you set them up all at once Oh, I see it's also mentioned in reference. Thanks. Vedran Miletić ___ 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] \SetTableToWidth undefined?
2010/11/30 Richard Stephens richard.steph...@converteam.com Hello all, I have just noticed that \SetTableToWidth does not work in MKIV. Simple example below. \starttext \SetTableToWidth{8cm} \starttable[|l|l|] \NC One \NC Two \NC\SR \NC Three \NC Four \NC\LR \stoptable \stoptext I get the error: ! Undefined control sequence. l.3 \SetTableToWidth {8cm} It does work in MKII and also works if you use \tableSetTableToWidth. Have I missed something, is something wrong or is it just me? Same here. Regards, Vedran Miletić ___ 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: colors in TikZ/ConTeXt MKIV
2010/11/26 Mojca Miklavec mojca.miklavec.li...@gmail.com Dear Till/Christian/Hans, The following is broken in ConTeXt MKIV (assuming the usage of patched TikZ to allow running it under MKIV at all), but works fine in ConTeXt MKII: \usemodule[tikz] \starttext \starttikzpicture \node[circle,ball color=red!10] (a) at (0,0,0) {$p_x$}; \stoptikzpicture \stoptext Mojca Same here. Regards, Vedran Miletić ___ 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] Ugly bug with TikZ in recent ConTeXt MKIV
2010/11/18 Hans Hagen pra...@wxs.nl After some tracing and hard thinking Taco and I found interesting spaces showing up in the output that result from a kludge in tikz: Normally one will use \ignorespaces to catch spurious spaces but tikz invokes \nullfont assuming that its fontdimen 2 is zero. But, in context it no longer is (prelude to delayed font loading). You can put this in cont-new.mkiv as a temporary hack \let\normalnullfont\nullfont \def\nullfont {\fontdimen1\normalnullfont\zeropoint \fontdimen2\normalnullfont\zeropoint \fontdimen3\normalnullfont\zeropoint \fontdimen4\normalnullfont\zeropoint \fontdimen5\normalnullfont\zeropoint \fontdimen6\normalnullfont\zeropoint \fontdimen7\normalnullfont\zeropoint \normalnullfont} Perhaps this should be forwared to Christian Feuersaenger. He is very open to bug reports and will probably be willing to fix it in some way in TikZ. Regards, -- Vedran Miletić ___ 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] [OT] Adobe Reader X released
Adobe silently released Reader X, for now only for Windows. It can be downloaded from: http://www.adobe.com/go/EN_US-H-GET-READER Installer for offline installation can be downloaded from. ftp://ftp.adobe.com/pub/adobe/reader/win/10.x/10.0.0/en_US/ It allows saving PDF after adding comments or highlighting text. AFAIR, Reader 9 didn't offer that. Regards, -- Vedran Miletić ___ 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] Croatian translation of core-mis.mki[iv] and m-units.tex
Hi, I translated the strings in core-mis.mki[iv] and m-units.tex to Croatian. Updated files are here: http://www.inf.uniri.hr/~vmiletic/context/core-mis.mkii http://www.inf.uniri.hr/~vmiletic/context/core-mis.mkiv http://www.inf.uniri.hr/~vmiletic/context/m-units.tex There are many more strings in m-units.tex that could (and probably should) be translated, if this code will remain in use (since Hans and Wolfgang talked about new module for units). Regards, -- Vedran Miletić ___ 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] Tikz figures not centred
2010/11/11 Michael Murphy michael.mur...@uni-ulm.de Hi, I've been having some problems with tikz figures. When I define a new tikz figure, I normally put it in a buffer: \startbuffer[mypic] \starttikzfigure ... \stoptikzfigure \stopbuffer which I use later when I place the figure \placefigure{My picture}{\getbuffer[mypic]} The problem is that the figure is not centred: it is always aligned with the left side of the document. I guess this has something to do with Context not being able to get the image bounds, since it works fine for tikz images that are already precompiled into PDFs: \placefigure{My picture}{\externalimage[mypic.pdf]} Minimal example is attached. Michael. You have to wrap up the picture inside of a \hbox, e.g. \hbox{\starttikzfigure ... \stoptikzfigure} Regards, -- Vedran Miletić ___ 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] \startmode and \startcomment inside of \def
Hi, I would like to define something like this: \def\startSolution{\startmode[solutions]...} \def\stopSolution{...\stopmode} But when I use \startSolution and \stopSolution, and mode solutions isn't enabled, I get something like Runaway argument? aaa \stopSolution \stoptext ! File ended while scanning use of \dostopmode. system error on line 0 in file : File ended while scanning use of \dostopmode ... What's the proper way of doing this? -- Vedran Miletić ___ 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] \startmode and \startcomment inside of \def
2010/11/7 Wolfgang Schuster schuster.wolfg...@googlemail.com Am 07.11.2010 um 19:42 schrieb Vedran Miletić: Hi, I would like to define something like this: \def\startSolution{\startmode[solutions]...} \def\stopSolution{...\stopmode} But when I use \startSolution and \stopSolution, and mode solutions isn't enabled, I get something like Runaway argument? aaa \stopSolution \stoptext ! File ended while scanning use of \dostopmode. system error on line 0 in file : File ended while scanning use of \dostopmode ... What's the proper way of doing this? Use \startmode[...] ... \stopmode in your document without your own Solution environment or define the environment as \definebuffer[Solution][local=yes] \startmode[solutions] \setupbuffer[Solution][local=no] \stopmode \starttext ... \startSolution solution \stopSolution ... \stoptext How would I then do something like this? \def\startSolution{\startmode[solutions]\startframedtext} \def\stopSolution{\stopframedtext\stopmode} -- Vedran Miletić ___ 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] Section number inside TABLE
Consider the following code: %\setuphead[section][after={\hairline}] \starttext \bTABLE \bTR \bTD \section{my section} \input tufte \eTD \eTR \eTABLE \stoptext There are two things that are worth mentioning: 1. When compiling with either MkIV or MkII, section number will appear as 3. 2. Uncommenting the setuphead line makes number appear as 4 in MkII, MkIV doesn't change. Any ideas? -- Vedran Miletić ___ 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] Wiki: ConTeXt vs. LaTeX and others
2010/11/4 Aditya Mahajan adit...@umich.edu Perhaps do you have ideas, how to improve it? Perhaps a better way is to update (and wikify) Berend de Boer's LaTeX in proper ConTeXt. Aditya +1 -- Vedran Miletić ___ 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] Section number inside TABLE
2010/11/4 Wolfgang Schuster schuster.wolfg...@googlemail.com Am 04.11.2010 um 10:36 schrieb Vedran Miletić: Consider the following code: %\setuphead[section][after={\hairline}] \starttext \bTABLE \bTR \bTD \iftrialtypesetting\else \section{my section} \fi \input tufte \eTD \eTR \eTABLE \stoptext Thanks! What do you want to achieve with this, maybe there is a better solution for your problem. It's an attempt to reconstruct in ConTeXt our university standard table form for course description, that looks like: http://www.inf.uniri.hr/~vmiletic/context/plan-i-program-tablica.png (This is a screenshot from a Word doc which I'm not sure whether I'm allowed to post or not.) Any ideas? -- Vedran Miletić P.S. Thanks for so quick responses! ___ 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] A bit weird \underbar behaviour (MkIV only)
Dana 24. listopada 2010. 12:41 Hans Hagen pra...@wxs.nl je napisao/la: On 24-10-2010 12:34, Vedran Miletić wrote: \starttext $y = \underbar{g a w}$. \stoptext \starttext \underbar{$y = g a w$}. \stoptext does work .. it probably relates to limitations in attribute assignment in mathmode .. you can add a tracker item for it so that I keep an eye on it. Are you sure? Many other three letter combinations (e.g. a b c) seem to work. -- Vedran Miletić ___ 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] A bit weird \underbar behaviour (MkIV only)
The code \usemodule[units] \starttext $y = \underbar{20 \Mega\Bit\Per\Second}$. \stoptext produces space before y and it and y get underbared. MkII produces an expected result. On the other hand, in \starttext $y = \underbar{g a w}$. \stoptext underbar doesn't appear (other letter combinations I tried seem to work). MkII can't compile this and ends with ! Incompatible list can't be unboxed. -- Vedran Miletić ___ 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] Problem processing a non-UTF8 Lua script
2010/10/21 Procházka Lukáš l...@pontex.cz: Or how to make Ctx work with non-UTF8 Lua files? Lukas NB: Latest minimals, WinXP. Notepad supports saving to UTF-8. Can't you rather convert your files to it? -- Vedran Miletić ___ 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] metafun
2010/10/20 Mojca Miklavec mojca.miklavec.li...@gmail.com: On Wed, Oct 20, 2010 at 14:03, Hans Hagen wrote: We still have to find out which manuals (also new ones) should become available Offtopic: I would vote for TikZ manual (if author is still reachable). Mojca He is, and he sometimes commits patches (even though most of the works is done by Christian Feuersaenger). See this: http://www.texample.net/tikz/ Off-topic: next release of TikZ/PGF is due very soon[1], so this wouldn't be the right time to print manual for 2.0. Regards, -- Vedran Miletić [1] http://bitbucket.org/rivanvx/beamer/issue/67/vertical-offset-of-slide-content-for-pages-1-with-current#comment-266195 ___ 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] TeXexec MkII, ConTeXt MkIV
2010/10/3 Hans Hagen pra...@wxs.nl: % engine=pdftex at the top of the file and the context script will understand that ad run texexec ... handy if you run context from within an editor and only want one command A bit off topic: is there still a plan to reimplement texexec in Lua and get rid of dependancy on Ruby? -- Vedran Miletić ___ 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] TeXexec MkII, ConTeXt MkIV
Datuma 3. listopada 2010. 12:30 Hans Hagen pra...@wxs.nl je napisao/la: in principle the context script can replace the texexec one apart from index sorting; I have a lua variant of that somewhere but untested If you are willing to post it, I'm willing to test it. -- Vedran Miletić ___ 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] MikTeX 2.9
2010/9/28 Mojca Miklavec mojca.miklavec.li...@gmail.com: Dear list, Just to let you know - ConTeXt in MikTeX is back. There are some minor issues, but MKIV works almost out of the box. For the time being the version of ConTeXt in MikTeX is the same as in TeX Live. Does that mean that there are plans to eventually put newer ConTeXt versions in MikTeX? -- Vedran Miletić ___ 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] MKIV/MKII Survey
2010/9/26 Mojca Miklavec mojca.miklavec.li...@gmail.com: (was: Info about creating modules for beginners.) On Sun, Sep 26, 2010 at 19:51, Peter Münster wrote: Hello, It would be interesting, to know how many people actually use mkii. Perhaps a survey on the wiki...? I would be interested in that as well. However, a very relevant question would be - how to get unbiased results? (I guess there is quite some correlation between being active mailing list user and being MKIV user, apart from the fact that a newbie might simply type the command context without ever realizing the difference between MKII and MKIV.) Mojca PS: if we do make a Survey, I would prefer any free tool that's better in creating surveys (as opposed to change the number on wiki by one). When we did survey on the topic of attitude towards mathematics two years ago, we used LimeSurvey[1] and it was quite good. -- Vedran Miletić [1] http://www.limesurvey.org/ ___ 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] Super Wolfgang !
2010/9/19 luigi scarso luigi.sca...@gmail.com: http://meeting.contextgarden.net/2010/talks/2010-09-17-closing/wolfgang-color.jpg Awesome! :D -- Vedran Miletić ___ 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] Designing a ConTeXt thesis template
2010/9/14 Mojca Miklavec mojca.miklavec.li...@gmail.com: On Tue, Sep 14, 2010 at 23:05, Andreas Harder wrote: 1) Footnotes and other references' colors alternate between red and green (eg. page 7). \setupinteraction[state=start,color=green,contrastcolor=green] But that is not the solution ... the color should not alternate since the alternation is completely random (I had the same problem even if I didn't check the linked examples). Mojca I will try to construct a minimal example later; it takes more than two footnotes to trigger it. -- Vedran Miletić ___ 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] Designing a ConTeXt thesis template
Hi guys, I'm designing a student BSc and MSc/MEd thesis template for our department[1]. Our student volunteered to help me by doing his thesis in ConTeXt, so I could really see what we have to fix or work around. We actually managed to figure out lots of things thanks to mp-cb-en.pdf, but we still have some problems (MkIV only, in MkII it seems to work OK). 1) Footnotes and other references' colors alternate between red and green (eg. page 7). 2) One footnote from TABLE, gets lost, while the other one appears normally (eg. page 28). 3) Reference in PDF bookmarks to 4.3 Konsolidacija doesn't get created properly. Same for 6.3. 4) Last figure in list of figures's link is broken (page 13), and so are almost all links in list of tables (page 11) PDF is here: http://www.inf.uniri.hr/~vmiletic/context/d-thes-inf-diplomski.pdf Source is here: http://www.inf.uniri.hr/~vmiletic/context/d-thes.zip (ignore the lack of bibliography, it doesn't affect anything mentioned above) Thanks in advance for any help. -- Vedran Miletić [1] http://www.inf.uniri.hr/ ___ 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] Units fonts and spacing
2010/9/9 Wolfgang Schuster schuster.wolfg...@googlemail.com: \textdimensionstrue Awesome. Are there any other useful switches? -- Vedran Miletić ___ 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] Units fonts and spacing
2010/9/10 Hans Hagen pra...@wxs.nl: Is the new module with the old syntax (10 \Meter etc.) or a new one. first I'm redoing digits with regards to the units themselves, we can do both: \Meter \Per \Second and m/s) .. i'm still considering doing it at the node end .. typical dark winternight work with a movie/talkshow on tv in the background Hans Will siunits module be used as a base for this or will this be something completely new? -- Vedran Miletić ___ 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] Units fonts and spacing
To add a bit to this thread: just checked the siunits module, it's awesome. Spacing is right, sans font units work out of the box, no need for \ after the units and syntax for adding new units is very simple. I have a couple of questions: 1. How to change decimal separator and thousand separator? 2. Should'nt \siunit[thousandgroup=4]{1} produce 1 instead of 1. to be consistent with default thousandgroup=3? 3. \ss $\siunit{\square\kilo\meter}$ will produce all roman, but square will be sans. Why? -- Vedran Miletić ___ 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] Units fonts and spacing
Hello, can m-units be made to adjust it's font style to local font? For example \usemodule[units] \starttext \ss 1 \Bit\Per\Second \stoptext will still use serif font for units. Also, can m-units be set up to use spacing like 1\,\Bit\Per\Second instead of normal spacing? I saw there are some definitions for that in m-units.tex, but haven't found a way to activate them. Thanks, -- Vedran Miletić ___ 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] Wanted: ConTeXt: The poster
2010/9/7 Martin Schröder mar...@oneiros.de: Hi, for use at a conference booth I'd like to have a poster (A3 up to A0) describing (and of course promoting) ConTeXt. You may assume that the audience already knows (La)TeX. :-) The first use would be at OpenRheinRuhr in November. Since most ConTeXt developers will be together next week, could you please spend some time creating one? A short (say 20 frames) PDF presentation on the same subject would also be nice to have. Second both of that. That would be great to have. Regards, -- Vedran Miletić ___ 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] \underbar acts like \underbars (MkIV only)
Datuma 10. kolovoza 2010. 00:22 Hans Hagen pra...@wxs.nl je napisao/la: fixed in next beta Thank you! -- Vedran Miletić ___ 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] \underbar acts like \underbars (MkIV only)
Hi, it seems like \underbar acts like \underbars in latest beta MkIV. 2010.05.24 from TL2010 works fine. Regards, -- Vedran Miletić ___ 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] \underbar acts like \underbars (MkIV only)
Datuma 9. kolovoza 2010. 14:32 Hans Hagen pra...@wxs.nl je napisao/la: On 9-8-2010 2:01, Vedran Miletić wrote: Hi, it seems like \underbar acts like \underbars in latest beta MkIV. 2010.05.24 from TL2010 works fine. example needed Perhaps this helps: http://www.inf.uniri.hr/~vmiletic/context/blah.tex -- Vedran Miletić ___ 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 ___