[NTG-context] Layers + simplefonts: Using different font in layers?

2011-12-09 Thread Mari Voipio
Hi! After a wee bit of struggle I've managed to get as far as to (re)creating front and back covers of a booklet as layers. They worked fine in separate files, but now I have to incorporate the layers into my main file and that turned out to be too complicated for my little brain. Thus I'd

Re: [NTG-context] Layers + simplefonts: Using different font in layers?

2011-12-09 Thread Hans Hagen
On 9-12-2011 09:24, Mari Voipio wrote: Problem one: The text on the covers needs to be in Arial, but the contents should be in Candara. I can get this done in totally separate files with \usemodule[simplefonts] \setmainfont[arial] \usemodule[simplefonts] \setmainfont[candara] That is for

Re: [NTG-context] Layers + simplefonts: Using different font in layers?

2011-12-09 Thread Willi Egger
Hi Mari, hm, although the master has given his answer already ... Here is what I interpreted from your mail. May be it answers the first question. Using setups does normally help in these cases. Making the number of pages divisible by four. quadruple works with arranging. So probably you must

Re: [NTG-context] Layers + simplefonts: Using different font in layers?

2011-12-09 Thread Mari Voipio
On Fri, Dec 9, 2011 at 11:10, Willi Egger cont...@boede.nl wrote: Here is what I interpreted from your mail. May be it answers the first question. Using setups does normally help in these cases. It does sort out the font problem - turns out I was almost there, except that my TOC insisted on

Re: [NTG-context] Layers + simplefonts: Using different font in layers?

2011-12-09 Thread Willi Egger
Hi Mari, On 9 Dec 2011, at 11:00, Mari Voipio wrote: On Fri, Dec 9, 2011 at 11:10, Willi Egger cont...@boede.nl wrote: Here is what I interpreted from your mail. May be it answers the first question. Using setups does normally help in these cases. It does sort out the font problem -

Re: [NTG-context] Layers + simplefonts: Using different font in layers?

2011-12-09 Thread Hans Hagen
On 9-12-2011 11:00, Mari Voipio wrote: On Fri, Dec 9, 2011 at 11:10, Willi Eggercont...@boede.nl wrote: Here is what I interpreted from your mail. May be it answers the first question. Using setups does normally help in these cases. It does sort out the font problem - turns out I was almost

[NTG-context] simplefonts: math in headers

2011-12-09 Thread Philipp A.
hi, i have the following setup: \usemodule[simplefonts] \setmainfont[Cambria] \setsansfont[Ubuntu] \setmonofont[Envy Code R][regularfont=envycoder] \setmathfont[Cambria] \setuphead[section][style={\ss\bfb}] \starttext \section{Wat? $y=x^2$} \stoptext why is the math in the header typeset in

Re: [NTG-context] MetaFun: Is the maximum of `vloggrid` limited to 10?

2011-12-09 Thread Hans Hagen
On 8-12-2011 16:45, Paul Menzel wrote: Am Donnerstag, den 08.12.2011, 16:40 +0100 schrieb Hans Hagen: On 8-12-2011 14:54, Paul Menzel wrote: To create grid like the log-log grid in [2] I guess I need to compose the bigger grid from these “basic” grids then? at some point it runs off your

Re: [NTG-context] Layers + simplefonts: Using different font in layers?

2011-12-09 Thread Mari Voipio
On Fri, Dec 9, 2011 at 13:04, Willi Egger cont...@boede.nl wrote: When i use the attached test-file, the TOC is in palatino. May be you have to check, where the \setups is called. Before calling the setups there must be a page break. It works for me, too, once I managed to fix a stupid

Re: [NTG-context] Layers + simplefonts: Using different font in layers?

2011-12-09 Thread Willi Egger
Hi Mari, if you look into the test-file I sent you before, then you will see, that indeed the layer has to be moved. I was also a bit amazed to see, that the layer is anchored to the textarea. Willi On 9 Dec 2011, at 14:54, Mari Voipio wrote: On Fri, Dec 9, 2011 at 13:04, Willi Egger

Re: [NTG-context] Layers + simplefonts: Using different font in layers?

2011-12-09 Thread Wolfgang Schuster
Am 09.12.2011 um 15:43 schrieb Willi Egger: Hi Mari, if you look into the test-file I sent you before, then you will see, that indeed the layer has to be moved. I was also a bit amazed to see, that the layer is anchored to the textarea. \placelayer use the area of the current block (in

Re: [NTG-context] `\{start, stop}MPpage`: MetaPost figure does not fit canvas(?) in resulting PDF file

2011-12-09 Thread Hans Hagen
On 7-12-2011 20:36, Paul Menzel wrote: Dear ConTeXt folks, using the following example \starttext \startMPpage draw (0,0)--(10,10)--(15,5)--(20,10); draw (0,0)--(0,10)--(10,10)--(10,5)--(15,5)--(15,10)--(20,10) withcolor blue; \stopMPpage

Re: [NTG-context] Columnset error with \setupheader[state=high]

2011-12-09 Thread Hans Hagen
On 7-12-2011 06:31, Peter Park Nelson wrote: Hello, I hope someone has solved this problem already but I haven't been able to find a solution. When using \setupheader[state=high], my columnset behaves correctly on the first page but runs over the footer area on all subsequent pages. fixed in

Re: [NTG-context] bug with \setuplayout[setups=*strict]?

2011-12-09 Thread Hans Hagen
On 8-12-2011 13:40, Pablo Rodríguez wrote: Hi there, I read a previous message on this list form Wolgang that \setuplayout[setups=*strict] is the ConTeXt way to avoid orphan and widow lines. I have tried that before checking that

Re: [NTG-context] orphan and widow lines

2011-12-09 Thread Stefan Müller
Hi, you can try (and experiment with) \clubpenalty=1 \widowpenalty=1 after \starttext. Hope that helps, Stefan On 07.12.2011 22:32, Pablo Rodríguez wrote: Hi there, I have been using ConTeXt for some months and one of the things I cannot control is orphan or widow lines appearing

Re: [NTG-context] Wrong bookmark for publications list

2011-12-09 Thread Hans Hagen
On 8-12-2011 11:24, Marco wrote: There is an inconsistency concerning the bookmarks for the publications list. It generates the section head “References”, but the PDF bookmark “pubs”. \setupinteraction [state=start] \placebookmarks \starttext this is because the title is derived

Re: [NTG-context] Two column itemize break grid layout

2011-12-09 Thread Hans Hagen
On 7-12-2011 05:41, Aditya Mahajan wrote: Hi, Grid layout gets broken if I use \startitemize[column,two]. quick fix in next beta - Hans Hagen | PRAGMA ADE Ridderstraat 27 |

Re: [NTG-context] Header spoils X(HT)ML export

2011-12-09 Thread Hans Hagen
On 6-12-2011 23:19, Andreas Harder wrote: Hi Hans, please consider the following example. \setupbackend[export=yes,xhtml=yes,css=yes] \setupheadertexts[{\startelement[header] test \stopelement}] too messy ... so in the next beta structures is disabled completely in those areas

[NTG-context] Reverse numbering for enumerations?

2011-12-09 Thread Otared Kavian
Hi all, When using \startitemize[n,reverse] one gets items numbered in reverse order. I wonder if this feature exists also for enumerations. An example is given below in which the last enumeration is written on top of the file and I wish it were possible to have the enumerations

Re: [NTG-context] Preserving Output Files

2011-12-09 Thread Hans Hagen
On 6-12-2011 04:27, Kip Warner wrote: Hey list, I've searched the list, but couldn't seem to dig up anything that I thought was relevant. How do I get ConTeXt to preserve all files necessary to run the same invocation of LuaTeX it executed when it was run. As an example, when I run the

Re: [NTG-context] Enumeration in mkiv

2011-12-09 Thread Hans Hagen
On 7-12-2011 21:17, Otared Kavian wrote: Dear Hans, In transferring some stuff from mkii to mkiv, I noticed a change in the way mkiv puts too much distance between the title of an enumeration and the text following it. I am not sure whether I have noticed this before, but my feeling is that

Re: [NTG-context] Preserving Output Files

2011-12-09 Thread Kip Warner
On Fri, 2011-12-09 at 18:39 +0100, Hans Hagen wrote: On 6-12-2011 04:27, Kip Warner wrote: Hey list, I've searched the list, but couldn't seem to dig up anything that I thought was relevant. How do I get ConTeXt to preserve all files necessary to run the same invocation of LuaTeX it

Re: [NTG-context] Possible bug in \unit

2011-12-09 Thread Hans Hagen
On 7-12-2011 22:27, Marco wrote: There seems to be a bug in the new unit system for \unit{kbit}: % bit \unit{kilo bit} % kbit \unit{kilobit} % kbit \unit{kbit} % kB, shouldn't this be kbit? Another thing: \unit{3.4e-5} yields to 3.4⁻⁵ that's expected according to the manual. But how

Re: [NTG-context] Preserving Output Files

2011-12-09 Thread Hans Hagen
On 9-12-2011 20:19, Kip Warner wrote: On Fri, 2011-12-09 at 18:39 +0100, Hans Hagen wrote: On 6-12-2011 04:27, Kip Warner wrote: Hey list, I've searched the list, but couldn't seem to dig up anything that I thought was relevant. How do I get ConTeXt to preserve all files necessary to run the

Re: [NTG-context] Possible bug in \unit

2011-12-09 Thread Marco
On 2011-12-09 Hans Hagen pra...@wxs.nl wrote: \unit{3.4e-5} yields to 3.4⁻⁵ that's expected according to the manual. But how to get 3.4·10⁻⁵ (either with \cot or \times)? indeed .. here's the fix \unexpanded\def\digitspower#1% {\times10\digits_raised{#1}}

Re: [NTG-context] Wrong bookmark for publications list

2011-12-09 Thread Marco
On 2011-12-09 Hans Hagen pra...@wxs.nl wrote: On 8-12-2011 11:24, Marco wrote: There is an inconsistency concerning the bookmarks for the publications list. It generates the section head “References”, but the PDF bookmark “pubs”. \setupinteraction [state=start]

Re: [NTG-context] Possible bug in \unit

2011-12-09 Thread Hans Hagen
On 9-12-2011 20:41, Marco wrote: One feature request: Could it be make configurable to either insert a \times or a \cdot? is already possible - Hans Hagen | PRAGMA ADE

Re: [NTG-context] Wrong bookmark for publications list

2011-12-09 Thread Hans Hagen
On 9-12-2011 20:53, Marco wrote: On 2011-12-09 Hans Hagenpra...@wxs.nl wrote: On 8-12-2011 11:24, Marco wrote: There is an inconsistency concerning the bookmarks for the publications list. It generates the section head “References”, but the PDF bookmark “pubs”. \setupinteraction

[NTG-context] Export (table cell alignment)

2011-12-09 Thread Andreas Harder
Hi Hans, I’ve stumbled upon another export problem, concerning (natural) tables. The first table exports fine but in the second table the first column is ignored. \startbuffer[css] document { display: block } table { display: table ; width: 100% } tablerow { display: table-row }

Re: [NTG-context] Possible bug in \unit

2011-12-09 Thread Marco
On 2011-12-09 Hans Hagen pra...@wxs.nl wrote: On 9-12-2011 20:41, Marco wrote: One feature request: Could it be make configurable to either insert a \times or a \cdot? is already possible How? ___ If

Re: [NTG-context] \usezipfile

2011-12-09 Thread Hans Hagen
On 7-12-2011 20:06, Wolfgang Schuster wrote: the \usezipfile command doesn’t work work. Opening a zip crashes with my luatex binary so I'm stuck. Hans - Hans Hagen | PRAGMA ADE

[NTG-context] Footnotes break out of columnset (current beta)

2011-12-09 Thread Peter Park Nelson
Hello, In TeXLive 2011, the following works correctly (footnotes in column) -- although the footnote rule does not appear, as I have noted in another post. In the current beta (29 nov 2011), the footnotes span the whole page and are run over by the body text columns. The footnote rule also

Re: [NTG-context] Possible bug in \unit

2011-12-09 Thread Hans Hagen
On 9-12-2011 22:01, Marco wrote: On 2011-12-09 Hans Hagenpra...@wxs.nl wrote: On 9-12-2011 20:41, Marco wrote: One feature request: Could it be make configurable to either insert a \times or a \cdot? is already possible How?

Re: [NTG-context] Tabulate-export

2011-12-09 Thread Hans Hagen
On 5-12-2011 13:32, Andreas Harder wrote: Hi Hans, it seems that tabulate environments are not exported correctly. Here is an example. \setupbackend[export=yes] \starttext \starttabulate[|l|c|r|] \NC left \NC center \NC right \NC \NR \NC l\NC c \NC r \NC \NR

Re: [NTG-context] Export (table cell alignment)

2011-12-09 Thread Hans Hagen
On 9-12-2011 21:58, Andreas Harder wrote: Hi Hans, I’ve stumbled upon another export problem, concerning (natural) tables. The first table exports fine but in the second table the first column is ignored. \startbuffer[css] document { display: block } table { display: table ; width: 100%

Re: [NTG-context] Export (table cell alignment)

2011-12-09 Thread Andreas Harder
On 10.12.2011, at 00:28, Hans Hagen wrote: On 9-12-2011 21:58, Andreas Harder wrote: Hi Hans, I’ve stumbled upon another export problem, concerning (natural) tables. The first table exports fine but in the second table the first column is ignored. \startbuffer[css] document {

Re: [NTG-context] Bug with caption

2011-12-09 Thread Hans Hagen
On 4-12-2011 06:46, Aditya Mahajan wrote: Hi, If I use \setupcaption[number=no] and include a float with no caption, then all subsequent floats do not have a caption! fixed in next beta -

Re: [NTG-context] \lastpage is not set when using arranging

2011-12-09 Thread Hans Hagen
On 3-12-2011 20:51, Aditya Mahajan wrote: \setuppapersize[A5][A4,landscape] \setuparranging[2SIDE] \setupfootertexts[Page \currentpage\ of \lastpage] \starttext \dorecurse{10}{\input knuth} \stoptext an arranged run will not save multi-pass data running with context --arrange takes care of