[NTG-context] Expandable \doifelse tests

2017-05-21 Thread Henri Menke
Dear list, Motivated by this question on TeX.SX https://tex.stackexchange.com/questions/370868 I was fiddling around with the \doifelse conditionals. I noticed that most of them are not expandable, which makes it very difficult to concatenate them. Here a simple example \starttext \doifelse

[NTG-context] Spurious vertical space above figure

2017-05-17 Thread Henri Menke
Dear list, Motivated by this question on TeX.SX https://tex.stackexchange.com/questions/370292 I found out that in a full-page figure there is a spurious vertical space of .5\baselineskip above the figure.  I was not able to find out where it comes from.  Is this by design?  MWE is below. Cheers,

Re: [NTG-context] (re)defining command with options

2017-05-16 Thread Henri Menke
On Tue, 2017-05-16 at 22:10 +0200, Florian Grammel wrote: > While visualising index-entires in the margin using > \version[temporary] isn't implemented for MkIV yet, I'd like to > define a basic stand-in in the meantime: > > \setupmargindata[inmargin][location=outer, style=itxx] > \define[1]\myind

[NTG-context] \definenamespace and the list option

2017-05-15 Thread Henri Menke
Dear list, Motivated by this question on TeX.SX https://tex.stackexchange.com/questions/369778 I took a look at the \definenamespace mechanism in ConTeXt. It seems that it permits a syntax like \define[...,...][...=...,...=...] where you can provide a list of instances to define in the first ar

Re: [NTG-context] \overline and \overbar

2017-05-10 Thread Henri Menke
he person managing the list at >> ntg-context-ow...@ntg.nl >> >> When replying, please edit your Subject line so it is more specific >> than "Re: Contents of ntg-context digest..." >> >> >> Today's Topics: >> >> 1. Re: BU

Re: [NTG-context] BUG: % is comment in btx fields

2017-05-08 Thread Henri Menke
On Mon, 2017-05-08 at 20:15 -0400, Rik Kabel wrote: > On 2017-05-08 17:44, Henri Menke wrote: > > Dear list, > > > > The percent character in btx field is taken as a comment characters > > which leads to the rest of the field being discarded.  In the MWE > >

Re: [NTG-context] BUG: % is comment in btx fields

2017-05-08 Thread Henri Menke
; abinet" > } > > \stopbuffer > > \usebtxdefinitions[apa] > \usebtxdataset[references.buffer] > > \starttext > > \nocite[kraft] > > \placelistofpublications > > \showbtxdatasetcompleteness > > \stoptext > > > > On Tue, 9 May 2017 09:44:01 +1

[NTG-context] BUG: % is comment in btx fields

2017-05-08 Thread Henri Menke
Dear list, The percent character in btx field is taken as a comment characters which leads to the rest of the field being discarded.  In the MWE below, the URL is cut off at the % sign and everything after it is lost. Cheers, Henri --- \startbuffer[references] @misc{kraft,   author = "Kraft,

[NTG-context] BUG: Colour spilling in btxrendering

2017-05-07 Thread Henri Menke
Dear list, I reported this already some time ago but apparently it went unnoticed. https://mailman.ntg.nl/pipermail/ntg-context/2016/086227.html When you place hyperlinks in the bibliography the colour »spills over«, see MWE below.  The link is only on the string `Phys. Rev. 140 A1133–A1138 (196

[NTG-context] Custom sized delimiters vanish

2017-05-02 Thread Henri Menke
Dear list, In TL2016 custom sized delimiters of \lvert and \rvert simply vanish.  The same happens when I replace \lvert (or \rvert) by \vert and |.  MWE is below. Cheers, Henri \starttext \startformula   \left \lvert \frac{a}{b} \right\rvert   \quad   \Biggl\lvert \frac{a}{b} \Biggr\rvert  

[NTG-context] The Wiki is down

2017-05-01 Thread Henri Menke
No it is not just me: http://www.isup.me/http://wiki.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

Re: [NTG-context] High-level command for translated names

2017-04-30 Thread Henri Menke
On 04/30/2017 09:41 PM, Wolfgang Schuster wrote: > >> Henri Menke <mailto:henrime...@gmail.com> >> 30. April 2017 um 11:38 >> Dear list, >> >> Inspired by this question on TeX.SX >> https://tex.stackexchange.com/questions/367433 >> >> H

[NTG-context] High-level command for translated names

2017-04-30 Thread Henri Menke
Dear list, Inspired by this question on TeX.SX https://tex.stackexchange.com/questions/367433 How can I get the translated names for chapter and section depending on the currently active language. I know they are there in lang-txt.lua, but cannot be accessed via \labeltext. One can access th

[NTG-context] How to go through a vbox line by line in Lua?

2017-04-26 Thread Henri Menke
Dear list, Recently I answered a question on TeX.SX where it was necessary to go through an already typeset vbox and examine it line by line.  Therefore I used the macro \eatlines from Viktor Ei­jkhout's "TeX by Topic", here a version tailored to my needs: \def\eatlines{%   \setbox\scratchbox=\la

Re: [NTG-context] Modern CV like cover letter example

2017-04-18 Thread Henri Menke
Better use the language aware labeltexts \setuplabeltext [language] [labellabel=text,labellabel=text,...] rather than setting some macros based on self-defined modes. On 04/18/2017 12:34 AM, Jonas Baggett wrote: > Hello everyone, > > As suggested by Wolfgang Schuster here : > https://mailman.n

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

2017-04-01 Thread Henri Menke
I haven’t bumped this in a long time... On 01/24/2017 11:57 PM, Henri Menke wrote: > 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 >>> >>>

Re: [NTG-context] Altering footnotes via \setupfootnotes

2017-03-24 Thread Henri Menke
Indenting is easy. For space in between I haven’t found anything useful. You can hack something with after. \setupnote [footnote] [after={\switchtobodyfont[\noteparameter{bodyfont}]\blank[-line]}] \setupnotation [footnote] [ after={\blank[line]}, indenting={yes,medium}, ] \s

Re: [NTG-context] (off-topic) concatenating signed PDF documents

2017-03-08 Thread Henri Menke
»If you have PDF documents digitally signed the only way to combine them preserving their signatures is to create a PDF Portfolio with Acrobat Pro.« Source: https://answers.acrobatusers.com/How-do-I-combine-multiple-files-to-one-PDF-when-one-or-more-files-has-been-digitally-signed-through-Docusig

Re: [NTG-context] Feature Request: xtables extensions

2017-03-08 Thread Henri Menke
\stopXTABLEfoot \stopXTABLE \stoptext On 03/08/2017 04:49 PM, Henri Menke wrote: > Alternatively to my first proposal but still overloading the original xtables > I came up with another solution which does not have the \NC\NR but only \NR > and does not read the cell content as an

Re: [NTG-context] Feature Request: xtables extensions

2017-03-08 Thread Henri Menke
Bitübertragungsschicht \NC[nx=2] 100BASE-TX \NC[nx=2] 100BASE-T \NC[nx=2] 1000BASE-T \NR \stopxtable \stoptext On 03/08/2017 04:39 PM, Henri Menke wrote: > I quickly came up with something myself. Unfortunately, it involves > overloading of the original xtables. Perhaps there is a better way but it > wor

Re: [NTG-context] Feature Request: xtables extensions

2017-03-08 Thread Henri Menke
] IPv6 \NC\NR \NC Sicherungsschicht \NC[nx=6] Ethernet \NC\NR \NC Bitübertragungsschicht \NC[nx=2] 100BASE-TX \NC[nx=2] 100BASE-T \NC[nx=2] 1000BASE-T \NC\NR \stopxtable \stoptext On 03/08/2017 04:29 PM, Henri Menke wrote: > Dear devs, > > Natural Tables are quite handy but their

[NTG-context] Feature Request: xtables extensions

2017-03-08 Thread Henri Menke
Dear devs, Natural Tables are quite handy but their syntax is a little verbose. \bTABLE \bTR \bTD ... \eTD \eTR \eTABLE There exist nice extensions which make the format less verbose by mapping \startTABLE \NC ... \NR\NR \stopTABLE back to the original macros. The new method for tab

Re: [NTG-context] Bug in Natural Tables

2017-03-08 Thread Henri Menke
On 03/08/2017 10:52 AM, Thomas A. Schmitz wrote: > On 03/08/2017 10:28 AM, Henri Menke wrote: >> \starttext >> >> \startTABLE[align={lohi,middle}] >> \NC OSI-Schicht\NC[nx=6] Umsetzung \NC\NR >> \NC Anwendungsschicht \NC[nx=2,ny=3] SOME/I \NC[n

[NTG-context] Bug in Natural Tables

2017-03-08 Thread Henri Menke
Dear list, I wanted to show off the wonders of Natural Tables in TeX.SX but the table I wanted to make escapes out of the page. Why does the width explode so much? MWE is below. Cheers, Henri --- \starttext \startTABLE[align={lohi,middle}] \NC OSI-Schicht\NC[nx=6] Umsetzung \

Re: [NTG-context] Disable structure sectioning messages on console

2017-03-06 Thread Henri Menke
The structure is printed via logs.reporter("structure","sectioning") You can disable it via \ctxlua{logs.disable("structure")} but I guess this will disable all logging in the "structure" category. You could also disable the interface command via \let\strc_sectioning_report\relax On 03/06/2

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] 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"? \se

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/18/2017 09:42 AM, luigi scarso wrote: > On Sat, Feb 18, 2017 at 9:11 AM, Henri Menke 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 efforts! > luatex ffi is beyond the &

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] 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] 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 work

[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 metadata:

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] 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(?): 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? Che

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] 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

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 \

[NTG-context] Italic correction behaviour is odd

2017-01-11 Thread Henri Menke
Dear list, why are italic corrections in the MWE below not inserted according to the rules stated in the new font manual? See comments in the code for details. I can reproduce the issue with TL2016 and latest beta. Cheers, Henri --- \definefontfeature [default] [default] [itlc=yes] \

[NTG-context] Question about document parameters

2017-01-09 Thread Henri Menke
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 \starttext Hello World! \stoptext What other parameters can I set this way and what is

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

2017-01-06 Thread Henri Menke
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 wrote: >>> Dear list, >>> >>> some time ago I asked about

Re: [NTG-context] integral symbol

2016-12-28 Thread Henri Menke
On 12/28/2016 11:39 AM, Fabrice Couvreur wrote: > Hello, > The integral symbol is little in inline math mode. Is it possible to have it > bigger ? > thank you, > Fabrice > > \definetypeface [mainface] [rm] >[serif] [palatino][default] [encoding=texnansi] > > \definetypeface [mainface]

[NTG-context] TABLE breaking is weird

2016-12-19 Thread Henri Menke
Dear list, the problem is hard to describe but TABLE breaking behaves in a weird way. Please try out the MWE below. It is reproducible on TL2016 and latest beta. Cheers, Henri --- MWE --- \starttext \dorecurse{10}{\input lorem} \startplacetable [ title={Landscape table}, %locatio

[NTG-context] minimals.contextgarden.net is down!

2016-12-16 Thread Henri Menke
Dear maintainers, the http://minimals.contextgarden.net/ website is down and it is not just me: http://downforeveryoneorjustme.com/minimals.contextgarden.net Cheers, Henri ___ If your question is of interest to o

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

2016-12-10 Thread Henri Menke
Bump On 11/27/2016 07:45 PM, Henri Menke wrote: > 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.h

Re: [NTG-context] grid snapping problem

2016-12-06 Thread Henri Menke
The following should do the trick. However, you have to keep \setnostrut and \setstrut around the figure because the before and after keys for captions are not (yet) implemented. \setuplayout[grid=yes] \showgrid \starttexdefinition caption:text #1 \setuplocalinterlinespace[line=2.2ex] #1 \st

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

[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 eit

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 relatin

[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 _

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) > >

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

2016-11-08 Thread Henri Menke
,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/338135/

[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 und

Re: [NTG-context] Use \unit for value and uncertainty

2016-11-02 Thread Henri Menke
On 10/31/2016 05:30 PM, Florian Leupold wrote: > Hello! > > There does not seem to be a simple solution to using \unit with > uncertainties, see below. > > Could someone maybe point me to the relevant source code for the parser for > \unit in MKIV? Then I would try to modify/improve the code my

[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 fo

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

[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 at

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 w

Re: [NTG-context] PDF/A generation

2016-10-13 Thread Henri Menke
={default_cmyk.icc,default_rgb.icc,default_gray.icc}, ] \setupstructure[state=start,method=auto] \starttext \startchapter[title=Testing] \input knuth \stopchapter \stoptext On 10/13/2016 03:13 PM, luigi scarso wrote: > On Thu, Oct 13, 2016 at 3:03 PM, Henri Menke wrote: >> Dear list, (especia

[NTG-context] PDF/A generation

2016-10-13 Thread Henri Menke
Dear list, (especially Luigi) for online publication I need to create a PDF/A compliant output file. Does anyone have any experience with it and can tell me whether my setup will work? So far I'm using \setupbackend [ format={pdf/a-2a}, profile={default_cmyk.icc,default_rgb.icc,defa

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

2016-10-12 Thread Henri Menke
15:33, Henri Menke wrote: >> On 10/10/2016 03:59 PM, Mojca Miklavec wrote: >>> On 10 October 2016 at 15:31, Henri Menke wrote: >>>> I have found another thread reporting the same problem >>>> >>>> https://www.mail-archive.com/ntg-context@ntg.nl/m

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

2016-10-11 Thread Henri Menke
On 10/11/2016 03:45 PM, Mojca Miklavec wrote: > On 11 October 2016 at 15:33, Henri Menke wrote: >> On 10/10/2016 03:59 PM, Mojca Miklavec wrote: >>> On 10 October 2016 at 15:31, Henri Menke wrote: >>>> I have found another thread reporting the same problem >>

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

2016-10-11 Thread Henri Menke
On 10/10/2016 03:59 PM, Mojca Miklavec wrote: > On 10 October 2016 at 15:31, Henri Menke wrote: >> I have found another thread reporting the same problem >> >> https://www.mail-archive.com/ntg-context@ntg.nl/msg82349.html >> >> However, Hans only replied with »ha

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

2016-10-11 Thread Henri Menke
On 10/10/2016 03:59 PM, Mojca Miklavec wrote: > On 10 October 2016 at 15:31, Henri Menke wrote: >> I have found another thread reporting the same problem >> >> https://www.mail-archive.com/ntg-context@ntg.nl/msg82349.html >> >> However, Hans only replied with »ha

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

2016-10-11 Thread Henri Menke
On 10/10/2016 03:59 PM, Mojca Miklavec wrote: > On 10 October 2016 at 15:31, Henri Menke wrote: >> I have found another thread reporting the same problem >> >> https://www.mail-archive.com/ntg-context@ntg.nl/msg82349.html >> >> However, Hans only replied with »ha

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] 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. September

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

2016-10-10 Thread Henri Menke
ative=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 throw

[NTG-context] Paranormal bug in TL 2016

2016-10-10 Thread Henri Menke
Dear list, at some point my document started throwing an error ! error: (nodes): trying to delete an attribute reference of a non attribute node I managed to extract a minimal example which shows the error (below). However, the error only occurs when the filename of the document contains a h

Re: [NTG-context] mathmatrix and grid

2016-10-10 Thread Henri Menke
On 10/10/2016 11:24 AM, Wolfgang Schuster wrote: >> Henri Menke <mailto:henrime...@gmail.com> >> 30. September 2016 um 23:01 >> Dear list, >> >> I noticed that when using grid=both then the height of a mathmatrix is >> rounded down for no appar

Re: [NTG-context] Ideas for improving documentation of ConTeXt

2016-10-09 Thread Henri Menke
Dear Jonas, please don't be disappointed but you are not the first person to suggest such a thing. You may now ask, why doesn't such a thing exist then? Well, the basic answer is, go ahead and implement it. Most probably no one else will volunteer to do it and especially the people from PRAG

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

[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] 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 chapter

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 wrote: >> >> D

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] 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 > \setuphead[chapter][bef

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 Thi

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 usin

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 \setuppagenumberin

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

[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 multiply-defined

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

Re: [NTG-context] Margin kerning for compounds

2016-09-08 Thread Henri Menke
s 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

[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 ca

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] 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] 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 wron

[NTG-context] Wrong bookmark for TOC

2016-09-04 Thread Henri Menke
Dear list, when I specify that titles should be added to the bookmarks, the text of the bookmark is somewhat wrong. The heading of the table of contents is »Contents«, so I expect this to appear as bookmark. Unfortunately, the bookmark read »content« (all lowercase and singular). MWE is belo

[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] \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

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

[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] Problem finding 'cow'

2016-08-31 Thread Henri Menke
. To add the TEXMF directory to the image search path, use: > > \setupexternalfigures[location={local,global,default}] http://wiki.contextgarden.net/Using_Graphics#Image_Directory On 08/31/2016 04:34 PM, Henri Menke wrote: > Hi Lukáš, > > there are some trackers available concern

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] 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 wrote: >> Dear list, >> >>

[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] 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 rectangle

<    1   2   3   4   5   >