Re: [NTG-context] bug in \setuparranging
Hi, Hans: this bug is still not solved. Yue Wang On Thu, Sep 22, 2011 at 5:04 PM, Aditya Mahajan wrote: > On Thu, 22 Sep 2011, Yue Wang wrote: > >> Hi, Aditya and Hans: >> >> On Thu, Sep 22, 2011 at 4:46 PM, Aditya Mahajan wrote: >>> >>> I haven't investigated what is going wrong, but a quick fix is >>> >>> \setuppapersize[A4,landscape][A4,landscape] >>> >>> I don't understand the arranging code, but doesn't the following also do >>> what you want (without the arranging) >>> >>> \setuppapersize[A4,landscape,rotated,270][A4] >>> >> >> Yes, I know these tricks. A quick workaround to this problem is to use the >> >> \setuppapersize[A4,landscape][A4,landscape] >> >> and then add either >> >> %\pdfpagesattr{/Rotate 90} --pdftex, luatex >> %\special{pdf:put @pages <>} --xetex, dvipdfmx >> >> or the more generic way: >> >> \doPDFpagesattribute{/Rotate 90} >> >> And that did fix my problem temporary. >> >> But things are not going as expected, and it's better to fix these >> bugs, isn't it? > > Sure. > > But I was also answering you second question about rotating a page without > using arranging. > > Aditya > > > ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] location of mtx-scripts
Iôòùd like to ask if there is any update on this: The same issue has now arisen with context-simpleslides (hi Aditya and Thomas), which now has: scripts/context/lua/third/simpleslides/mtx-simpleslides.lua The t- prefix doesn't make a difference to TL, so I went ahead and added scripts/context/lua/third/PKGNAME to our patterns and updated simpleslides. Philipp, if you move mtx-rst.lua to scripts/context/lua/third/rst, (instead of directly under lua/), I'll update rst too. Thanks, Karl ___ If your question is of interest to others as well, please add an entry to the Wiki! 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] [Layout] Problem with ConTeXt mkII
On Sat, 1 Oct 2011, Pierre-François Bonnefoi wrote: Hello Luigi, your solution is better...but doesn't work completely : the first page is correct, the second is not, and after this one, the end of the document is correctly formatted... hum... Very strange and annoying... Which version of ConTeXt you are using (see the log file)? I am using ConTeXt ver: 2011.09.18 22:35 MKII fmt: 2011.9.18 int: english/english and the following test file \setuplayout[ backspace=3cm, topspace=1.5cm, rightmargin=0cm,leftmargin=1.3cm, width=15cm, leftmargindistance=0.2cm, height=fit, header=0cm, footer=1cm, ] \definelayout[1][topspace=5.2cm, height=fit] \definelayout[2][] \starttext \showframe \dorecurse{10} {\input knuth \input ward } \stoptext gives me the attached output. Aditya test.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] [Layout] Problem with ConTeXt mkII
Hello Luigi, your solution is better...but doesn't work completely : the first page is correct, the second is not, and after this one, the end of the document is correctly formatted... hum... Very strange and annoying... Pierre-François. -- Bonnefoi Pierre-Francois|E-mail : bonne...@unilim.fr Universite de Limoges, Laboratoire XLIM | Tel : 06 28 18 03 38 83, rue d'Isle | Mrs. Peel, we're needed... 87000 Limoges - FRANCE | The Avengers. smime.p7s Description: S/MIME cryptographic signature ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] Visual debugging
Hi, I'm in a need for more visual debugging aids. I tried the supp-vis module, but it did not give enough cues. I guess the ruledhbox is bound by ascender and descender height vertically, but I'd like to see also the cap height and x-height lines. Is it possible? Plus, is it possible to display the individual box around each letter similar to Knuth's TeXBook page 65? Best regards, Otso Helenius ___ If your question is of interest to others as well, please add an entry to the Wiki! 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] writing date with ordinal numbers (\enordinaldaynumber) in mkiv
Am 01.10.2011 um 14:57 schrieb Hans Hagen: > On 29-9-2011 13:49, Wolfgang Schuster wrote: > >> Even when you patch this you don’t get any output because context tries (in >> the example below) to use the label “August:mnem” but only the label >> “august:mnem” is defined. >> >> \starttext >> >> \date[d=1,m=8][day:ord,space,month,space,month:mnem] >> >> \starttabulate[|Tl|l|] >> \NC August \EQ \labeltext{August} \NC\NR >> \NC August:mnem \EQ \labeltext{August:mnem} \NC\NR >> \NC august:mnem \EQ \labeltext{august:mnem} \NC\NR >> \stoptabulate >> >> \stoptext > > which makes me wonder ... in the past these v! were used instead of labels > but it might make more sense now to lowercase the v! This explains why you use variables as keys in \setuplabeltext etc. > okay? +1 > of course the labeltexts stay the same There is also a bug for the labels in the form “:mnem” in lang-lab.lua function languages.labels.define() local variables = interfaces.variables local data = languages.data.labels local function define(command,list,prefixed) if list then context.pushcatcodes(prtcatcodes) -- context.unprotect for tag, data in next, list do if data.hidden then -- skip else for language, text in next, data.labels do if text == "" then -- skip elseif prefixed and rawget(variables,tag) then ... “rawget” checks if a variable “:mnem” is defined but since this isn’t the case the label is defined as “\setuplabeltext[][:mnem=]” and not as “\setuplabeltext[][\v!:mnem=]” with the month as variable. 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] writing date with ordinal numbers (\enordinaldaynumber) in mkiv
On 29-9-2011 13:49, Wolfgang Schuster wrote: local tag, plus = match(entry,"^([^%+:]+)(.*)$") "^([^%+:]+)[%+:]*(.*)$" Even when you patch this you don’t get any output because context tries (in the example below) to use the label “August:mnem” but only the label “august:mnem” is defined. \starttext \date[d=1,m=8][day:ord,space,month,space,month:mnem] \starttabulate[|Tl|l|] \NC August \EQ \labeltext{August} \NC\NR \NC August:mnem \EQ \labeltext{August:mnem} \NC\NR \NC august:mnem \EQ \labeltext{august:mnem} \NC\NR \stoptabulate \stoptext which makes me wonder ... in the past these v! were used instead of labels but it might make more sense now to lowercase the v! okay? ["august"]={ ["cs"]="srpen", ["de"]="August", -- august ["en"]="August", -- august ["fr"]="août", ["it"]="agosto", ["nl"]="augustus", ["pe"]="آگوست", ["ro"]="august", }, of course the labeltexts stay the same - 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] new beta
Hi, I uploaded a new beta. Apart from some fixes the following has been added/changed. Some are side effects of discussions at the context meeting. - Default sorting now mixes upper and lowercase. - Some presentation styles had problems loading due to changes in the structure commands. - A few improvements to the (mixed) scite lexers / spell checkers (plus an experimental pdf lexer). - Export of some math scripts (ssty related) .. an other buglet mojca and I noticed has to wait for a luatex engine fix. - An extra alignment option 'last' to center the last line. - Missing references are now listed in the log file. - Segments can be specified as n:* (as n:100 looks somewhat weird). - Virtual math has been adapted to the latest insights in open type math. However, the biggest new thing is adapted cross document referencing. This was already possible but we could not yet load external references (as in mkii). See http://www.pragma-ade.com/general/magazines/mag-1103.pdf for how it works in mkiv. The test files cross-*.tex demonstrate a couple of things. If one uses the project structure, then one can process a component of a product and it will pick up references from the main product as well as (given normal circumstances) start at the right chapter number and page. Of course this is only a convenience option (for proofing) as there is a dependency on the state of the parent product. Given the fact that cross referencing data is spread over several data structures this was a somewhat complex exercise. As a side effect the tuc file now uses its own (temporary) namespace. Hopefully nothing breaks due to these changes. Hans ps. Wolfgang: strc-ref is now a mkvi 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] handling fonts with missing math
On 30-9-2011 23:39, Mojca Miklavec wrote: On Tue, Sep 27, 2011 at 19:57, Hans Hagen wrote: On 27-9-2011 19:52, Mojca Miklavec wrote: On Tue, Sep 27, 2011 at 19:44, Hans Hagen wrote: there is some fall back mechanism that does that but as soon as one defined his/her own typescript that can interfere How should we define trypescripts to avoid interference then? A typeface definition normally has a matching monospace and math definition (so: ss + tt + mm or rm + tt + mm or in some cases rm + ss + tt + mm). Of course some relative scaling has to be considered then. Do you want to say that we need an explicit definition of LM Math? Just curious: how much information is missing/how much would would it be if we would want to create a virtual math font by combining LM + populating italic/bold/bold italic latin and greek math alphabets from text font? Would that look horrible because of lack of information about glyph metrics? that is relatively easy: just make a lfg file that contains the specification (and choose some math font that suits) my guess is that it will look bad in most cases we might consider making a sort of generic partial math font (maybe even needs to be designed) that sort of fills in the usual bits and pieces (root signs, arrows etc) in a way that matches an average font (we probably need a few weights then) of course that would only work for not too fancy math Hans - 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 ___