Re: [NTG-context] Change the color of the number of subsection

2016-07-27 Thread Henri Menke
Hi Fabrice, use \setuphead (see below). Cheers, Henri --- \starttext \setuphead [subsection] [ sectionsegments=subsection:subsection, color=darkred, ] \startsubsection[title={Recherche d'une fonction sous contraintes}] \stopsubsection \stoptext On 07/27/2016 11:24 AM, Fabrice

Re: [NTG-context] Different colors in LaTeX and ConTeXt

2016-07-12 Thread Henri Menke
On 07/12/2016 10:03 PM, Hans Hagen wrote: > On 7/12/2016 9:39 PM, Henri Menke wrote: >> Dear Aditya and Hans, >> >> I'm not so sure about it being a bug in pgfplots. I played a little and >> encountered the following. > > As Aditya pointed out, these (

[NTG-context] Access stylistic sets in lucidaot

2016-07-14 Thread Henri Menke
Dear list, I have been using the Lucida fonts for long time with LaTeX, either the Type 1 version through the `lucimatx` package or the OpenType variants with `unicode-math`. In `unicode-math` there is a straightforward way to select stylistic sets, e.g. alternative calligraphic glyphs. By

Re: [NTG-context] Something got wrong here

2016-07-28 Thread Henri Menke
Hi Uschi, see below for a possible solution. Cheers, Henri. --- \startbuffer[biblio] @book{Berlant2011, author = {Berlant, Laurent}, title = {Cruel Optimism}, year = {2011}, } \stopbuffer \mainlanguage[en] \usebtxdataset[biblio.buffer] \starttext \startbodymatter

[NTG-context] placelocalfootnotes breaks center alignment

2016-07-29 Thread Henri Menke
Dear list, sometimes, one wants to place footnotes in a table which then appear right below the last row. Therefore ConTeXt ships the clever `\start...\stoplocalfootnotes` mechanism. Unfortunately, putting `\placelocalfootnotes` outside of the table breaks the centering of the table itself.

[NTG-context] Math columns in Natural Tables

2016-07-31 Thread Henri Menke
Dear list, with the old tabulate macros there was the possibility to format columns as math (m for inline, M for display). Is there any possibility to typeset cells in math mode in Natural Tables? This way, the hyphen would be rendered as minus and spacing around relation and binary

[NTG-context] Source very outdated

2016-08-02 Thread Henri Menke
Dear list, I'm quite new to ConTeXt and have worked my way through a lot of documentation. The Garden is an invaluable source as well as this mailing list. Sometimes it occurs that a feature which is announced on the mailing list is neither documented in the Garden nor in some PDF. Then I

Re: [NTG-context] Hyphenation errors (again or still) in recent mkiv

2016-08-02 Thread Henri Menke
On 08/01/2016 06:13 PM, Pablo Rodriguez wrote: > On 08/01/2016 02:39 PM, Ulrike Fischer wrote: >> Am Mon, 01 Aug 2016 11:52:11 +0200 schrieb Wolfgang Schuster: >> >>> The wrong hyphenation happens also with the default font. >>> >>> %\startexceptions[en] >>> %would syn-the-size enu-mer-ate >>>

[NTG-context] Custom exporters

2016-08-02 Thread Henri Menke
Dear list, inspired by the question »Convert ConTeXt to LaTeX« on TeX.SX [1] I wondered whether the export backend of ConTeXt allows to write custom exporters. I imagine that the XML backend simply translates ConTeXt markup to XML markup. Such a translation appears to me to also be feasible

Re: [NTG-context] How to typeset a line as if it had zero height

2016-08-02 Thread Henri Menke
Joseph, I have come up with this very plain TeXy solution. Cheers, Henri --- \starttext \startsection[title=Section] \dontleavehmode% manually start a paragraph (smash does not) \smash{% remove height \rlap{% remove width \raise \baselineskip \hbox to \textwidth{% shift one line back

Re: [NTG-context] Now Bibliography works, but question to the backmatter

2016-08-11 Thread Henri Menke
footnote with "Eriksson" should only be in the section of the backmatter > "Allgemeine Literatur". I think this has to do with the > command\placelistofpublications or \setupbtxrendering. I have no idea what to > write. > > Uschi > > > -Ursp

Re: [NTG-context] Access to Intermediate Document after Pre-processing

2016-08-03 Thread Henri Menke
On 08/03/2016 03:25 PM, Malte Stien wrote: > Hi all, > > I am working with a reasonably complex document structure, where I make heavy > use of the following constructs > > \input (to import a number of source files) > \if and \newif (to switch between different paragraphs depending on some >

Re: [NTG-context] placelocalfootnotes breaks center alignment

2016-08-14 Thread Henri Menke
Bump On 07/29/2016 12:48 PM, Henri Menke wrote: > Dear list, > > sometimes, one wants to place footnotes in a table which then appear right > below the last row. Therefore ConTeXt ships the clever > `\start...\stoplocalfootnotes` mechanism. Unfortunately, putting > `\p

[NTG-context] Different colors in LaTeX and ConTeXt

2016-07-12 Thread Henri Menke
Dear list, I wanted to draw some nice pictures using TikZ and pgfplots, but then I noticed that the colors of the ticks in my pgfplots graph were unusually bright and it looked very weird. So I set up a test > \usemodule[tikz] > \starttext > \starttikzpicture > \draw[help lines,very thick]

Re: [NTG-context] Adjust rule between columns

2016-07-14 Thread Henri Menke
On 07/13/2016 06:14 PM, Wolfgang Schuster wrote: >> Henri Menke <mailto:henrime...@gmail.com> >> 13. Juli 2016 um 15:38 >> Dear list, >> >> Is there a way to adjust the vertical rule which is set between columns? >> I tried the obvious keys, but they do

[NTG-context] Command line tool for macro definitions

2016-07-21 Thread Henri Menke
Dear list, For TeX/LaTeX users there is the neat command line tool `texdef` with which you can show the definition of a macro. Here an example: $ texdef -t latex section \section: \long macro:->\@startsection {section}{1}{\z@ }{-3.5ex \@plus -1ex \@minus -.2ex}{2.3ex \@plus .2ex}{\normalfont

Re: [NTG-context] Restoring/switching paper size?

2016-07-18 Thread Henri Menke
This is a bug. The following example from the wiki (http://wiki.contextgarden.net/PaperSetup) does not work either. At least not with ConTeXt MkIV in TL2016. \showframe \definepapersize[main] [A4] \definepapersize[extra][A4,landscape] \setuppapersize[main] \starttext Page 1. Portrait \page

Re: [NTG-context] How to extend btx rendering?

2016-07-18 Thread Henri Menke
(It was btx:aps:eprints in the original post) On 07/18/2016 10:54 AM, Henri Menke wrote: > Dear list, > > It is common in physics (and probably mathematics) that papers are > uploaded to an electronic archive prior to publishing them in the > peer-review literature. In physical science

Re: [NTG-context] How to extend btx rendering?

2016-07-18 Thread Henri Menke
people without subscription to a specific journal can readily access the preprint (open-access philosophy). Do you consider this a viable option? Cheers, Henri On 07/18/2016 05:40 PM, Alan BRASLAU wrote: > On Mon, 18 Jul 2016 15:06:06 +0200 > Henri Menke <henrime...@gmail.com> wrote:

Re: [NTG-context] How to extend btx rendering?

2016-07-18 Thread Henri Menke
} \placelistofpublications \stoptext On 07/18/2016 08:05 PM, Henri Menke wrote: > Alan, > > thanks for your speedy reply. Actually, I also dislike the scattered > specification of `eprint` and `archivePrefix`, but thought that it might > be better to keep it for interoperability

[NTG-context] columnset and placefigure

2016-07-20 Thread Henri Menke
Dear list, I'm using columnsets to typeset stuff for a conference poster. I can't use paragraphs or columns, because these do not allow to set frames or backgrounds. Currently I do not use the column-spanning features, but I might in the future. The thing is, when I place a figure using

Re: [NTG-context] Different colors in LaTeX and ConTeXt

2016-07-12 Thread Henri Menke
olor problem. Cheers, Henri On 07/12/2016 02:29 PM, Hans Hagen wrote: > On 7/12/2016 1:53 PM, Henri Menke wrote: >> Dear list, >> >> I wanted to draw some nice pictures using TikZ and pgfplots, but then I >> noticed that the colors of the ticks in my pgfplots graph were unusu

[NTG-context] Adjust rule between columns

2016-07-13 Thread Henri Menke
Dear list, Is there a way to adjust the vertical rule which is set between columns? I tried the obvious keys, but they do nothing. \starttext \startcolumns [ n=2, rule=on, rulecolor=red,% does nothing rulethickness=5pt,% does nothing ] \input knuth \stopcolumns \stoptext

Re: [NTG-context] Different colors in LaTeX and ConTeXt

2016-07-12 Thread Henri Menke
t; On Tue, 12 Jul 2016, Hans Hagen wrote: > >> On 7/12/2016 5:07 PM, Aditya Mahajan wrote: >>> On Tue, 12 Jul 2016, Hans Hagen wrote: >>> >>>> On 7/12/2016 3:44 PM, Henri Menke wrote: >>>>> Dear Hans, >>>>> >>>>> thanks

[NTG-context] How to extend btx rendering?

2016-07-18 Thread Henri Menke
Dear list, It is common in physics (and probably mathematics) that papers are uploaded to an electronic archive prior to publishing them in the peer-review literature. In physical sciences this is https://arxiv.org. To cite such articles one usually uses the following format, here on the

[NTG-context] ppchTeX

2016-07-06 Thread Henri Menke
Dear list, I just wanted to check whether chemical structures typeset in ConTeXt can be exported as XML. Therefore I wanted to setup a simple example with ppchTeX. I copied example 3.1 from the manual [1] > \usemodule[chemic] > \starttext > > \startchemical[height=4500,bottom=2500] >

Re: [NTG-context] ppchTeX

2016-07-09 Thread Henri Menke
Dear Alan, thanks a lot for fixed code. Could you point out where to find the updated manual for MkIV? Cheers, Henri On 07/07/2016 08:26 PM, Alan BRASLAU wrote: > On Wed, 6 Jul 2016 18:23:57 +0200 > Henri Menke <henrime...@gmail.com> wrote: > >> Dear list, >> >&g

[NTG-context] I'm an idiot

2016-08-09 Thread Henri Menke
Dear list, I just documented \headsetupspacing in the wiki. However, due to my stupidity, I created the page http://wiki.contextgarden.net/headsetupspacing rather than http://wiki.contextgarden.net/Command/headsetupspacing Instead of moving the first to the second, I copied over the content

[NTG-context] How to add missing commands?

2016-08-09 Thread Henri Menke
Dear list, I just documented \headsetupspacing in the Garden. While doing so, I noticed that \headsetupspacing is missing from the ConTeXt commands reference (setup-en.pdf). How can I add commands there? Cheers, Henri

[NTG-context] Perhaps missing braces in buff-ini.mkiv?

2016-08-09 Thread Henri Menke
Dear list, it seems as if there are braces missing in the definition of \buff_save around #2. \def\buff_save[#1][#2]% {... {\setupcurrentsavebuffer[\c!list={#1},\c!file=#2]}% ...} I think they are missing, because it makes the following work, even though arguments and key-value

Re: [NTG-context] Now Bibliography works, but question to the backmatter

2016-08-09 Thread Henri Menke
Hi Uschi, I have no idea what you want to do, but \startsection has to be matched by \stopsection. Also, sections can logically only occur within chapters, so the nesting was also incorrect (assuming »Allgemeine Literatur« is supposed to be a section within the chapter »Bibliography«).

Re: [NTG-context] Now Bibliography works, but question to the backmatter

2016-08-09 Thread Henri Menke
r[title={Bibliography}] > \placelistofpublications > \startsection[title=Allgemeine Literatur] > \placelistofpublications > \stopsection > \stopchapter > \stopbackmatter > \stoptext > -Ursprüngliche Nachricht----- > Von: ntg-context [mailto:ntg-context-boun...

Re: [NTG-context] ConTeXt on linux-armhf

2016-08-08 Thread Henri Menke
Hi, as far as I know, there is no such thing like the standard ARM chip. The ARM company designs chips to fit the needs of their customers. Therefore, the Raspberry Pi processor and the processor in a smartphone may have a very different instruction set. The Wikipedia page for the ARM

Re: [NTG-context] vectors instead of embedding fonts

2016-08-15 Thread Henri Menke
Hi Pablo, you might be interested in the following question on TeX Stack Exchange: https://tex.stackexchange.com/questions/11307 Philipp Gesang gave an answer covering ConTeXt: https://tex.stackexchange.com/a/127902/10995 Cheers, Henri On 08/15/2016 06:53 PM, Pablo Rodriguez wrote: >

Re: [NTG-context] nested itemgroups sometimes not working

2017-02-01 Thread Henri Menke
It’s a known bug: https://mailman.ntg.nl/pipermail/ntg-context/2016/086926.html You can always test your code with latest standalone on http://live.contextgarden.net/ On 02/01/2017 04:43 PM, Lawrence Bell wrote: > I'm having some difficulties with nested itemgroups. I've produced a > minimal

Re: [NTG-context] BUG(?): asciimath does not support ||

2017-01-23 Thread Henri Menke
Thanks Aditya! Seems like there is no double vertical bar in the ASCIIMATH specs. I don’t use it anyway. Sorry for making noise. On 01/23/2017 09:05 AM, Aditya Mahajan wrote: > On Fri, 20 Jan 2017, Henri Menke wrote: > >> Dear devs, >> >> In mathematics the norm

[NTG-context] Bug in \startdocument

2017-01-24 Thread Henri Menke
Dear devs, It is really convenient to set PDF metadata in \startdocument, however I noticed that there is a bug. The PDF subject is not set using metadata:subject but with metadata:subtitle. This is not a big issue by itself but merely a little confusing. What’s worse is that using

Re: [NTG-context] mathmatrix and grid: followup

2017-01-24 Thread Henri Menke
Bump On 01/06/2017 10:33 AM, Henri Menke wrote: > Bump and (belated) Happy New Year! > > On 12/10/2016 10:37 AM, Henri Menke wrote: >> Bump >> >> On 11/27/2016 07:45 PM, Henri Menke wrote: >>> Bump >>> >>> On 11/22/2016 02:18 PM, Henri Menke

Re: [NTG-context] Underful with \startalignment[flushright]

2017-02-21 Thread Henri Menke
On 02/20/2017 10:59 PM, josephcan...@gmail.com wrote: > Dear list, > > > > Could not find any hint on this list on this (minor) problem. > > When compiling the following simple MWE : > > > > \starttext > > \startalignment[flushright] > > Foo. > > \stopalignment > > \stoptext > > >

Re: [NTG-context] LuaTeX 1.0.3 announcement

2017-02-18 Thread Henri Menke
On 02/17/2017 08:57 PM, luigi scarso wrote: > == > LuaTeX Release 1.0.3 was released 2017021514 > == > > This is a minor upgrade and probably this version will go on texlive. >

Re: [NTG-context] LuaTeX 1.0.3 announcement

2017-02-18 Thread Henri Menke
On 02/18/2017 09:42 AM, luigi scarso wrote: > On Sat, Feb 18, 2017 at 9:11 AM, Henri Menke <henrime...@gmail.com> wrote: >> On 02/17/2017 08:57 PM, luigi scarso wrote: >> How can I use the FFI? There is nothing in the latest docs. Thanks for all >> the effo

Re: [NTG-context] about table operation in lua-ConTeXt

2017-02-13 Thread Henri Menke
On 02/13/2017 06:50 AM, Jeong Dal wrote: > Dear all, > > It may be a slight off topic. > In the following example, I copied a table “m” to “tempM”, and remove the > last row of tempM. > Then the output is “ 2, 2” > I checked the contents of tempM and m and found that they are same even > though

Re: [NTG-context] next beta

2017-01-17 Thread Henri Menke
On 01/17/2017 08:23 PM, Hans Hagen wrote: > On 1/17/2017 8:13 PM, Henri Menke wrote: >> On 01/15/2017 05:19 PM, Hans Hagen wrote: >>> Hi, >>> >>> the next beta has additional keywords for texdefinitions: >>> >>> \starttext >>> >&

Re: [NTG-context] next beta

2017-01-17 Thread Henri Menke
On 01/15/2017 05:19 PM, Hans Hagen wrote: > Hi, > > the next beta has additional keywords for texdefinitions: > > \starttext > > % [spaces|nospaces] [global] [unexpanded] [expanded] [..argument] csname > > \starttexdefinition unexpanded doubleempty whatever [#1][#2]#3 Is only the outer level

Re: [NTG-context] Question about document parameters

2017-01-17 Thread Henri Menke
Bump On 01/09/2017 01:49 PM, Henri Menke wrote: > Dear list, > > I cannot seem to find the documentation for the parameters which you can set > in the first line of the document. From an example I found that you can > select the engine this way. > > % engine=luajittex

[NTG-context] BUG(?): asciimath does not support ||

2017-01-20 Thread Henri Menke
Dear devs, In mathematics the norm of something is usually denoted by the double vertical bars, e.g. ||v||. This is not available in asciimath. \usemodule[asciimath] \starttext $\asciimath{ x^* = min { x | sum_{kk} ||f(x_{kk}^{20})|| } }$ \stoptext Could you please add this to the parser?

Re: [NTG-context] columnset and placefigure

2016-08-19 Thread Henri Menke
Bump On 07/20/2016 11:24 AM, Henri Menke wrote: > Dear list, > > I'm using columnsets to typeset stuff for a conference poster. I can't > use paragraphs or columns, because these do not allow to set frames or > backgrounds. Currently I do not use the column-spanning features

Re: [NTG-context] What's the difference between \dontleavehmode and \leavevmode?

2016-08-18 Thread Henri Menke
Hans, Wolfgang, thank you for your speedy reply. However, I still do not know the difference between \leavevmode and \quitvmode. Could you please elaborate? Cheers, Henri On 08/18/2016 06:39 PM, Hans Hagen wrote: > On 8/18/2016 5:23 PM, Henri Menke wrote: >> Dear list, >> &

[NTG-context] How to switch single font?

2016-08-05 Thread Henri Menke
Dear list, how can I switch to another typeface for the, say, roman font only? When I use \definefontfamily to do so it switches *all* the fonts, including math, to the one loaded (example below). This leads to very undesirable effects, such as math is no longer set in italics. Cheers,

Re: [NTG-context] Question about a link in a footnote to cite

2016-08-05 Thread Henri Menke
Hi Uschi, you should perhaps read the slides from Alan talk about bibliographies [1] for a quick start and the official manual »Bibliographies the ConTeXt Way«, because I have the feeling that you ask the same questions over and over again. To solve your problem, you have to bring the

[NTG-context] \pdfactualtext and \char

2016-08-05 Thread Henri Menke
Dear list, \pdfactualtext behaves oddly when the argument is \char. \starttext \pdfactualtext{\char`A}{B} \stoptext In the example, the actual text in the PDF is »A« even though it should be »B«. If I just use \pdfactualtext{A}{B} it works fine. Cheers, Henri

Re: [NTG-context] Alter text to "Figure"

2017-02-28 Thread Henri Menke
On 02/27/2017 10:45 PM, Procházka Lukáš Ing. wrote: > Hello, > > how to alter auto-text to figures placed by > "\placefloat[]{Caption}{\externalfigure[]}" to be: > > "Figure 1. Caption" > > instead of > > "Figure 1 Caption", > > IOW, how to add "." after the figure "auto-text"?

Re: [NTG-context] which command would give the same effect as \pause in beamer ?

2017-02-28 Thread Henri Menke
You can also find this directory on GitHub https://github.com/contextgarden/context-mirror/tree/beta/doc/context/presentations On 02/28/2017 06:27 PM, dam...@thiriet.web4me.fr wrote: > Thank you for all your answers. > I will have a look at the texmf/doc/context/presentation file which is not >

Re: [NTG-context] align text and formula

2016-08-25 Thread Henri Menke
Hi Jan, if I understood you correctly, this should produce what you are after. \starttext \startformula E = mc^2 \stopformula \startformula \startalign[m=3,align={middle},distance=0pt plus 1 fil] \NC \rlap{\text{Text1}}\NC\NC E=mc^2 \NR \NC \rlap{\text{This

Re: [NTG-context] Evaluating a Lua expression at the end (repeat)

2016-08-25 Thread Henri Menke
Hi Kumar, the function job.variables.save seems to save the key in job.variables.collected.macros instead of job.variables.collected. The problem is that macros is not created unconditionally, which is why you might run into a »attempt to index a nil value« error without some manual error

Re: [NTG-context] align text and formula

2016-08-25 Thread Henri Menke
one of these days to try and master those > commands :-) > > Regards, > Jan Willem Flamma > > >> On 25 aug. 2016, at 13:52, Henri Menke <henrime...@gmail.com> wrote: >> >> Hi Jan, >> >> if I understood you correctly, this should produ

Re: [NTG-context] Perhaps missing braces in buff-ini.mkiv?

2016-09-06 Thread Henri Menke
Bump On 08/09/2016 10:54 AM, Henri Menke wrote: > Dear list, > > it seems as if there are braces missing in the definition of \buff_save > around #2. > > \def\buff_save[#1][#2]% > {... > {\setupcurrentsavebuffer[\c!list={#1},\c!file=#2]}% > ...} > >

Re: [NTG-context] Perhaps missing braces in buff-ini.mkiv?

2016-09-06 Thread Henri Menke
On 09/06/2016 10:36 AM, Hans Hagen wrote: > On 9/6/2016 9:05 AM, Henri Menke wrote: >> Bump >> >> On 08/09/2016 10:54 AM, Henri Menke wrote: >>> Dear list, >>> >>> it seems as if there are braces missing in the definition of \buff_sa

Re: [NTG-context] \vfill shifts content off grid

2016-09-01 Thread Henri Menke
On 09/01/2016 09:33 AM, Hans Hagen wrote: > On 8/31/2016 7:45 PM, Henri Menke wrote: >> Dear list, >> >> when I use a body font size other than the standard, issuing \vfill will >> move the content off the grid. MWE is below. How do I fix this? > > that's how

Re: [NTG-context] \vfill shifts content off grid

2016-09-01 Thread Henri Menke
On 09/01/2016 01:53 PM, Hans Hagen wrote: > On 9/1/2016 1:22 PM, Henri Menke wrote: >> On 09/01/2016 09:33 AM, Hans Hagen wrote: >>> On 8/31/2016 7:45 PM, Henri Menke wrote: >>>> Dear list, >>>> >>>> when I use a body font size other than th

[NTG-context] Bug in \placeformula

2016-09-02 Thread Henri Menke
Dear list, this formula is not numbered even though it should be. Please fix. \starttext \placeformula \startformula \startmathcases \NC 0 \NC $\mu > 2t$ \NR \NC \pi/2 \NC $\mu = 2t$ \NR \NC \pi \NC $\mu < 2t$ \NR \stopmathcases \stopformula \stoptext Cheers, Henri

Re: [NTG-context] Margin kerning for compounds

2016-09-08 Thread Henri Menke
the same as |-| (?) and kerns properly Hyphenation of compound words is non-\penalty\zerocount\hskip\zeropoint\relax trivial \stoptext On 09/08/2016 10:52 AM, Henri Menke wrote: > Dear list, > > when writing compound words I want the second part to be eligible for > hyphenation to avoi

[NTG-context] Margin kerning for compounds

2016-09-08 Thread Henri Menke
Dear list, when writing compound words I want the second part to be eligible for hyphenation to avoid bad breaks. Therefore, instead of »non-trivial« I write »non|-|trivial«. However, I noticed that when I make dash compound aware it is no longer kerned into the margin. MWE is below. How

Re: [NTG-context] Margin kerning for compounds

2016-09-08 Thread Henri Menke
On 09/08/2016 12:12 PM, Thomas A. Schmitz wrote: > On 08.09.2016 11:08, Henri Menke wrote: >> I have constructed a better example (and eliminated a grammar error), see >> below. I think what »|-|« does is essentially >> »-\penalty\zerocount\hskip\zeropoint«. When I insert

[NTG-context] Trace references

2016-09-08 Thread Henri Menke
Dear list, when using cross referencing in my document, LaTeX has the nice warning messages LaTeX Warning: Reference 'foo' on page XX undefined on input line YY. LaTeX Warning: Label `foo' multiply defined. LaTeX Warning: There were undefined references. LaTeX Warning: There were

Re: [NTG-context] Trace references

2016-09-08 Thread Henri Menke
On 09/08/2016 03:46 PM, Wolfgang Schuster wrote: >> Henri Menke <mailto:henrime...@gmail.com> >> 8. September 2016 um 15:35 >> Dear list, >> >> when using cross referencing in my document, LaTeX has the nice warning >> messages >> >> LaTeX

Re: [NTG-context] Wrong bookmark for TOC

2016-09-04 Thread Henri Menke
On 09/04/2016 07:28 PM, Wolfgang Schuster wrote: >> Henri Menke <mailto:henrime...@gmail.com> >> 4. September 2016 um 13:28 >> Dear list, >> >> when I specify that titles should be added to the bookmarks, the text of the >> bookmark is somewhat w

[NTG-context] Overfull boxes in bibliography

2016-08-29 Thread Henri Menke
Dear list, I noticed, that even though I set \version[temporary] to make overfull boxes visible, they were not marked with an overfullrule in the bibliography. Below you find a minimal example which reproduces the problem on TL 2016. First I typeset the entry by hand where the black

[NTG-context] Caption placement in margin

2016-08-30 Thread Henri Menke
Dear list, I was trying to place float captions in the margin, which according to setup-en.pdf should work with location=outermargin, but it doesn't. The MWE below reproduces this on TL 2016 and on http://live.contextgarden.net/. Please fix. Cheers, Henri --- \setupfloatcaption [figure]

[NTG-context] \vfill shifts content off grid

2016-08-31 Thread Henri Menke
Dear list, when I use a body font size other than the standard, issuing \vfill will move the content off the grid. MWE is below. How do I fix this? Cheers, Henri --- \setupbodyfont[9pt] \setuplayout[grid=yes] \showgrid \starttext Hello \vfill World \stoptext

Re: [NTG-context] Caption placement in margin

2016-08-31 Thread Henri Menke
/mkiv/strc-flt.mkvi you can find the following definitions: \let\setupcaption \setupfloatcaption \let\setupcaptions\setupfloatcaption Cheers, Henri On 08/31/2016 09:59 AM, Mikael P. Sundqvist wrote: > On Tue, Aug 30, 2016 at 9:25 PM, Henri Menke <henrime...@gmail.com> wrote: >> Dea

Re: [NTG-context] Problem finding 'cow'

2016-08-31 Thread Henri Menke
Hi Lukáš, there are some trackers available concerning image loading http://wiki.contextgarden.net/Command/externalfigure#Tracking Cheers, Henri On 08/31/2016 04:25 PM, Procházka Lukáš Ing. wrote: > Hello, > > it seems my ConTeXt doesn't find its own 'cow.pdf'. > > The file is located in >

Re: [NTG-context] I want to write a page which tells what the book is about

2016-09-09 Thread Henri Menke
Dear Uschi, just use the standard makeup for your titlepage. It automatically flushes to a right page in a double sided document. Also, content should *always* start on a right page. That is to say, your »about the book« text should also go to a right page. Cheers, Henri

Re: [NTG-context] mathmatrix and grid

2016-10-08 Thread Henri Menke
Bump On 09/30/2016 11:01 PM, Henri Menke wrote: > Dear list, > > I noticed that when using grid=both then the height of a mathmatrix is > rounded down for no apparent reason whereas the depth is rounded up > correctly. Visually it appears to me that the height should be rou

Re: [NTG-context] Paranormal bug in TL 2016

2016-10-10 Thread Henri Menke
016 01:49 PM, Henri Menke wrote: >> Dear Thomas, >> >> does it also compile on latest beta when there is a hyphen in the filename? >> BTW, the example can be simplified a little by just using >> \setbreakpoints[compound] instead of my complicated hyphen thing (Updated

Re: [NTG-context] Paranormal bug in TL 2016

2016-10-10 Thread Henri Menke
=doublesided] \starttext \startstandardmakeup \stopstandardmakeup {\em Detailtypografie} by Friedrich Frossman \stoptext On 10/10/2016 12:31 PM, Thomas A. Schmitz wrote: > On 10/10/2016 12:14 PM, Henri Menke wrote: >> Dear list, >> >> at some point my document started throwing a

Re: [NTG-context] mathmatrix and grid

2016-10-10 Thread Henri Menke
On 10/10/2016 12:30 PM, Wolfgang Schuster wrote: >> Henri Menke <mailto:henrime...@gmail.com> >> 10. Oktober 2016 um 11:44 >> On 10/10/2016 11:24 AM, Wolfgang Schuster wrote: >>>> Henri Menke <mailto:henrime...@gmail.com> >>>> 30. Septe

Re: [NTG-context] Bug in \not\in?

2016-09-18 Thread Henri Menke
On 09/18/2016 08:44 PM, Mohammad Hossein Bateni wrote: > Hi, > > When using \not\in in math, the two symbols do not overlap as they should. > Am I missing something? > > > \starttext > $v\not\in S$. > \stoptext Use \notin. This will also give you the correct Unicode symbol. > > > I am

Re: [NTG-context] Nested itemize horizontal/column problem

2016-09-18 Thread Henri Menke
You can start itemize only in vertical mode. To switch to vertical mode use \blank. To kill the empty line which is inserted use \blank[-line]. \starttext \startitemize[n] \item \blank[-line] \startitemize[a,horizontal,three] \startitem First \stopitem \startitem Second \stopitem \startitem

[NTG-context] What's the difference between \dontleavehmode and \leavevmode?

2016-08-18 Thread Henri Menke
Dear list, could someone please explain what is the difference between \dontleavehmode and \leavevmode? Internally, I also stumbled upon \quitvmode. Is this a synonym for \leavevmode? It seems to be primitive. Cheers, Henri

[NTG-context] mathalignment and grid

2016-08-28 Thread Henri Menke
Dear list, when I typeset multi line equations using mathalignment and grid the descenders of the last line of equation run into the first line of text after that equation. The problem is particularly bad with the Lucida fonts (I think the large operators are relatively larger than for Latin

Re: [NTG-context] mathalignment and grid

2016-08-28 Thread Henri Menke
down both depth and height which is inconvenient when the content has large descenders (as in the example). It should be therefore changed to some other grid setting which rounds up. I chose `top` for now but I'm not done experimenting yet. Cheers, Henri On 08/28/2016 03:27 PM, Henri Menke

Re: [NTG-context] Source very outdated

2016-08-26 Thread Henri Menke
Dear maintainers, could someone please add Aditya's github mirror at https://github.com/contextgarden/context-mirror to the Wiki frontpage? Currently there is only the bitbucket mirror listed. Thanks, Henri On 08/02/2016 05:12 PM, Aditya Mahajan wrote: > On Tue, 2 Aug 2016, Henri Me

Re: [NTG-context] rightaligned formulas stick out in the margin

2016-09-27 Thread Henri Menke
No problem with TL 2016. Are you on beta? On 09/27/2016 03:10 PM, Mikael P. Sundqvist wrote: > Hi! > > Look at the following example (pdf attached) > > \setupformulas[ > align=flushleft, > leftmargin=3em, > ] > > \starttext > \input tufte % Some text to see where the margin is > > This looks

Re: [NTG-context] Overfull boxes in bibliography

2016-09-27 Thread Henri Menke
Bump On 08/30/2016 12:23 AM, Henri Menke wrote: > Dear list, > > I noticed, that even though I set \version[temporary] to make overfull boxes > visible, they were not marked with an overfullrule in the bibliography. > Below you find a minimal example which reproduces the pro

Re: [NTG-context] Overfull boxes in bibliography

2016-09-28 Thread Henri Menke
agated, one can add > > \setupbtxlist > [aps] % for example > [align={normal,verytolerant,stretch}] > > in your setup. There should then be no need for overfill boxes. > > Alan > >> On Aug 30, 2016, at 00:23, Henri Menke <henrime...@gmail.com> wrote

[NTG-context] appendices disregards page method

2016-09-30 Thread Henri Menke
Dear list, when I'm starting a new chapter I want it to start on a recto page and if a page without text has to be inserted to fulfil this requirement it should be completely blank (no headers of footers). It was easy to achieve using \definepagebreak and setting the page method of the

Re: [NTG-context] Help with grid typesetting

2016-09-26 Thread Henri Menke
On 09/26/2016 12:07 AM, Marcus Vinicius Mesquita wrote: > Dear list, > > In the MWE below, the line with > \setuphead[chapter][before={\blank[3*line,force]}] disrupts the grid > typesetting in the first page. What am I missing? > > > \setuplayout[grid=yes] > \showgrid >

[NTG-context] mathmatrix and grid

2016-09-30 Thread Henri Menke
Dear list, I noticed that when using grid=both then the height of a mathmatrix is rounded down for no apparent reason whereas the depth is rounded up correctly. Visually it appears to me that the height should be rounded up here. In the MWE I added a \vrule to show that the determined height

[NTG-context] BUG: Undefined control sequence \greekleftquot

2016-10-27 Thread Henri Menke
Dear maintainers, in the Greek language definitions the definitions for the quotation marks are missing (originally reported in https://tex.stackexchange.com/questions/336205). The following examples illustrates the problem and also provides an immediate fix: \startmode[fix] % these were

Re: [NTG-context] Typing in natural width box

2016-11-08 Thread Henri Menke
=no,offset=0pt] \setuptyping[before=,after=] \starttyping print("Hello World!") \stoptyping \stopframed } \stoptext On 11/08/2016 03:10 PM, Henri Menke wrote: > Dear list, > > To answer this question on TeX.SX > https://tex.stackexchange.com/questions/33813

[NTG-context] Typing in natural width box

2016-11-08 Thread Henri Menke
Dear list, To answer this question on TeX.SX https://tex.stackexchange.com/questions/338135/ I was trying to put a typing environment into a natural width box. It first seemed that framedtext is doing what I was after but it turned out that only the frame is adjusted to natural width, the

[NTG-context] Mysterious overfull box

2016-10-22 Thread Henri Menke
Dear list, I want to typeset a letter head flush right. Therefore I used the \start...\stopalignment with the option flushright. \starttext \startalignment[flushright] Why is this hbox underfull? \stopalignment \stoptext However, this gives me Underfull \hbox (badness 1) in paragraph

Re: [NTG-context] Mysterious overfull box

2016-10-22 Thread Henri Menke
Pff, just use \startalignment[flushright,broad]. Sorry for making noise. On 10/22/2016 02:41 PM, Henri Menke wrote: > Dear list, > > I want to typeset a letter head flush right. Therefore I used the > \start...\stopalignment with the option flushright. > > \starttext

Re: [NTG-context] PDF/A generation

2016-10-18 Thread Henri Menke
Dear Peter, thanks for the update. Can you maybe tell what exactly has changed to fix it? I'm on the TL 2016 release and cannot update because I fear regressions for my important document. Cheers, Henri On 10/18/2016 02:54 PM, Peter Rolf wrote: > Hi, > > just for the records. The problems

Re: [NTG-context] Problem with lucida

2016-11-12 Thread Henri Menke
Works for me without problems. Also I would recommend the following setup: \setupbodyfont[lucidaot,10pt] \starttext abcdefgh \stoptext On 11/12/2016 02:54 PM, Eric Detrez (Info) wrote: > I've got a curious problem with lucida. > > Characters have ascii code shifted by -1 (note the kerning) >

[NTG-context] Combo fonts in MKIV

2016-11-15 Thread Henri Menke
Dear list, On http://tex.stackexchange.com/a/314401/10995 I saw that LuaTeX has support for combo fonts where one can select different fonts and features for selected glyph ranges. Is there an interface in MKIV for that? I couldn’t find anything in fonts-mkiv.pdf. Cheers, Henri

[NTG-context] mathmatrix and grid: followup

2016-11-22 Thread Henri Menke
Dear list, some time ago I asked about the interplay of mathmatix with grid typesetting: https://mailman.ntg.nl/pipermail/ntg-context/2016/087018.html I noticed that when the grid is enabled, the height of a mathmatrix is rounded down which leaves less space above than below. In my opinion

Re: [NTG-context] Overlays and layers documentation?

2016-11-22 Thread Henri Menke
On 11/21/2016 07:44 PM, Jaroslav Hajtmar wrote: > Hello ConTeXist. > > Is there any documentation or manual, where I could read some details about > using of overlays and layers in ConTeXt? I see on the Internet and wiki > ConTeXtgarden some examples, but I would be interested in details

Re: [NTG-context] mathmatrix and grid: followup

2016-11-27 Thread Henri Menke
Bump On 11/22/2016 02:18 PM, Henri Menke wrote: > Dear list, > > some time ago I asked about the interplay of mathmatix with grid typesetting: > https://mailman.ntg.nl/pipermail/ntg-context/2016/087018.html > > I noticed that when the grid is enabled, the height of a mathma

  1   2   3   4   5   >