[NTG-context] unknown script 'context.lua' or 'mtx-context.lua
Hi guys, I haven't played with ConTeXt for three month because of my examinations. Today, I delete the old version and reinstall a new one from the ConTeXt garden, but it seems that the new one can't run successfully. It says that unknown script 'context.lua' or 'mtx-context.lua. The error messages is the following: mtxrun | forcing cache reload resolvers | resolving | looking for 'texmfcnf.lua' on given path '/home/peng/texmf/web2c' from specification 'home:texmf/web2c' resolvers | resolving | looking for 'texmfcnf.lua' on weird path '/usr/bin/' from specification 'selfautoloc:' resolvers | resolving | looking for 'texmfcnf.lua' on given path '/usr/bin/share/texmf-local/web2c' from specification 'selfautoloc:/share/texmf-local/web2c' resolvers | resolving | looking for 'texmfcnf.lua' on given path '/usr/bin/share/texmf/web2c' from specification 'selfautoloc:/share/texmf/web2c' resolvers | resolving | looking for 'texmfcnf.lua' on given path '/usr/bin/texmf-local/web2c' from specification 'selfautoloc:/texmf-local/web2c' resolvers | resolving | looking for 'texmfcnf.lua' on given path '/usr/bin/texmf/web2c' from specification 'selfautoloc:/texmf/web2c' resolvers | resolving | looking for 'texmfcnf.lua' on weird path '/usr/' from specification 'selfautodir:' resolvers | resolving | looking for 'texmfcnf.lua' on given path '/usr/share/texmf-local/web2c' from specification 'selfautodir:/share/texmf-local/web2c' resolvers | resolving | looking for 'texmfcnf.lua' on given path '/usr/share/texmf/web2c' from specification 'selfautodir:/share/texmf/web2c' resolvers | resolving | looking for 'texmfcnf.lua' on given path '/usr/texmf-local/web2c' from specification 'selfautodir:/texmf-local/web2c' resolvers | resolving | looking for 'texmfcnf.lua' on given path '/usr/texmf/web2c' from specification 'selfautodir:/texmf/web2c' resolvers | resolving | looking for 'texmfcnf.lua' on given path './../texmf-local/web2c' from specification 'selfautoparent:/../texmf-local/web2c' resolvers | resolving | looking for 'texmfcnf.lua' on weird path './' from specification 'selfautoparent:' resolvers | resolving | looking for 'texmfcnf.lua' on given path './share/texmf-local/web2c' from specification 'selfautoparent:/share/texmf-local/web2c' resolvers | resolving | looking for 'texmfcnf.lua' on given path './share/texmf/web2c' from specification 'selfautoparent:/share/texmf/web2c' resolvers | resolving | looking for 'texmfcnf.lua' on given path './texmf-local/web2c' from specification 'selfautoparent:/texmf-local/web2c' resolvers | resolving | looking for 'texmfcnf.lua' on given path './texmf/web2c' from specification 'selfautoparent:/texmf/web2c' resolvers | resolving | resolvers | resolving | warning: no lua configuration files found resolvers | resolving | no texmf paths are defined (using TEXMF) resolvers | resolving | mtxrun | the resolver databases are not present or outdated resolvers | resolving | using suffix based filetype 'lua' resolvers | resolving | remembering file 'mtx-context.lua' resolvers | resolving | using suffix based filetype 'lua' resolvers | resolving | remembering file 'mtx-contexts.lua' resolvers | resolving | remembered file 'mtx-context.lua' resolvers | resolving | using suffix based filetype 'lua' resolvers | resolving | remembering file 'mtx-t-context.lua' resolvers | resolving | using suffix based filetype 'lua' resolvers | resolving | remembering file 'mtx-t-contexts.lua' resolvers | resolving | remembered file 'mtx-t-context.lua' resolvers | resolving | using suffix based filetype 'lua' resolvers | resolving | remembering file 'context.lua' mtxrun | unknown script 'context.lua' or 'mtx-context.lua' Best wishes, Tim ___ If your question is of interest to others as well, please add an entry to the Wiki! 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] unknown script 'context.lua' or 'mtx-context.lua'
Hi guys, I haven't played with ConTeXt for three month because of my examinations. Today, I delete the old version and reinstall a new one from the ConTeXt garden, but it seems that the new one can't run successfully. It says that unknown script 'context.lua' or 'mtx-context.lua. The error messages is the following: mtxrun | forcing cache reload resolvers | resolving | looking for 'texmfcnf.lua' on given path '/home/peng/texmf/web2c' from specification 'home:texmf/web2c' resolvers | resolving | looking for 'texmfcnf.lua' on weird path '/usr/bin/' from specification 'selfautoloc:' resolvers | resolving | looking for 'texmfcnf.lua' on given path '/usr/bin/share/texmf-local/web2c' from specification 'selfautoloc:/share/texmf-local/web2c' resolvers | resolving | looking for 'texmfcnf.lua' on given path '/usr/bin/share/texmf/web2c' from specification 'selfautoloc:/share/texmf/web2c' resolvers | resolving | looking for 'texmfcnf.lua' on given path '/usr/bin/texmf-local/web2c' from specification 'selfautoloc:/texmf-local/web2c' resolvers | resolving | looking for 'texmfcnf.lua' on given path '/usr/bin/texmf/web2c' from specification 'selfautoloc:/texmf/web2c' resolvers | resolving | looking for 'texmfcnf.lua' on weird path '/usr/' from specification 'selfautodir:' resolvers | resolving | looking for 'texmfcnf.lua' on given path '/usr/share/texmf-local/web2c' from specification 'selfautodir:/share/texmf-local/web2c' resolvers | resolving | looking for 'texmfcnf.lua' on given path '/usr/share/texmf/web2c' from specification 'selfautodir:/share/texmf/web2c' resolvers | resolving | looking for 'texmfcnf.lua' on given path '/usr/texmf-local/web2c' from specification 'selfautodir:/texmf-local/web2c' resolvers | resolving | looking for 'texmfcnf.lua' on given path '/usr/texmf/web2c' from specification 'selfautodir:/texmf/web2c' resolvers | resolving | looking for 'texmfcnf.lua' on given path './../texmf-local/web2c' from specification 'selfautoparent:/../texmf-local/web2c' resolvers | resolving | looking for 'texmfcnf.lua' on weird path './' from specification 'selfautoparent:' resolvers | resolving | looking for 'texmfcnf.lua' on given path './share/texmf-local/web2c' from specification 'selfautoparent:/share/texmf-local/web2c' resolvers | resolving | looking for 'texmfcnf.lua' on given path './share/texmf/web2c' from specification 'selfautoparent:/share/texmf/web2c' resolvers | resolving | looking for 'texmfcnf.lua' on given path './texmf-local/web2c' from specification 'selfautoparent:/texmf-local/web2c' resolvers | resolving | looking for 'texmfcnf.lua' on given path './texmf/web2c' from specification 'selfautoparent:/texmf/web2c' resolvers | resolving | resolvers | resolving | warning: no lua configuration files found resolvers | resolving | no texmf paths are defined (using TEXMF) resolvers | resolving | mtxrun | the resolver databases are not present or outdated resolvers | resolving | using suffix based filetype 'lua' resolvers | resolving | remembering file 'mtx-context.lua' resolvers | resolving | using suffix based filetype 'lua' resolvers | resolving | remembering file 'mtx-contexts.lua' resolvers | resolving | remembered file 'mtx-context.lua' resolvers | resolving | using suffix based filetype 'lua' resolvers | resolving | remembering file 'mtx-t-context.lua' resolvers | resolving | using suffix based filetype 'lua' resolvers | resolving | remembering file 'mtx-t-contexts.lua' resolvers | resolving | remembered file 'mtx-t-context.lua' resolvers | resolving | using suffix based filetype 'lua' resolvers | resolving | remembering file 'context.lua' mtxrun | unknown script 'context.lua' or 'mtx-context.lua' Best wishes, Tim ___ If your question is of interest to others as well, please add an entry to the Wiki! 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] Strange behaviour with columnar itemized text
Hi, I encountered two issues where itemized text within columns behaves unexpectedly. There appear to be two issues, possibly related. I will provide the shorter example first, which produces overlapping text on the second page (http://i.imgur.com/zMW6yk4.png). Changing \blank[.2em] to \blank[small] resolves the first issue. Removing inbetween={\blank[small]}, resolves the second issue. Given that changing the \blank command affects the results, I think they might be related somehow. I'm not concerned about the first issue -- changing ".25em" to "small" is fine. The second issue, however, leaves me perplexed for a solution to avoid the issue while maintaining the desired vertical whitespace (see (http://i.imgur.com/n46zEhf.png) between items. Any suggestions? Hopefully these are sufficiently minimal examples. ] 8< overlapping text 8< [ \setuphead[section][before={\testcolumn[3]},] \defineitemgroup[Instructions][inbetween={\blank[.25em]},] \starttext \startmixedcolumns[ align=right, balance=yes, grid=strut, ] \dorecurse{5}{ \startsection[title={Section},] \startInstructions \item{Preheat the oven to 400°F}\item{Put a few cups of salt in a gratin dish and level it off}\item{Place a little of the prepared butter mixture snail butter in an empty shell (about a teaspoon) and then put a snail in after it}\item{Put another blob of the snail butter on top until the snail is no longer visible in the shell (about a teaspoon)}\item{Do this for the remaining shells a layer of snail butter the snail itself and another layer of snail butter}\item{Now, push all the prepared shells into the salt in the gratin dish such that the shell openings are securely face up}\item{Make sure the shells to stay securely face up so that the snail cooks in the snail butter instead of the butter just leaking out}\item{If you have some special escargot dishes you can place the shells in them instead of the salt and gratin dish}\item{Ensure that the shells remain securely face up so that the snail cooks in the snail butter} \stopInstructions } \stopmixedcolumns \stoptext ] 8< snip snip 8< [ The second, slightly longer example, shows text overlapping the footer region (http://i.imgur.com/vUNyDmk.png) and extending off the second page. ] 8< snip snip 8< [ \setuppapersize[letter][letter] \definestartstop[RecipeIngredientGroup] \definestartstop[RecipeInstructionGroup] \defineitemgroup[RecipeIngredients] \defineitemgroup[RecipeInstructions][ inbetween={\blank[small]}, ] \setupstartstop[RecipeIngredientGroup][ before={\startmixedcolumns[balance=yes,]}, ] \setupstartstop[RecipeInstructionGroup][ before={\startmixedcolumns[grid=strut,]}, ] \setupstartstop[RecipeIngredientGroup,RecipeInstructionGroup,][ after={\stopmixedcolumns}, ] \starttext \startRecipeIngredientGroup \startsubsection[title={Title},] \startRecipeIngredients \dorecurse{32}{\item{item}} \stopRecipeIngredients \stopsubsection \stopRecipeIngredientGroup \startRecipeInstructionGroup \startsubsection[title={Title},] \startRecipeInstructions \dorecurse{8}{\item{item}} \stopRecipeInstructions \stopsubsection \startsubsection[title={Title},] \startRecipeInstructions \dorecurse{32}{\item{item}} \stopRecipeInstructions \stopsubsection \stopRecipeInstructionGroup \stoptext ] 8< snip snip 8< [ ___ If your question is of interest to others as well, please add an entry to the Wiki! 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] Symbol euro
Thanks Wolfgang, Fabrice ___ If your question is of interest to others as well, please add an entry to the Wiki! 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] Symbol euro
Am 27.02.2014 um 23:57 schrieb Fabrice Couvreur : > Hi, > I try to define the € symbol with : > \definesymbol [euro] [\ getglyph{Euro} {\ char160}], but it does not work. \usesymbols[mvs] \setupsymbolset[europe] \starttext €: \symbol[EUR] \stoptext 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] Symbol euro
Am 27.02.2014 um 23:57 schrieb Fabrice Couvreur : > Hi, > I try to define the € symbol with : > \definesymbol [euro] [\ getglyph{Euro} {\ char160}], but it does not work. What doesn’t work. \starttext 1. € 2. \symbol[euro] \stoptext <\example> 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] Problem with Module Units
It is ok, thanks. ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] Symbol euro
Hi, I try to define the EURO symbol with : \definesymbol [euro] [\ getglyph{Euro} {\ char160}], but it does not work. Regards, Fabrice ___ If your question is of interest to others as well, please add an entry to the Wiki! 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 with Module Units
Am 27.02.2014 um 23:31 schrieb Fabrice : > Hi Wolfgang, > Firstly thank you for the quick responses you give. > With the old version is ok. > But if I compile the code you gave with the new version, I get the letter "r" > is really strange! Don’t load the \units module when you use the new \unit command, you can only use one mechanism because both aren’t compatible. 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] Footnote mark gap
Am 27.02.2014 um 23:19 schrieb Thangalin : > Try: > > \setupfootnotes[ > textstyle={\hskip.05em}, > ] It’s better to add the space with the textcommand key. \setupnote[footnote][textcommand={\hairspace\high}] %\setupnote[footnote][textcommand={\thinspace\high}] 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] Problem with Module Units
Hi Wolfgang, Firstly thank you for the quick responses you give. With the old version is ok. But if I compile the code you gave with the new version, I get the letter "r" is really strange! ___ If your question is of interest to others as well, please add an entry to the Wiki! 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 mark gap
Try: \setupfootnotes[ textstyle={\hskip.05em}, ] ___ If your question is of interest to others as well, please add an entry to the Wiki! 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 with Module Units
Am 27.02.2014 um 19:22 schrieb Fabrice Couvreur : > Hi, > I see that there is no space between the words "pour"and "km". When you use the old units module you have to insert a control space with “\ ”, e.g. \usemodule[units] \starttext 6000 \Unit \Kilo \Meter \ or 2000 \Unit \Kilo \Meter. \stoptext but when you use MkIV you can use the predefined \unit command: \starttext \unit{6000 kilometer} or \unit{2000 kilo meter} \stoptext 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 ___
[NTG-context] Footnote mark gap
Dear All, when footnotes are placed after certain accented characters, the corresponding footnote marks are rendered too close to them: \starttext í\footnote{í} T\footnote{T} ľ\footnote{ľ} ě\footnote{ě} ď\footnote{ď} \stoptext Is there any option for making this distance a bit larger? On the other hand this gap may produce too much white space when placed after characters like period or comma... Ideally it could be positioned 'optically' ;-) Regards, Jan ___ If your question is of interest to others as well, please add an entry to the Wiki! 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] Problem with Module Units
Hi, I see that there is no space between the words "pour"and "km". Regards, Fabrice \usemodule[units] \definetypeface [me] [rm] [serif] [pagella] [default] \definetypeface [me] [ss] [sans] [dejavu] [default] \definetypeface [me] [mm] [math] [xits][default] \setupbodyfont[me,12pt] \starttext Zeus désire se désaltérer avec un jus de planète pressée. La planète qu'il va choisir dans le système solaire doit suffire à remplir à ras bord ses deux verres de forme conique. Le premier verre a un rayon de base de 6000 \Unit \Kilo \Meter pour une hauteur égale au rayon de la planète. Le deuxième verre a un rayon de base égal à celui de la planète pour une hauteur de 2000 \Unit \Kilo \Meter. Le but de l'exercice est de trouver quelle planète sera sacrifiée. \stoptext ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] different page sizes on one sheet
hi, i ended up using a very flexible (open source, LUA scriptable by option) imposition tool: podofoimpose (http://podofo.sourceforge.net/tools.html) it's just an additional step to get my output done (as my ConTeXt files are generated by a ruby script) ... cheers artur On 02/27/2014 04:43 PM, Aditya Mahajan wrote: On Thu, 27 Feb 2014, amerke wrote: hi rudolf (& list), thank you for your 'quick hack', it's ok for my current solution. page number, margins and background and stuff like grid alignment are still a problem ... but, i suppose, there must be :-) a tiny piece of code in ConTeXt, where the rotation of the whole page can be achieved (but still treating the page as a landscape page for the above setup arranging layer) maybe someone knows how to do it and can share his knowledge ... ? Do you need interaction (hyperref in latex-speak) to work? If not, one possibility is the following. You anyways have to do manual page-breaking because your sheets are of different size. Create a PDF with two A6 pages followed by an A5 page (and repeat). Use a separate CLD (Context lua document) for arranging. Once you know the number of pages of the pdf (you can get this in lua as well as in tex), you can simple use something like (pseudo code) for i = 1, no_of_page, 3 do context.setlayer( {"page"}, {x = "0", y = "0" }, { "\\externalfigure[file][page=i]" }) context.setlayer( {"page"}, {x = "0", y = "0.5\\textheight" }, { "\\externalfigure[file][page=i+1]" }) context.setlayer( {"page"}, {x = "0.5\\textwidth", y = "0" }, { "\\externalfigure[file][page=i+2]" }) end 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 ___ ___ If your question is of interest to others as well, please add an entry to the Wiki! 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] different page sizes on one sheet
On Thu, 27 Feb 2014, amerke wrote: hi rudolf (& list), thank you for your 'quick hack', it's ok for my current solution. page number, margins and background and stuff like grid alignment are still a problem ... but, i suppose, there must be :-) a tiny piece of code in ConTeXt, where the rotation of the whole page can be achieved (but still treating the page as a landscape page for the above setup arranging layer) maybe someone knows how to do it and can share his knowledge ... ? Do you need interaction (hyperref in latex-speak) to work? If not, one possibility is the following. You anyways have to do manual page-breaking because your sheets are of different size. Create a PDF with two A6 pages followed by an A5 page (and repeat). Use a separate CLD (Context lua document) for arranging. Once you know the number of pages of the pdf (you can get this in lua as well as in tex), you can simple use something like (pseudo code) for i = 1, no_of_page, 3 do context.setlayer( {"page"}, {x = "0", y = "0" }, { "\\externalfigure[file][page=i]" }) context.setlayer( {"page"}, {x = "0", y = "0.5\\textheight" }, { "\\externalfigure[file][page=i+1]" }) context.setlayer( {"page"}, {x = "0.5\\textwidth", y = "0" }, { "\\externalfigure[file][page=i+2]" }) end 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] starttexdefinition error in standalone, works in TL2013
On 2014-02-26 23:08, Rik Kabel wrote: The following code processes cleanly under TL2013 and fails with ConTeXt ver: 2014.02.14 17:07 MKIV beta fmt: 2014.2.16 int: english/english. I suspect a regression, but I am also open to being told that I am doing things incorrectly. -- Rik Kabel Sorry for the not-so-minimal example with the obvious errors around the setup. Here is a stripped version that shows the problem: % macros=mkvi \let\EndTranslation\relax % The following should work, but fails with current beta \starttexdefinition Trans #TRANSLATION\EndTranslation #TRANSLATION \stoptexdefinition % This version works with both TexLive and current standalone beta \def\Translation#TRANSLATION\EndTranslation% {#TRANSLATION% } \starttext Translation using \tex{def}{\tex{doTranslation}} works both with TL2013 and current beta. \Translation It betrays a slow-witted mentality to pursue the streams, but not to see the sources of things. \EndTranslation \blank Translation using \tex{starttexdef doTrans} fails with current beta. \Trans It betrays a slow-witted mentality to pursue the streams, but not to see the sources of things. \EndTranslation \stoptext -- Rik ___ If your question is of interest to others as well, please add an entry to the Wiki! 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] different page sizes on one sheet
hi rudolf (& list), thank you for your 'quick hack', it's ok for my current solution. page number, margins and background and stuff like grid alignment are still a problem ... but, i suppose, there must be :-) a tiny piece of code in ConTeXt, where the rotation of the whole page can be achieved (but still treating the page as a landscape page for the above setup arranging layer) maybe someone knows how to do it and can share his knowledge ... ? cheers artur On 02/26/2014 05:46 PM, Rudolf Bahr wrote: On Wed, Feb 26, 2014 at 03:37:48PM +0100, amerke wrote: hi all, using \setuppaper[nx=2, ny=2] \setuparranging[XY] \showframe[cut=true] \setuppapersize[A4] \starttext \setuppapersize[A6][A4] Page 1. A6 Portrait \input knuth \page Page 2. A6 Portrait \input knuth \page \setuppapersize[A5,landscape][A4] Page 3. A5 \input knuth \stoptext i ALMOST get the wished layout. the only problem is, that the A5 page is in landscape mode. is there a kind of quick hack to change the orientation of the A5 page to protrait, by leaving \setuppapersize[A5,landscape][A4] as it stands (othewise the layout doesn't function)? artur Hello Artur, meanwhile I played a bit and got: % \setuppaper[nx=2, ny=2] \setuparranging[XY] \showframe[cut=true] \setuppapersize[A4] \starttext \setuppapersize[A6][A4] Page 1. A6 Portrait \input knuth \page Page 2. A6 Portrait \input knuth \page \setuppapersize[A5,landscape][A4] \rotate[rotation=90] { \vbox to 100mm { \hsize=80mm Page 3. A5 \input knuth } } \stoptext % Ofcourse, the pagenumber remains, where it has been before. Greetings, Rudolf ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___ ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___