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

2014-05-30 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 minimal example

[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

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] \from[here] \stoptext Regards

[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

[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?]%

[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

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

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 each page. You have to use the float mechanism. To disable

[NTG-context] How to get parameters in lua

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

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) \definename and \setupname commands. Thus it is easy to provide a key with \setupname[key=value] and to read the value of such a key with \nameparameter{key}. My question is: How

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

2014-09-21 Thread Christoph Reller
that this 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 others as well, please

[NTG-context] Span all columns in natural tables

2014-09-22 Thread Christoph Reller
\eTD \eTR \eTABLE \stoptext Is there any expression for all 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 Reller

[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

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

2014-09-30 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 following example not work: \setupinteraction

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 by setting prefix=+. This is a really cool feature

[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

[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 space introduced \bTABLE \bTR \bTD \typ{\test\test} \eTD \eTR %- space

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 \bTR \bTD \typ{\test\test} \eTD \eTR %- space introduced \eTABLE \stoptext it's

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][compact=absolute] \starttext \bTABLE \bTR \bTD

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

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 alan.bras...@cea.fr wrote On Thu, 6 Nov 2014 16:15:36 +0100 Christoph Reller christoph.rel...@gmail.com wrote: Of the above characters the following are disallowed on NTFS Not everyone uses NTFS. Another reason for not making a file-name

[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

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 groups (OCGs)? In Adobe's jargon OCGs are also known

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 PDF and that most viewers apart from

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 space in front of the full stop: \definetype[ctype

[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] 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 the title key of \startsection? \starttext

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

2014-11-29 Thread Christoph Reller
On Sat, Nov 29, 2014 at 11:03 AM, Hans Hagen pra...@wxs.nl 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 indicates

[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

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: Is it possible to change the text shown in \about

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 a typing environment. The \type

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

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, footnotes seem to upset tagging. MWE: should

[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] No escape to TeX for inline typing?

2015-03-03 Thread Christoph Reller
On Sun, 01 Mar 2015 11:30:46 +0100, Hans Hagen pra...@wxs.nl 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? Kind regards, Christoph I'll add

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, christoph.rel...@gmail.com 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: How do I escape to TeX from inside

[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 recently read \numexpr \ordinaldaynumber #1-\clf_ordinal \numexpr

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 ota...@gmail.com 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

[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

[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

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 schuster.wolfg...@gmail.com 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

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 pra...@wxs.nl 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

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

2015-07-01 Thread Christoph Reller
On Tue, Jun 30, 2015 at 10:33 AM,luigi scarso luigi.sca...@gmail.com 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

[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

[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

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

2015-10-08 Thread Christoph Reller
of reference links (Henning Hraban Ramm) >5. Re: \reference and \setupinteraction[focus=...] not working > (Christoph Reller) >6. Re: formatting of reference links (Wolfgang Schuster) > > > -- > > Mess

Re: [NTG-context] PDF/UA Support

2015-10-20 Thread Christoph Reller
le "PDF Accessibility Checker". (Just google 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 _

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

Re: [NTG-context] Expansion in bookmarks

2015-07-09 Thread Christoph Reller
On Wed, 08 Jul 2015 21:01:21 +0200, Hans Hagen pra...@wxs.nl 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 following MWE, why do

[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] \reference and \setupinteraction[focus=...] not working

2015-09-18 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

[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

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

[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 <christoph.rel...@gmail.com> wrote: > \starttext > \dorecurse{9}{\input ward} > \startplacetable[location=split] > \bTABLE > \bTR \bTD \input tufte \eTD \eTR > \eTABLE > \stopplacetable > \

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 <christoph.rel...@gmail.com> 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 t

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

2016-06-16 Thread Christoph Reller
On Fri, 10 Jun 2016 14:00:01, Christoph Reller <christoph.rel...@gmail.com> wrote: > On Thu, 09 Jun 2016 10:08:24, Christoph Reller > <christoph.rel...@gmail.com> wrote: >> \starttext >> \dorecurse{9}{\input ward} >> \startplacetable[location=split] >

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

2016-06-20 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

[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

Re: [NTG-context] PDF Inclusion Regression

2016-02-24 Thread Christoph Reller
On Wed, Feb 24, 2016 at 4:38 PM Hans Hagen <pra...@wxs.nl> 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 l

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

[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

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

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

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 <nvitacolo...@gmail.com> wrote on Wed., 13. Apr. 2016 19:36: > >> >> I have found an old document of mine, which uses a >> (slightly customized) pret-c.lua,

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

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

Re: [NTG-context] TikZ node and color

2016-07-06 Thread Christoph Reller
On Tue, 5 Jul 2016 10:21:48 +0200, Hans Hagen <pra...@wxs.nl> 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 >>

[NTG-context] \setupinteraction[focus=standard] not working

2017-01-20 Thread Christoph Reller
Dear List, First of all: Thank you Hans and folks for supporting focus=standard for many things. There are, however, some major places where focus=standard does not work correctly yet. I pick out the simplest and in my opinion most severe one: Floats.

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

[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

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 <pra...@wxs.nl> wrote: > > On 11/17/2016 11:21 AM, Christoph Reller wrote: > > Hi, > > > > I have the following minimal not-working example: > > > > \starttext > > \startitemize >

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

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

[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

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

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

Re: [NTG-context] Log message "Unknown filter 'DCTDecode'"

2017-06-21 Thread Christoph Reller
On Mon, 19 Jun 2017 12:21:00 +0200 luigi scarso wrote: > With poppler 0.55, > I am able to reproduce it with > > $ convert -size 100x100 radial-gradient: rgradient.jpg; convert > rgradient.jpg rgradient.pdf > $ cat test.tex > > \starttext >

[NTG-context] Log message "Unknown filter 'DCTDecode'"

2017-06-16 Thread Christoph Reller
Hi, In recent versions of ConTeXt/luatex, I observe the following log entry: Syntax Error (77727): Unknown filter 'DCTDecode' This happens if the document includes JPEG images, e.g: \starttext \externalfigure[hacker.jpg] \stoptext The output PDF looks, however, fine. Does this message have

Re: [NTG-context] Who is maintaining the modules website?

2017-09-14 Thread Christoph Reller
On Thu, 14 Sep 2017 11:50:03 +0200 Mojca Miklavec < mojca.miklavec.li...@gmail.com> wrote: > On 13 September 2017 at 15:06, Christoph Reller wrote: > > I tried to send an email to modu...@contextgarden.net and got the below > > reply. On https://modules.contextgarden.net/

[NTG-context] Module Update from GIT URL Fails

2017-09-22 Thread Christoph Reller
Dear Taco, Moica has told me that you are the maintainer of modules.contextgarden.net. Is this correct? I don't seem to be able to update my ConTeXt module "high". I try to create a new version by entering the URL of my git repository (g...@bitbucket.org:philexander/context-highlight.git) into

Re: [NTG-context] Caption location in floatcombination

2017-09-17 Thread Christoph Reller
On Sun, Sep 17, 2017 at 6:03 PM Hans Hagen <pra...@wxs.nl> wrote: > On 9/13/2017 8:30 AM, Christoph Reller wrote: > > Hi, > > > > It seems to me that the location given to \setupcaptions is not honored > > correctly in floatcombinations anymore. Consider the foll

Re: [NTG-context] Caption location in floatcombination

2017-10-17 Thread Christoph Reller
On Mon, Sep 18, 2017 at 7:19 AM Christoph Reller <christoph.rel...@gmail.com> wrote: > On Sun, Sep 17, 2017 at 6:03 PM Hans Hagen <pra...@wxs.nl> wrote: > >> On 9/13/2017 8:30 AM, Christoph Reller wrote: >> > It seems to me that the location given to \setupcapti

[NTG-context] Quotation with method=font produces error

2017-10-17 Thread Christoph Reller
Hi, In previous versions of ConTeXt the following MWE worked: \setupquotation[method=font] \starttext \quotation{A} \stoptext In more recent versions, the above produces an error: ! Extra }, or forgotten \endgroup l.3 \quotation{A} Is this a bug? Regards, Christoph

Re: [NTG-context] Scite module and escape does not work anymore

2017-08-30 Thread Christoph Reller
On Tue, 29 Aug 2017 13:29:59 +0200 Hans Hagen <pra...@wxs.nl> wrote: > On 8/29/2017 9:31 AM, Christoph Reller wrote: > > Hi, > > > > I noticed that the scite module (m-scite.mkiv) has undergone some > > changes recently. When using this module to highlight

Re: [NTG-context] Tagging and Math Matrix

2017-08-30 Thread Christoph Reller
On Mon, Dec 28, 2015 at 3:45 PM Christoph Reller <christoph.rel...@gmail.com > wrote: > There seems to be a problem with the structure information added when using > \startmatrix: > > \setuptagging[state=start] > \starttext > \math{ > \startmatrix >

[NTG-context] Error with tagging and lohi alignment in table

2017-08-30 Thread Christoph Reller
Hi, The following MWE now yields an error: \setuptagging[state=start] \starttext \bTABLE \setupTABLE[c][1][align=lohi] \bTR \bTD test \eTD \eTR \eTABLE \stoptext I'm afraid but this may be a bug. Many thanks in advance for all your effort. Cheers, Christoph

[NTG-context] Hyphenation with dashes in natural table

2017-09-11 Thread Christoph Reller
Hi, It seems that the hyphenation algorithm for long words with dashes when typeset in a natural table has changed. MWE: \starttext \bTABLE[width=5cm] \bTR \bTD super-cali-fragi-listic-expi-ali-docious \eTD \bTD The longest word known to me that ever had an appearance in a musical. \eTD \eTR

Re: [NTG-context] Tagging and Math Matrix

2017-09-06 Thread Christoph Reller
On Tue, 5 Sep 2017 16:29:52 +0200 Hans Hagen <pra...@wxs.nl> wrote: > On 8/30/2017 9:45 AM, Christoph Reller wrote: > > On Mon, Dec 28, 2015 at 3:45 PM Christoph Reller > > <christoph.rel...@gmail.com <mailto:christoph.rel...@gmail.com > >> wrote:

Re: [NTG-context] Hyphenation with dashes in natural table

2017-09-13 Thread Christoph Reller
Dear Pablo, Rik, and Thomas Thank you so much for your quick help! This gives me much more insight into the matter. And you provide various solutions with their pros and cons. For the moment I will stick to Thomas' suggestion \setupbreakpoints[compound] because I don't want to change the source

[NTG-context] Caption location in floatcombination

2017-09-13 Thread Christoph Reller
Hi, It seems to me that the location given to \setupcaptions is not honored correctly in floatcombinations anymore. Consider the following MWE: \setupcaptions[location=top, number=no] \starttext \placetable[][]{One}{ \bTABLE \bTR \bTD First \eTD \eTR \eTABLE} \placefloat[][]{}{

[NTG-context] Who is maintaining the modules website?

2017-09-13 Thread Christoph Reller
Hi, I am unsure whether this mailing list is the correct one to ask this question. So please excuse the noise. I tried to send an email to modu...@contextgarden.net and got the below reply. On https://modules.contextgarden.net/help.html, this email address is mentioned as the primary contact

Re: [NTG-context] Tagging and Math Matrix

2017-09-06 Thread Christoph Reller
On Wed, 6 Sep 2017 11:25:51 +0200 Hans Hagen <pra...@wxs.nl> wrote: > On 9/6/2017 9:55 AM, Christoph Reller wrote: > > On Tue, 5 Sep 2017 16:29:52 +0200 Hans Hagen <pra...@wxs.nl > > <mailto:pra...@wxs.nl>> wrote: > > > > On 8/30/2017 9:45 AM, C

Re: [NTG-context] Module Update from GIT URL Fails

2017-09-28 Thread Christoph Reller
On Wed, 27 Sep 2017 11:55:06 +0200 Taco Hoekwater wrote: > > Alright, I think I have this figured out now. You *have to* use the https > protocol, but then it should work. > >https://bitbucket.org/philexander/context-highlight.git > > You cannot use any git protocol

Re: [NTG-context] Module Update from GIT URL Fails

2017-09-26 Thread Christoph Reller
On Mon, 25 Sep 2017 10:57:48 +0200 Taco Hoekwater wrote: > > I don't seem to be able to update my ConTeXt module "high". I try to > create a new version by entering the URL of my git repository > (g...@bitbucket.org:philexander/context-highlight.git) into the GIT URL > field

[NTG-context] Scite module and escape does not work anymore

2017-08-29 Thread Christoph Reller
Hi, I noticed that the scite module (m-scite.mkiv) has undergone some changes recently. When using this module to highlight source code, then the escape mechanism does not seem to work anymore. MWE: \enabletrackers[buffers.visualize] \usemodule[scite] \setuptyping[TEX][escape={[[,]]}] \starttext

Re: [NTG-context] Error with tagging and lohi alignment in table

2017-08-30 Thread Christoph Reller
On Wed, 30 Aug 2017 10:35:56 +0200 Hans Hagen <pra...@wxs.nl> wrote: > On 8/30/2017 9:22 AM, Christoph Reller wrote: > > The following MWE now yields an error: > > > > \setuptagging[state=start] > > \starttext > > \bTABLE > > \setupTABLE[c][1

Re: [NTG-context] ntg-context Digest, Vol 160, Issue 26

2017-10-19 Thread Christoph Reller
On Tue, 17 Oct 2017 13:38:37 + Christoph Reller < christoph.rel...@gmail.com> wrote: > > In previous versions of ConTeXt the following MWE worked: > > \setupquotation[method=font] > \starttext > \quotation{A} > \stoptext > > In more recent versions, the abo

Re: [NTG-context] Quotation with method=font produces error

2017-10-19 Thread Christoph Reller
On Thu, 19 Oct 2017 11:53:56 +0200 Floris van Manen <v...@klankschap.nl > wrote: > > > On 19 Oct 2017, at 11:33, Christoph Reller <christoph.rel...@gmail.com> > wrote: > > > > \setupquotation[method=font] > > what is the intension of the method=f

  1   2   >