Re: [NTG-context] tabulate \midaligned
On Thu, Nov 29, 2012 at 8:11 AM, Procházka Lukáš Ing. - Pontex s. r. o. l...@pontex.cz wrote: Hello, the \start/stop-tabulate doesn't work inside \midaligned: \def\T{% \starttabulate[|r|l|] \NC c \NC centered \NC \AR \NC l \NC left aligned \NC \AR \NC r \NC right aligned \NC \AR \stoptabulate } \starttext \T % This is OK \midaligned{\T} % This fails \stoptext Why? - How to make it work? \midaligned{\vbox{\T}} % This should be ok -- luigi ___ If your question is of interest to others as well, please add an entry to the Wiki! 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] tabulate \midaligned
... Thanks, it works! Best regards, Lukas On Thu, 29 Nov 2012 09:05:38 +0100, luigi scarso luigi.sca...@gmail.com wrote: On Thu, Nov 29, 2012 at 8:11 AM, Procházka Lukáš Ing. - Pontex s. r. o. l...@pontex.cz wrote: Hello, the \start/stop-tabulate doesn't work inside \midaligned: \def\T{% \starttabulate[|r|l|] \NC c \NC centered \NC \AR \NC l \NC left aligned \NC \AR \NC r \NC right aligned \NC \AR \stoptabulate } \starttext \T % This is OK \midaligned{\T} % This fails \stoptext \midaligned{\vbox{\T}} % This should be ok -- luigi -- Ing. Lukáš Procházka [mailto:l...@pontex.cz] Pontex s. r. o. [mailto:pon...@pontex.cz] [http://www.pontex.cz] Bezová 1658 147 14 Praha 4 Tel: +420 244 062 238 Fax: +420 244 461 038 ___ If your question is of interest to others as well, please add an entry to the Wiki! 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] \cldcommand
Hello, the following shortening \ctxlua{commands.doif to \cldcommand{doif doesn't work as I'd expect, although it should be equal: \starttext A \ctxlua{commands.doif(true)}{T} % Gives T - that's OK \cldcommand{doif(true)}{t} % Gives nothing; why? B \stoptext Probably very basic question... What am I doing wrong? Best regards, Lukas -- Ing. Lukáš Procházka [mailto:l...@pontex.cz] Pontex s. r. o. [mailto:pon...@pontex.cz] [http://www.pontex.cz] Bezová 1658 147 14 Praha 4 Tel: +420 244 062 238 Fax: +420 244 461 038 t-CldCmd.mkiv Description: Binary data t-CldCmd.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] \cldcommand
On 11/29/2012 9:32 AM, Procházka Lukáš Ing. - Pontex s. r. o. wrote: Hello, the following shortening \ctxlua{commands.doif to \cldcommand{doif doesn't work as I'd expect, although it should be equal: \starttext A \ctxlua{commands.doif(true)}{T} % Gives T - that's OK \cldcommand{doif(true)}{t} % Gives nothing; why? B \stoptext Probably very basic question... What am I doing wrong? indeed as it's \ctxcommand the \cldcommand does a context.doif an that one takes three arguments so you've something to wikify: : \starttext A \ctxlua{commands.doif(true)}{one} B \cldcommand{doif(a,a,two)} C \ctxcommand{doif(true)}{three} D \stoptext - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] \setupbreakpoints[compound] does not work?
Hi, in the following example I use \setbreakpoints[compound], I understood, that word-breaking would be made (or preferred) at hyphens. There could be a perfect line break at the hyphen of -CC, but there is no break, and instead the complete word AA-BB-CC is printed, then partially in the margin. \setbreakpoints[compound] \showframe \version[temporary] \starttext ...AA-BB-CC. And the next sentence. \stoptext Why that does not work? Huseyin ___ If your question is of interest to others as well, please add an entry to the Wiki! 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] \cldcommand
On Thu, 29 Nov 2012 10:27:36 +0100, Hans Hagen pra...@wxs.nl wrote: On 11/29/2012 9:32 AM, Procházka Lukáš Ing. - Pontex s. r. o. wrote: indeed as it's \ctxcommand the \cldcommand does a context.doif an that one takes three arguments so you've something to wikify: : \starttext A \ctxlua{commands.doif(true)}{one} B \cldcommand{doif(a,a,two)} C \ctxcommand{doif(true)}{three} D \stoptext Thanks for explanation - added to http://wiki.contextgarden.net/Command/ctxcommand Best regards, Lukas -- Ing. Lukáš Procházka [mailto:l...@pontex.cz] Pontex s. r. o. [mailto:pon...@pontex.cz] [http://www.pontex.cz] Bezová 1658 147 14 Praha 4 Tel: +420 244 062 238 Fax: +420 244 461 038 ___ If your question is of interest to others as well, please add an entry to the Wiki! 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] No header and no page-number on empty pages
Hi there, there are some possibilities for getting empty pages in a book, f.e. if a new chapter begins (and by settings it may only begin on pages with odd pagenumber). In these cases I want the page-number and the headers to disappear on the empty page, it should be totally empty, if no text is in it. How to achieve that? Thanks Huseyin ___ If your question is of interest to others as well, please add an entry to the Wiki! 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] No header and no page-number on empty pages
On Thu, Nov 29, 2012 at 3:32 PM, H. Özoguz h.oezo...@mmnetz.de wrote: Hi there, there are some possibilities for getting empty pages in a book, f.e. if a new chapter begins (and by settings it may only begin on pages with odd pagenumber). In these cases I want the page-number and the headers to disappear on the empty page, it should be totally empty, if no text is in it. How to achieve that? Thanks Huseyin from http://wiki.contextgarden.net/Titles \definepagebreak [mychapterpagebreak] % [yes,header,right] %[yes,header,left] [yes,header,footer,right] \setuphead [chapter] [page=mychapterpagebreak] %[page=Mychapterpagebreak,header=empty,footer=empty] %\setupsectionblock[frontpart][page=chapter] %\setupsectionblock[bodypart][page=chapter] %\setupsectionblock[backpart][page=chapter] %\setupsectionblock[appendix][page=chapter] \setuppagenumbering[alternative=doublesided,location={header,margin}] \setupheadertexts[{My special headertext}] \setupfootertexts[This is a text in the footer] %\setupbackgrounds[header][text][bottomframe=on] \starttext \chapter{testA} \dorecurse{10}{\input tufte } \chapter{testB} \dorecurse{10}{\input tufte } \chapter{testC} \dorecurse{10}{\input tufte } \stoptext test-003.tex (END) -- luigi ___ If your question is of interest to others as well, please add an entry to the Wiki! 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] \setupbreakpoints[compound] does not work?
Am 29.11.2012 um 13:12 schrieb H. Özoguz h.oezo...@mmnetz.de: Hi, in the following example I use \setbreakpoints[compound], I understood, that word-breaking would be made (or preferred) at hyphens. There could be a perfect line break at the hyphen of -CC, but there is no break, and instead the complete word AA-BB-CC is printed, then partially in the margin. \setbreakpoints[compound] \showframe \version[temporary] \starttext ...AA-BB-CC. And the next sentence. \stoptext Why that does not work? It comes from the settings for hyphen, when you look at the definition \definebreakpoint [compound] [-] [nleft=3,nright=3,type=1] you can see it needs at least three characters at the left and right before a line break is inserted, When you change the settings to \definebreakpoint [compound] [-] [nleft=2,nright=2] a linebreak is inserted after the hyphen. You can also change the values only for a certain language when you add “language=…” to \definebreakpoint. Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] No header and no page-number on empty pages
Am 29.11.2012 um 15:32 schrieb H. Özoguz h.oezo...@mmnetz.de: Hi there, there are some possibilities for getting empty pages in a book, f.e. if a new chapter begins (and by settings it may only begin on pages with odd pagenumber). In these cases I want the page-number and the headers to disappear on the empty page, it should be totally empty, if no text is in it. How to achieve that? \setuphead [chapter] [page={yes,header,footer,right}] or \definepagebreak[chapterpage][yes,header,footer,right] \setuphead [chapter] [page=chapterbreak] Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Unresolved third-party modules
Hi, Wolfgang, I believe it doesn't matter what parameter is, because the files are downloaded successfully. I use not first-setup.sh, but my own Windows installer. One thing that is different from the last time I updated my Context (more than year ago), is texmf-modules folder in the root. So, now the path to fullpage is D:\contextminimal\texmf-modules\tex\context\third\fullpage while it was D:\contextminimal\texmf-context\tex\context\third\fullpage Maybe texmf-modules is not registered in the tree for some reason? Maybe, it needs a separate environment variable set, e.g. TEXMODULES?? Regards, Vyatcheslav ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] Standalone current
What, if anything, is the difference between the version of ConTeXt in the TeXLive distribution and the version one gets when running first-setup.sh --context=current --modules=all ? -- Bill Meahan Westland, Michigan USA ___ If your question is of interest to others as well, please add an entry to the Wiki! 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] Standalone current
On 11/29/2012 7:09 PM, Bill Meahan wrote: What, if anything, is the difference between the version of ConTeXt in the TeXLive distribution and the version one gets when running first-setup.sh --context=current --modules=all the texmfcnf.lua file - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Standalone current
On 11/29/2012 01:19 PM, Hans Hagen wrote: On 11/29/2012 7:09 PM, Bill Meahan wrote: What, if anything, is the difference between the version of ConTeXt in the TeXLive distribution and the version one gets when running first-setup.sh --context=current --modules=all the texmfcnf.lua file Thank you! That helps my understanding of the system. -- Bill Meahan Westland, Michigan USA ___ If your question is of interest to others as well, please add an entry to the Wiki! 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] Standalone current
Am 29.11.2012 19:19, schrieb Hans Hagen: On 11/29/2012 7:09 PM, Bill Meahan wrote: What, if anything, is the difference between the version of ConTeXt in the TeXLive distribution and the version one gets when running first-setup.sh --context=current --modules=all the texmfcnf.lua file and the version ... :-) ConTeXt Process Management 0.60 for TL: ConTeXt Process Management 0.52 and so a lot of other things ... Herbert ___ If your question is of interest to others as well, please add an entry to the Wiki! 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] toppath
Hello! Is 'toppath:' prefix working? I use it only with \component, \environment, \product, \project. It works even if I do like this: $ mkdir build $ cd build $ context ../src/products/assorted.tex context.exe Test\t-TopPath.mkiv In this situation compilation fails. How to make it work? It seems your observations in an e-mail below are right. Prefixes do not seem to work with \input. I don't know if prefixes are supposed to work or not with \input... but this issue is not related to toppath. Cheers, André Caldas. ___ If your question is of interest to others as well, please add an entry to the Wiki! 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] toppath
Hello! My case is more complicated - a file is included from more other files in various directory levels. I do this with \component: https://bitbucket.org/andrecaldas/math-video-classes/src/92a8e5b1a6eee07ed3475e20b54b0a566ab57738/src/products/assorted.tex?at=default André Caldas. ___ If your question is of interest to others as well, please add an entry to the Wiki! 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] toppath
On 11/29/2012 8:34 PM, Andre Caldas wrote: Hello! Is 'toppath:' prefix working? I use it only with \component, \environment, \product, \project. It works even if I do like this: $ mkdir build $ cd build $ context ../src/products/assorted.tex context.exe Test\t-TopPath.mkiv In this situation compilation fails. How to make it work? It seems your observations in an e-mail below are right. Prefixes do not seem to work with \input. I don't know if prefixes are supposed to work or not with \input... but this issue is not related to toppath. input is rather low level (we have \component, processfile, readfile etc instead) - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Unresolved third-party modules
On Thu, Nov 29, 2012 at 5:21 PM, Vyatcheslav Yatskovsky wrote: Wolfgang, I believe it doesn't matter what parameter is, because the files are downloaded successfully. I use not first-setup.sh, but my own Windows installer. One thing that is different from the last time I updated my Context (more than year ago), is texmf-modules folder in the root. So, now the path to fullpage is D:\contextminimal\texmf-modules\tex\context\third\fullpage while it was D:\contextminimal\texmf-context\tex\context\third\fullpage True. You need to account for that. But that's usually set up by texmf.cnf. Do you also set environmental variables for TEXMF? In case you do, you shouldn't. And then it should work out of the box, unless you also change texmf.cnf/texmfcnf.lua or anything else. Mojca ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] problems with units
Hi there, I encountered some problems with the built in units command in MKIV. I provide a minimal example which should demonstrate my problems. Maybe I am doing something wrong... Cheers, Andreas %MINIMAL EXAMPLE% \setupbodyfont[pagella] \starttext % this is just my default setting - if I comment the next line I get the same behaviour \setupunits[method=3,order=reverse,separator=small] \unit{11,1e-1 micro mol per second} \par %no effect if I change the separator (holds also for cdot) $\unit{11,1e-1 micro mol per second}$ \par %wrong spacing \unit{11,1e-1 per second} \par % one over is not working (no unit displayed) \unit{11,1e-1 / second} \par % one over not working (no unit displayed) \stoptext %MINIMAL EXAMPLE% ___ If your question is of interest to others as well, please add an entry to the Wiki! 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] request for a few volunteers to test distribution on new server
Dear ConTeXters, we will point the distribution to the new server later today (for a moment without any significant changes). Before we do that I would like to ask some of you to try out ./first-install.sh --server=distribution.contextgarden.net to make sure that I didn't do any obvious mistake on the way. The changes that I'm aware of are the following: 1.) changed names of math fonts deleting fonts/opentype/public/lm/lmmath-regular.otf deleting fonts/opentype/public/tex-gyre/texgyretermes-math.otf deleting fonts/opentype/public/tex-gyre/texgyrepagella-math.otf fonts/opentype/public/lm-math/lmodern-math.otf fonts/opentype/public/tex-gyre-math/texgyrepagella-math.otf fonts/opentype/public/tex-gyre-math/texgyretermes-math.otf 2.) some font documentation is missing, I forgot to include Asana Math (fixing it) and there are some euler fonts there were not present earlier (I need to look into that) 3.) gone: /doc, /experimental, /pragma, /texlive (none of those is used, but /doc is now under /current/doc) 4.) alpha and dated context versions are gone (hardly make any sense since they are too old and hardly usable) 5.) I see lots of (so far unexplained) changes in TikZ. I didn't try to figure out what those are. 6.) I didn't set up headers/footers/icons yet to make the few semi-(non-)useful notes on the website. Mojca (PS: there are other changes on the way, but I first want to make sure that the old distribution will keep working as it did now.) ___ If your question is of interest to others as well, please add an entry to the Wiki! 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] 'kern': TrueType table and GPOS lookup feature
Hi there, sorry for bothering again with this issue, but I need to be sure in order to properly report to the font developer of FreeSerif. I have the following file: \usemodule[simplefonts][size=25pt] \definefontfeature[latins][default][script=latn] \setmainfont[FreeSerif] \starttext \showfontkerns dadedidodufafefifofufrflftlalelilolutatetitotu\par \addfs{latins} dadedidodufafefifofufrflftlalelilolutatetitotu\par \stoptext The first line has no GPOS kern enabled and the second line has it. In order to report it to the font developer (I have the problem not with ConTeXt, but with my ereader [I used ConTeXt to check the font features), I have the following questions: -In the example above, is the old TrueType kern enabled on the first line? -If not, how can I enable it, without enabling the liga or kern OpenType features? I need this to see the actual kerning form the old TrueType kern table (I suspect it hasn't the same values as the OpenType kern feature). Many thanks for your help, Pablo -- http://www.ousia.tk ___ If your question is of interest to others as well, please add an entry to the Wiki! 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 ___