Re: [NTG-context] ntg-context Digest, Vol 151, Issue 18

2017-01-18 Thread Christoph Reller
On Tue, 17 Jan 2017 20:31:20 +0100, Hans Hagen wrote: > > On 1/17/2017 8:13 PM, Henri Menke wrote: >> 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. F

[NTG-context] JPEG images resolution and externalfigure size

2017-01-12 Thread Christoph Reller
Hi, When using the currently latest version of ConTeXt to include a JPEG image as in the MWE below, the resulting image size in the PDF is half the size when compared with earlier versions. \setupexternalfigures[location={local,global,default}] \starttext \externalfigure[hacker.jpg][scale=1000] \

Re: [NTG-context] floatcombination alignment has changed?

2017-01-04 Thread Christoph Reller
Hi, I have come up with a simpler MWE which shows the problem more explicitly: \setupcaptions[number=no] \starttext \startplacefigure[location=right] \startfloatcombination \placefigure{A Cow}{\externalfigure[cow.pdf]} \placefigure{Another Cow}{\externalfigure[cow.pdf]} \stopfloatco

Re: [NTG-context] floatcombination alignment has changed?

2016-12-28 Thread Christoph Reller
Dear List, Consider the following MWE: \startplacefigure \startfloatcombination \startplacetable[title={Table I}] % <- shifted %\startplacetable % <- not shifted \bTABLE \bTR \bTD Foo \eTD \bTD Text. \eTD \eTR \eTABLE \stopplacetable \startp

[NTG-context] references.bookmarks.preroll and quotation

2016-12-20 Thread Christoph Reller
Hi, I have the following MWE: \setupinteraction[state=start] \placebookmarks[chapter] \enabledirectives[references.bookmarks.preroll] \starttext \startchapter[title=B \quotation{C} D] \input ward \stopchapter \stoptext The generated bookmark has wrongly placed spaces: B“ C ” D Without the di

Re: [NTG-context] floatcombination alignment has changed?

2016-12-09 Thread Christoph Reller
On Thu, 08 Dec 2016 20:27:12 +0900, Jeong Dal wrote: > I don’t know how to put figures horizontally using “\startfloatcombination”. > Is there any reason to use “\startfloatcombination”? Dear Dalyoung, Thank you for your feedback. Indeed, \startcombinantion produces centered combinations by defa

[NTG-context] floatcombination alignment has changed?

2016-12-07 Thread Christoph Reller
Hi, In recent versions of ConTeXt, floatcombinations are not placed centered by default anymore. Consider the following MWE in which two cows are placed side by side: \placefigure{}{ \startfloatcombination \placefigure{}{\externalfigure[cow.pdf]} \placefigure{}{\externalfigure[cow.pdf]}

Re: [NTG-context] Nested modes and itemizations

2016-11-17 Thread Christoph Reller
On Thu, Nov 17, 2016 at 13:14:49 +0100 Hans Hagen wrote: > > On 11/17/2016 11:21 AM, Christoph Reller wrote: > > Hi, > > > > I have the following minimal not-working example: > > > > \starttext > > \startitemize > > \item One > > \

[NTG-context] Nested modes and itemizations

2016-11-17 Thread Christoph Reller
Hi, I have the following minimal not-working example: \starttext \startitemize \item One \startmode[modeA] \item Two \startitemize \startmode[modeB] % <- this \item Two A % <- does \stopmode % <- not work % \doifmode{modeB}{\item Two A} % <- this work

Re: [NTG-context] TikZ node and color

2016-07-05 Thread Christoph Reller
On Tue, 5 Jul 2016 10:21:48 +0200, Hans Hagen wrote: > On 7/5/2016 9:25 AM, Christoph Reller wrote: >> Dear List, >> >> I use the latest version of ConTeXt and I have the following MWE: >> >> \usemodule[tikz] >> \starttext >> \starttikzpicture

[NTG-context] TikZ node and color

2016-07-05 Thread Christoph Reller
Dear List, I use the latest version of ConTeXt and I have the following MWE: \usemodule[tikz] \starttext \starttikzpicture \node {\color[red]{red}}; \node[xshift=30] {\color[red]{not red}}; \stoptikzpicture \stoptext Can anybody tell me why the second node is not colored red? Aside:

[NTG-context] placetable with location=split produces error

2016-06-19 Thread Christoph Reller
>> Christoph Reller <mailto:christoph.rel...@gmail.com> >> 16. Juni 2016 um 15:31 >> This is a long standing issue and I would very much appreciate any >> comment on this. > The problem has been fixed. > > Wolfgang Indeed this error is gone now. Ta

Re: [NTG-context] ntg-context Digest, Vol 144, Issue 16

2016-06-16 Thread Christoph Reller
On Thu, 9 Jun 2016 10:43:50, Christoph Reller wrote: > ... > > Hence, the check mark cannot be copy pasted from the PDF. > > I fear this may be a bug. Or am I missing something? Any feedback is > welcome. Thank you very much for having fixed this issue, Hans!

[NTG-context] placetable with location=split produces error

2016-06-16 Thread Christoph Reller
On Fri, 10 Jun 2016 14:00:01, Christoph Reller wrote: > On Thu, 09 Jun 2016 10:08:24, Christoph Reller > wrote: >> \starttext >> \dorecurse{9}{\input ward} >> \startplacetable[location=split] >> \bTABLE >> \bTR \bTD \input tufte \eTD \eTR

[NTG-context] placetable with location=split produces error (Christoph Reller)

2016-06-10 Thread Christoph Reller
On Thu, 09 Jun 2016 10:08:24, Christoph Reller wrote: > \starttext > \dorecurse{9}{\input ward} > \startplacetable[location=split] > \bTABLE > \bTR \bTD \input tufte \eTD \eTR > \eTABLE > \stopplacetable > \stoptext > > The error message is: &g

[NTG-context] placetable with location=split produces error

2016-06-09 Thread Christoph Reller
Hi, Can anybody tell me why the following MWE does not work: \starttext \dorecurse{9}{\input ward} \startplacetable[location=split] \bTABLE \bTR \bTD \input tufte \eTD \eTR \eTABLE \stopplacetable \stoptext The error message is: ! Undefined control sequence ...ixednumber {\

[NTG-context] Wrong ToUnicode table for ZapfDingbats font

2016-06-09 Thread Christoph Reller
Hi, Consider the following MWE, that displays a ZapfDingbats check mark: \definefontsynonym[ZapfDingbats][file:ZapfDingbats][features=dingbats] \definefont[zapfdingbats][ZapfDingbats] \starttext \getnamedglyphdirect{ZapfDingbats*dingbats}{a19} \stoptext In earlier versions, e.g., 2016.03.13, the

Re: [NTG-context] Questions about Scite lexers

2016-04-13 Thread Christoph Reller
On Wed, Apr 13, 2016 at 10:39 PM Christoph Reller < christoph.rel...@gmail.com> wrote: > Nicola wrote on Wed., 13. Apr. 2016 19:36: > >> >> I have found an old document of mine, which uses a >> (slightly customized) pret-c.lua, located inside the project's fold

Re: [NTG-context] Questions about Scite lexers

2016-04-13 Thread Christoph Reller
Nicola wrote on Wed., 13. Apr. 2016 19:36: > > I have found an old document of mine, which uses a > (slightly customized) pret-c.lua, located inside the project's folder. > It compiles, but I don't get syntax highlighting. Is it because pret-c > is not searched in the project's directory? > Alte

Re: [NTG-context] Tagging and startitemize[columns]

2016-03-22 Thread Christoph Reller
On Tue, 22 Mar 2016 14:53:05 +0100, Hans Hagen wrote: > > On 3/22/2016 9:19 AM, Christoph Reller wrote: > > \setuptagging[state=start] > > \starttext > > > >\startsectionlevel[title=Chapter] > > Text. > > \startitemize[

[NTG-context] Tagging and startitemize[columns]

2016-03-22 Thread Christoph Reller
Hi, Stil ConTeXt is the only TeX-based typesetting system that can produce tagged PDF - this is a unique feature, thank you Hans! I have, however, found that the following MWE produces wrongly nested tagging information. Specifically: - The itemization with columns (\startitemize[columns]) is not

Re: [NTG-context] PDF Inclusion Regression

2016-02-24 Thread Christoph Reller
On Wed, Feb 24, 2016 at 4:38 PM Hans Hagen wrote: > > On 2/24/2016 2:23 PM, Christoph Reller wrote: > > I am afraid but this might be a bug in newer versions of luatex. I would > > greatly appreciate if this would be addressed. > > fixed in next luatex release T

[NTG-context] PDF Inclusion Regression

2016-02-24 Thread Christoph Reller
Hi, I have found the following problem when including an external PDF with \externalfigure: Some (or all?) values in PDF arrays that are between -1.0 and 0.0 loose their minus sign. E.g: -0.1 turns into 0.1. This can lead to significant visual differences. This problem did not exist in earlier ver

Re: [NTG-context] two issues with interactive hyperlinks (please comment)

2016-02-23 Thread Christoph Reller
Hi Hans, First and foremost: Thank you for uploading the Beta! This solves the problem I have reported with \reference and focus=standard: https://www.mail-archive.com/ntg-context%40ntg.nl/msg79620.html On Tue, Feb 23, 2016 at 12:00 PM Hans Hagen wrote: > > On 2/23/2016 12:21 AM, Pablo Rodrigu

[NTG-context] Tagging and Math Matrix

2015-12-28 Thread Christoph Reller
Hi, There seems to be a problem with the structure information added when using \startmatrix: \setuptagging[state=start] \starttext \math{ \startmatrix \NC A \NR \NC B \NR \stopmatrix} \stoptext The log reports an open chain: document>1 => mtr>1 => mtd>1 => mtr>2 => mtd>2 => mtr>3 Th

[NTG-context] Hyphenation, OTF font and tagging

2015-11-08 Thread Christoph Reller
Hi, I have a strange behavior with the latest beta: - OpenType Font "Myriad" - Tagging enabled Result: Hyphenation is not working, i.e., the hyphens disappear. Example output correct (when disabling tagging): [...] If I had not partici- pated fully [...] Example output defect (when enabling tagg

Re: [NTG-context] PDF/UA Support

2015-10-20 Thread Christoph Reller
for it.) Nevertheless, ConTeXt is the only TeX-based option that supports PDF tagging and it does a good job - thank you Hans for your efforts. Regards, Christoph Reller ___ If your question is of interest to others as

Re: [NTG-context] \reference and \setupinteraction[focus=...] not working

2015-10-08 Thread Christoph Reller
: Contents of ntg-context digest..." > > > Today's Topics: > >1. Re: comparing strings (Wolfgang Schuster) >2. Re: suppress header-footers (Wolfgang Schuster) >3. Re: comparing strings (Pablo Rodriguez) >4. Re: formatting of reference links (Henning

Re: [NTG-context] \reference and \setupinteraction[focus=...] not working

2015-09-17 Thread Christoph Reller
Hi, Any news on this? Is this a luatex problem or a ConTeXt problem? I am glad to help if you can point me to the location in the source code where things go astray. Cheers, Christoph On Mon, 14 Sep 2015 14:40:43 +0200, wrote: > Hi, > > In the following MWE, the interactive link work only when

[NTG-context] \reference and \setupinteraction[focus=...] not working

2015-09-14 Thread Christoph Reller
Hi, In the following MWE, the interactive link work only when setting focus=fit. The resulting PDF differs as follows: - focus=fit: This PDF has no named destinations. The link annotations on page 3 include destinations directly, and these destinations are correct. - focus=: This PDF has named

Re: [NTG-context] Expansion in bookmarks

2015-07-09 Thread Christoph Reller
On Wed, 08 Jul 2015 21:01:21 +0200, Hans Hagen wrote: > On 7/8/2015 4:18 PM, Christoph Reller wrote: > > Dear all! > > > > I want to define a command that is to be used in a section title. Also I > > want to use \autoinsertnextspace with this command. In the followin

[NTG-context] Expansion in bookmarks

2015-07-08 Thread Christoph Reller
Dear all! I want to define a command that is to be used in a section title. Also I want to use \autoinsertnextspace with this command. In the following MWE, why do \This and \AName not work, while \TEX does work? I appreciate any feedback, Christoph MWE: \setupinteraction[state=start] \setupint

Re: [NTG-context] Accessibility and Tagged PDFs: Bugs and Feature Requests

2015-07-03 Thread Christoph Reller
On Wed, 01 Jul 2015 19:02:08 +0200 Hans Hagen wrote: > So, it's not that difficult to add features, more a matter of priorities > and motivation (apart from the fact that my acrobat is a bit old by now > so I cannot really test). > Dear Hans, You can use the PDF Accessibility Checker for Testin

Re: [NTG-context] Accessibility and Tagged PDFs: Bugs and Feature Requests

2015-06-30 Thread Christoph Reller
On Tue, Jun 30, 2015 at 10:33 AM,luigi scarso wrote: > On Sun, Jun 28, 2015 at 12:59 PM, Dr. Dominik Klein < > dominik.kl...@outlook.com> wrote: > > > Context is the only Tex-based system that allows to properly tag a pdf. > > Tagged PDFs are one major requirement for accessibility. > > > > Inde

Re: [NTG-context] Line wrapping inconsistency with tolerance, alignment and framed

2015-06-19 Thread Christoph Reller
On Thu, 18 Jun 2015 17:04:33 +0200 wrote: > The frame resets the tolerance settings and you have to set the values > again for it. > > > \defineframed[myframe][align={flushleft,stretch,verytolerant},offset=0pt] > > > BTW: You can also disable hyphentation with the “nothyphenated” keyword > for \

[NTG-context] Line wrapping inconsistency with tolerance, alignment and framed

2015-06-18 Thread Christoph Reller
Hi, I have an (admittedly carefully crafted) example, see below. My question: Why is the line wrapping different for this case within a framed and outside of a framed? How can I control the amount of space left on a line before breaking the line within and without a framed consistently? Any insig

Re: [NTG-context] Multi-page (split) natural tables and footnotes

2015-06-07 Thread Christoph Reller
On Sun, Jun 7, 2015 at 12:00 PM wrote: > > Hi Christoph, > > There exists a local footnotes environment in floats, as in the following > example: I don’t know if it solves the problem you mention… > > > \starttext > \startlocalfootnotes > \placetable[align=middle]{A table with footno

[NTG-context] Multi-page (split) natural tables and footnotes

2015-06-06 Thread Christoph Reller
Hi, How can I get footnotes working with split tables? Is this not supported? The workaround with \note[...] \footnotetext[...]{...} can only be used to place footnotes on the first or on the last page of the table. For a long multi-page table this is not satisfactory. The wiki mentions using \a

[NTG-context] Bug in first-setup.bat

2015-05-22 Thread Christoph Reller
Hi, Currently, the setup script for Windows does not support installation in a directory whose path contains spaces. Please change line 41 of first-setup.bat from mtxrun --script ./bin/mtx-update.lua --update --force --make --engine=all --context=beta --texroot=%OWNPATH%tex %* to mtxrun --scrip

[NTG-context] ordinaldaynumber not working in latest beta

2015-05-15 Thread Christoph Reller
Hi, The \ordinaldaynumber{...} stopped working for me. Is this a bug? Cheers, Christoph Reller \starttext \ordinaldaynumber{5} \stoptext ! You can't use `\numexpr' in vertical mode \numexpr \ordinaldaynumber #1->\clf_ordinal \numexpr

Re: [NTG-context] No escape to TeX for inline typing?

2015-03-03 Thread Christoph Reller
On Sun, 01 Mar 2015 11:30:46 +0100, Hans Hagen wrote: > > On 2/28/2015 2:00 PM, Christoph Reller wrote: > > > Dear Hans, > > > > Can you please add the above patch, or is there a particular reason > > for not > > doing so? > > > &g

Re: [NTG-context] No escape to TeX for inline typing?

2015-02-28 Thread Christoph Reller
On Wed, Wed, 18 Feb 2015 07:03:27 +0100, wrote: > > On Tue, Feb 17, 2015 at 16:30:13 +0100, Wolfgang Schuster < > schuster.wolfg...@gmail.com> wrote: > > > > Am 17.02.2015 um 16:04 schrieb Christoph Reller < > > christoph.rel...@gmail.com>: > > &

[NTG-context] textbackground within framedtext

2015-02-18 Thread Christoph Reller
Hi, How can I use textbackground within framedtext. In the following MWE, the background extends beyond the frame of framedtext. Do I have to use a different mechanism? \definetextbackground[bg][ background=color, backgroundcolor=yellow, frame=off] \starttext \startframedtext Before \pa

Re: [NTG-context] No escape to TeX for inline typing?

2015-02-17 Thread Christoph Reller
On Tue, Feb 17, 2015 at 16:30:13 +0100, Wolfgang Schuster < schuster.wolfg...@gmail.com> wrote: > > Am 17.02.2015 um 16:04 schrieb Christoph Reller < > christoph.rel...@gmail.com>: > > How do I escape to TeX from inside an inline typing command? It works > fine from

[NTG-context] No escape to TeX for inline typing?

2015-02-17 Thread Christoph Reller
Hi, How do I escape to TeX from inside an inline typing command? It works fine from a typing environment. MWE: \setuptyping[TEX][escape={[[,]]}] \definetype[typeTEX][option=TEX] \starttext \startTEX \I\can [[\em escape]] \stopTEX \typeTEX{\I\cannot [[\em escape]]} \stoptext Thank you for any

[NTG-context] Nested \startitemize[columns] breaks tagging

2015-01-06 Thread Christoph Reller
Hi, Another MWE that breaks tagging: \setuptagging[state=start] \starttext \startchapter[title=Chapter] \startitemize \item Text \startitemize[columns] \item Text \stopitemize \stopitemize \stopchapter \startchapter[title=Next Chapter] Text \stopchapter \stoptext This time the structure

Re: [NTG-context] Footnote breaks tagging

2015-01-06 Thread Christoph Reller
On 31/12/2014 09:18:24 +0100, Hans Hagen wrote: > > On 12/29/2014 3:38 PM, Christoph Reller wrote: > > Hi, > > > > ConTeXt mkiv is the only TeX-based typesetting system that can produce > > tagged PDFs and this is a really useful feature. Unfortunately, > >

Re: [NTG-context] Reference text differing from title

2014-12-29 Thread Christoph Reller
On Wed, Nov 26, 2014 at 6:32 AM, Christoph Reller < christoph.rel...@gmail.com> wrote: > > On Tue, Nov 25, 2014 at 5:33 PM, Wolfgang Schuster wrote: > >> > Am 24.11.2014 um 14:00 schrieb Christoph Reller < >> christoph.rel...@gmail.com>: >> > >>

[NTG-context] Footnote breaks tagging

2014-12-29 Thread Christoph Reller
Hi, ConTeXt mkiv is the only TeX-based typesetting system that can produce tagged PDFs and this is a really useful feature. Unfortunately, footnotes seem to upset tagging. MWE: \setuptagging[state=start] \starttext Text\footnote{Note} \stoptext In the resulting PDF, the structure tree seems okay

Re: [NTG-context] How does \setupfloat work?

2014-11-29 Thread Christoph Reller
> > On Sat, Nov 29, 2014 at 11:03 AM, Hans Hagen wrote: > > > On 11/29/2014 10:49 AM, Mark Szepieniec wrote: > > > >> I'm trying to set a default width for figures with \setupfloat. However, > >> the command doesn't seem to be picking up the width specification, even > >> though the manual indicat

Re: [NTG-context] Reference text differing from title

2014-11-25 Thread Christoph Reller
On Tue, Nov 25, 2014 at 5:33 PM, Wolfgang Schuster wrote: > > Am 24.11.2014 um 14:00 schrieb Christoph Reller < > christoph.rel...@gmail.com>: > > > > Is it possible to change the text shown in \about[...] to be something > else than the text given to

[NTG-context] Reference text differing from title

2014-11-24 Thread Christoph Reller
Hi, Is it possible to change the text shown in \about[...] to be something else than the text given to the titel key of \startsection? \starttext \startsection[ title={Very Long}, % referencetext={Short}, % <- is there something like this? reference=mysec] We are now in \about[mysec]. % <-

Re: [NTG-context] Natural tables introduces spaces in \type

2014-11-19 Thread Christoph Reller
On 11/5/2014 21:50 PM, Christoph Reller wrote: > On 11/5/2014 10:28 AM, Hans Hagen wrote: > > On 11/5/2014 8:09 AM, Christoph Reller wrote: > > > Thank you very much Hans! > > > > > > Maybe you could tell me why the following still produces a s

Re: [NTG-context] Support of PDF Optional Content Groups (Layers)

2014-11-19 Thread Christoph Reller
On 11/17/2014 13:43 PM, Hans Hagen wrote: > On 11/17/2014 11:51 AM, Christoph Reller wrote: > > Is there any way to construct "Set-OCG-State Actions" with ConTeXt? (See > > Section 8.5 Actions in the PDF Reference.) I admit that this is an > > advanced feature of

Re: [NTG-context] Support of PDF Optional Content Groups (Layers)

2014-11-17 Thread Christoph Reller
On Sun, 16 Nov 2014 15:29:20 Hans Hagen wrote: > On 11/16/2014 9:52 PM, Wolfgang Schuster wrote: > > Am 16.11.2014 um 20:47 schrieb Christoph Reller > > > > > > Hi, > > > > > > Has ConTeXt any support for producing a PDF with "optional content &

[NTG-context] Support of PDF Optional Content Groups (Layers)

2014-11-16 Thread Christoph Reller
Hi, Has ConTeXt any support for producing a PDF with "optional content groups" (OCGs)? In Adobe's jargon OCGs are also known as "layers" (not to confuse with layers in ConTeXt). See Section "4.10.2 Making Graphical Content Optional" in the PDF Reference 1.7 available at http://wwwimages.adobe.com

Re: [NTG-context] Natural tables introduces spaces in \type

2014-11-07 Thread Christoph Reller
On Fri, 7 Nov 2014 09:11:09 +0100 Alan Braslau wrote > On Thu, 6 Nov 2014 16:15:36 +0100 > Christoph Reller wrote: > > > Of the above characters the following are disallowed on NTFS > > Not everyone uses NTFS. Another reason for not making a "file-name cleaner"

Re: [NTG-context] Natural tables introduces spaces in \type

2014-11-06 Thread Christoph Reller
On 11/6/2014 9:58 AM, Hans Hagen wrote: > we could have a specific filename cleaner but of course there will be > users who have paths that have spaces after the \ ... okay, we could > just not support evil paths like that > > Hans A rigorous filename cleaner would have to treat a huge number of p

Re: [NTG-context] Natural tables introduces spaces in \type

2014-11-05 Thread Christoph Reller
On 11/5/2014 10:28 AM, Hans Hagen wrote: > On 11/5/2014 8:09 AM, Christoph Reller wrote: > > Thank you very much Hans! > > > > Maybe you could tell me why the following still produces a space in > > front of the full stop: > > > > \definetype[ctype][compa

Re: [NTG-context] Natural tables introduces spaces in \type

2014-11-04 Thread Christoph Reller
> On 11/2/2014 2:27 PM, Christoph Reller wrote: > > Hi, > > > > Why does \type{...} introduce spaces when used inside natural tables? > > > > MWE: > > > > \starttext > > \type{\test\test} %<- no space introduced > > \bTABLE > > \bT

[NTG-context] Natural tables introduces spaces in \type

2014-11-03 Thread Christoph Reller
On 11/2/2014 2:54 PM, Hans Hagen wrote: > On 11/2/2014 2:27 PM, Christoph Reller wrote: > > Hi, > > > > Why does \type{...} introduce spaces when used inside natural tables? > > > > MWE: > > > > \starttext > > \type{\test\test} %<- no spac

[NTG-context] Natural tables introduces spaces in \type

2014-11-02 Thread Christoph Reller
Hi, Why does \type{...} introduce spaces when used inside natural tables? MWE: \starttext \type{\test\test} %<- no space introduced \bTABLE \bTR \bTD \typ{\test\test} \eTD \eTR %<- space introduced \eTABLE \stoptext Kind Regards, Christoph ___

Re: [NTG-context] Automatic reference prefixing in heads with prefix=+ broken?

2014-10-12 Thread Christoph Reller
On Tue, Sep 30, 2014 at 8:08 AM, Christoph Reller < christoph.rel...@gmail.com> wrote: > On Sat, Sep 27, 2014 at 12:00 PM, Christoph Reller < > christoph.rel...@gmail.com> wrote: > >> Hi, >> >> Various documents mention a namespace feature for references b

Re: [NTG-context] Automatic reference prefixing in heads with prefix=+

2014-09-29 Thread Christoph Reller
On Sat, Sep 27, 2014 at 12:00 PM, Christoph Reller < christoph.rel...@gmail.com> wrote: > Hi, > > Various documents mention a namespace feature for references by setting > prefix=+. This is a really cool feature but I cannot get it to work. Why > does the follo

[NTG-context] Automatic reference prefixing in heads with prefix=+

2014-09-27 Thread Christoph Reller
[reference=sec1,title={First Section in Second Chapter}] Reference \type{sec1} is \about[sec1].\par Reference \type{chap1:sec1} is \about[chap1:sec1].\par \stopsection \stopchapter \stoptext Any help is appreciated. Christoph Reller

[NTG-context] Span all columns in natural tables

2014-09-22 Thread Christoph Reller
n \eTD \eTR \eTABLE \stoptext Is there any expression for that yields the total number of columns? I tried to use \tablecellcolumns but it is undefined if used at this location. Thank you for any feedback! Christoph

[NTG-context] s-mod produces "system > error: invalid parameter ..."

2014-09-21 Thread Christoph Reller
his is harmless, but it would be nice if the log file contained no "error" message if the processing was successful. Thank you for any feedback, Christoph Reller ___ If your question is of interest to o

Re: [NTG-context] How to get parameters in lua

2014-09-20 Thread Christoph Reller
On 9/19/2014 9:30 AM, Christoph Reller wrote: > > Hi, > > > > \installcommandhandler nicely provides (among others) \define and > > \setup commands. Thus it is easy to provide a key with > > \setup[key=value] and to read the value of such a key with > > \paramet

[NTG-context] How to get parameters in lua

2014-09-19 Thread Christoph Reller
parameter{key}, gkey=\elemparameter{gkey}\par \ctxlua{myfun(\!!bs#parameters\!!es,\!!bs\normalunexpanded{#content}\!!es)} } \defineelem[base] \setupelem[gkey=gval] \protect \starttext \base[key=val]{Hello} \stoptext Thank

Re: [NTG-context] Multi-page centered natural TABLE

2014-09-04 Thread Christoph Reller
> Am 25.08.2014 um 15:38 schrieb Christoph Reller < christoph.rel...@gmail.com>: > > > Hi! > > > > How do I use a natural table to produce a table which is both: > > - distributed across multiple pages (split=yes) and > > - centered horizontally on ea

[NTG-context] Multi-page centered natural TABLE

2014-08-25 Thread Christoph Reller
Hi! How do I use a natural table to produce a table which is both: - distributed across multiple pages (split=yes) and - centered horizontally on each page. I did try the following but it only works if split=no. \starttext \startalignment[middle]\dontleavehmode% \bTABLE[split=yes] \bTABLEh

[NTG-context] TEX and XML typing with trailing interline space

2014-08-18 Thread Christoph Reller
Hi, How do I get rid of the additional line inserted at the end of a TEX or XML environment? Minimal working example: \starttext \setuptyping[TEX][before=,after=] % <- trailing interline space \hrule \startTEX \TeX \stopTEX \hrule \medskip \setuptyping[XML][before=,after=] % <- trailing inter

[NTG-context] processallactionsinset and default

2014-08-14 Thread Christoph Reller
Hi! The "default" value works well for processaction but apparently does not for processallactionsinset. What am I missing? Example: \def\A{A} \def\XX{} \def\Un{Un} \processaction[\A][A=>Yeah!,default=>Def.,unknown=>Huh?]% \processaction[\XX][A=>Yeah!,default=>Def.,unknown=>Huh?]% \processactio

[NTG-context] definerule missing in mkiv

2014-08-12 Thread Christoph Reller
Hello! \definerule seems to be only supported in ConTeXt mkii but not in ConTeXt mkiv. Is there a reason for this? Would anyone mind porting it to mkiv since this seems to be the standard now? Thanks for any help. Christoph

Re: [NTG-context] Hash (#) in URL

2014-07-03 Thread Christoph Reller
On Thu, Jul 3, 2014 at 11:36 AM, Christoph Reller < christoph.rel...@gmail.com> wrote: > Hi, > > Is occurrence of the # character in an URL not supported? > > \setupinteraction[state=start] > \starttext > \useURL[here][http://en.wikipedia.org/wiki/ConTeXt#Versions

[NTG-context] Hash (#) in URL

2014-07-03 Thread Christoph Reller
Hi, Is occurrence of the # character in an URL not supported? \setupinteraction[state=start] \starttext \useURL[here][http://en.wikipedia.org/wiki/ConTeXt#Versions] \from[here] \stoptext Regards, Christoph ___ If you

[NTG-context] Tagged PDF - Math

2014-05-30 Thread Christoph Reller
Hi, ConTeXt can produce tagged PDF - this is really cool! (At the moment ConTeXt/luaTeX seems to be the only macropackage/TeX-engine that is able to do this.) What is the status of producing structure information for math? After a quick evaluation I observe two issues: 1. Empty entry in RoleMap:

[NTG-context] Tagged PDF - Standard structure type for list elements

2014-05-29 Thread Christoph Reller
Hi, I have found a small bug in line 62 of strc-tag.lua: item = { pdf = "Li", nature = "display" }, The standard structure type for list elements is "LI" not "Li". Please correct the line to item = { pdf = "LI", nature = "display" }, A minima

<    1   2