Re: [NTG-context] Difference in right justification in LMTX

2019-10-11 Thread Joseph Canedo
> *À : *Joseph Canedo ; mailing list for ConTeXt > users > *Objet :*Re: [NTG-context] Difference in right justification in LMTX > > > > On 4/11/2019 8:07 PM, Joseph Canedo wrote: > > > Thanks Hans. I’ve ran install.bat to update my LMTX local copy (ran > > > without

Re: [NTG-context] Difference in right justification in LMTX

2019-10-11 Thread Joseph Canedo
Hi Hans, I still get the issue with right justification with LMTX for some reason. I see a small whitespace between the last 't' in the line with LMTX which I don't see with Mkiv. I also notice that position of the 't' box computed from all previous boxes/characters in t

[NTG-context] Accessing raw titles in textcommand in TOC

2020-02-21 Thread alephzorro
Hello, I would like to display titles differently in TOC than they appear in text. For example, MyChapter1 -> 1retpahCyM. Basically any highly non-trivial transformation that really needs Lua. I've written simple Lua macros before, but the following approach trying to define textcomm

[NTG-context] running lua in metafun and in ConTeXt

2020-04-11 Thread Jeong Dal
Dear all, I draw Pascal’s triangle with the label of each point created by using lua functions. As you see in the code below, I defined fact(n) and combi(n,r) using lua. For the calculation tt, I used two different methods. Both are working well when I run the given code. But I got an error

[NTG-context] running lua in metafun and in ConTeXt

2020-04-11 Thread Jeong Dal
Dear all, The problem is solved by using the namespace of lua as below: I am not sure what I did is the right way. If it is not the right way, please let me know. Thanks for reading. Best regards, Dalyoung \startluacode P={} combi = P function P.fact (n) if n <= 0 then return 1 else

[NTG-context] Fwd: Re: footnotes in captions in floatcombinations

2020-09-16 Thread Hans Hagen
Forwarded Message Subject: Re: [NTG-context] footnotes in captions in floatcombinations Date: Wed, 16 Sep 2020 13:38:44 +0200 From: Hans Hagen To: Henning Hraban Ramm On 9/16/2020 12:08 PM, Henning Hraban Ramm wrote: \useMPlibrary[dum] \automigrateinserts that one does

Re: [NTG-context] Works in ConTeXt, fails in LMTX

2020-11-07 Thread Pablo Rodriguez
rTitle][name:brushwood at 94pt] > \starttext > This text in default font. > > \fontCoverTitle{EXAMPLE} > \stoptext > > works as expected in > > ConTeXt ver: 2020.03.10 14:44 MKIV beta fmt: 2020.4.18 int: > english/english > > but fails (the brushwood

Re: [NTG-context] Works in ConTeXt, fails in LMTX

2020-11-07 Thread ntg
On 7 Nov 2020, at 13:43, Pablo Rodriguez wrote: > > On 11/7/20 1:09 PM, n...@scorecrow.com wrote: >> Some more details on the font inclusion problem I posted about the other day. > > Hi Bruce, > > I think that current LMTX has issues with Bondi12CPlus.TTF. > > Hans, could you have a look at it

[NTG-context] Bug in lmtx bibliography (numerals in entry?)

2020-12-01 Thread Damien Thiriet
Hello, My bibliography files compiles fine in mkiv, but hangs in lmtx Here is the error message: tex error > tex error on line 30 in file ./Nation_rev_empire.mkiv: Use of \btxshowentryinline doesn't match its definition \btxflushlisttext ...tyleandcolor \c!style

Re: [NTG-context] bug in \headnumber[section] in LMTX?

2021-03-07 Thread Wolfgang Schuster
\headnumbercontent only when you create a new section layout with \defineheadalternative. \headnumber[section] It's a bug. \stoptext In LMTX, \headnumber[section] triggers an error message about missing number. BTW, \currentheadnumber outputs 0 in both MkIV and LMTX. I think this may be

Re: [NTG-context] bug in \headnumber[section] in LMTX?

2021-03-07 Thread Pablo Rodriguez
ed \determineheadnumber[section] before you can use > \currentheadnumber. Many thanks for your reply, Wolfgang. I didn’t know that, but it makes sense now. >>\headnumbercontent\\ > > You can use \headnumbercontent only when you create a new section layout > with \defineheadalternative.

Re: [NTG-context] \stretched in chapter titles in MKII

2010-07-06 Thread Tom
tg.nl] On Behalf Of Tom Sent: Monday, July 05, 2010 3:16 PM To: ntg-context@ntg.nl Subject: [NTG-context] \stretched in chapter titles in MKII I am trying to stretch two lines of text to the same width for use as a chapter head. I have two major problems: 1. The second line of text is appended t

Re: [NTG-context] \stretched in chapter titles in MKII

2010-07-06 Thread Wolfgang Schuster
, i.e {Chapter #1} and {#2}. Because of these errors I have hardcoded the values in the example that follows: You can use \stretched in headers only with \deeptextcommand and \deepnumbercommand. Wolfgang ___ If

Re: [NTG-context] \stretched in chapter titles in MKII

2010-07-06 Thread Wolfgang Schuster
values, i.e {Chapter #1} and {#2}. Because of these errors I have hardcoded the values in the example that follows: \define[1]\ChapterTextStretch {\line{\stretched{#1}}} \define[1]\ChapterNumberStretch{\determineheadnumber[chapter]\ChapterTextStretch{Chapter \currentheadnumber}} \setuphead

Re: [NTG-context] \stretched in chapter titles in MKII

2010-07-06 Thread Tom
t how \determineheadnumber and \currentheadnumber work. It appears to me that \determineheadnumber places the chapter number in a register and \currentheadnumber retrieves that value. I tried inserting \numstr before \currentheadnumber. That converts the chapter number to text and doesn't mess up th

Re: [NTG-context] \stretched in chapter titles in MKII

2010-07-06 Thread Tom
not the numbers' words. I also get errors when I try to get all caps by inserting \WORD in the first command. \input c:/BookLayouts/MyFirstBook/Macros/numstr.tex \define[1]\ChapterTextStretch {\line{\stretched{#1}}} \define[1]\ChapterNumberStretch {\ChapterTextStretch{Chapter\ChapterNumb

Re: [NTG-context] space in \longrightarrow in lucida (mkiv)

2010-11-30 Thread Herbert Voss
Am 30.11.2010 17:54, schrieb Mojca Miklavec: > \setupbodyfont[lucida] > > \starttext > $\longrightarrow$ > \stoptext > > The arrow has white space in the middle. in mkii \joinrel is \mkern-4mu in mkiv only \mkern-3mu \setupbodyfont[lucida] \def\longrightarrow{\relbar

Re: [NTG-context] space in \longrightarrow in lucida (mkiv)

2010-12-01 Thread Hans Hagen
On 30-11-2010 6:23, Herbert Voss wrote: Am 30.11.2010 17:54, schrieb Mojca Miklavec: \setupbodyfont[lucida] \starttext $\longrightarrow$ \stoptext The arrow has white space in the middle. in mkii \joinrel is \mkern-4mu in mkiv only \mkern-3mu \setupbodyfont[lucida] \def\longrightarrow

Re: [NTG-context] space in \longrightarrow in lucida (mkiv)

2010-12-03 Thread Mojca Miklavec
On Tue, Nov 30, 2010 at 19:16, Hans Hagen wrote: > On 30-11-2010 6:23, Herbert Voss wrote: >> >> in mkii \joinrel is \mkern-4mu in mkiv only \mkern-3mu >> >> >> \setupbodyfont[lucida] >> \def\longrightarrow{\relbar\mkern-4mu\rightarrow} >> >>

Re: [NTG-context] space in \longrightarrow in lucida (mkiv)

2010-12-03 Thread Mojca Miklavec
main,characters,id,size,0x27F6,0x0002D,4,0x02192) (line 332 in math-vfu.lua). It seems that joinrel is hardcoded to the value 3 in many places apart from this particular one. Maybe you need to introduce a new lua variable somewhere inside function vfmath.alas(main,id,si

Re: [NTG-context] space in \longrightarrow in lucida (mkiv)

2010-12-03 Thread Herbert Voss
rdcoded into definitions. the macro \loadfontgoodies in font-gds.mkiv should be extended to something like \def\loadfontgoodies[#1]% {\ctxlua{fonts.goodies.get("#1")}% \InputIfExists #1.tex% } which already load a lucida-math.ldf (lua code) and then an optional lucida-math.tex (tex

Re: [NTG-context] space in \longrightarrow in lucida (mkiv)

2010-12-04 Thread Hans Hagen
hardcoded into definitions. the macro \loadfontgoodies in font-gds.mkiv should be extended to something like \def\loadfontgoodies[#1]% {\ctxlua{fonts.goodies.get("#1")}% \InputIfExists #1.tex% } which already load a lucida-math.ldf (lua code) and then an optional lucida-mat

Re: [NTG-context] space in \longrightarrow in lucida (mkiv)

2010-12-04 Thread Hans Hagen
hardcoded into definitions. the macro \loadfontgoodies in font-gds.mkiv should be extended to something like \def\loadfontgoodies[#1]% {\ctxlua{fonts.goodies.get("#1")}% \InputIfExists #1.tex% } which already load a lucida-math.ldf (lua code) and then an optional lucida-mat

Re: [NTG-context] space in \longrightarrow in lucida (mkiv)

2010-12-05 Thread Mojca Miklavec
On Sat, Dec 4, 2010 at 19:38, Hans Hagen wrote: > > In lucida-math.lfg there is now: > >        variables = { >            joinrelfactor = 4, -- default is 3 >        } > > and when set that variable will be used in composing the virtual glyph (the > default is 3). So,

Re: [NTG-context] \starttexdefinition and @ in macroname in mkvi

2011-12-30 Thread Hans Hagen
\protect Processing this file using mtxrun --script interface --preprocess test.mkvi --force shows that #name is not recognized as a parameter. The preprocessing works if I remove the @ from the macro name. ok, supported now, but of course it will only work out in unprotected mode

[NTG-context] Parameter scale in copypages in latest beta

2012-10-15 Thread Charles
Hi, I was importing a PDF inside my document, but the scale parameter is now ignored. It's reproducible with any PDF with: \starttext \copypages[tt.pdf][scale=500] \stoptext Any idea ? Thanks Charles ___ If yo

[NTG-context] bugs in arranging in mkiv interface=xp

2009-02-25 Thread Johan Sandblom
with a seemingly random rotation. Also, in a more complex example with a toc, no toc is made, as if using texexec and forgetting the --arrange switch. However, adding the --arrange switch here has an entirely different consequence: only one of the arranged pages is placed on each sheet, so in effect

Re: [NTG-context] movie in pdf example in wiki

2009-04-13 Thread Bill Long
Sorry, I should read the mail list first, now it work. On Tue, Apr 14, 2009 at 02:29:56PM +0800, Bill Long wrote: > > > I try the example to embedded video in wiki, but it doesn't work. > > > >\starttext > >\externalfigure[./file_server.mov][label=demo,

[NTG-context] \overrightarrow not working in mathmode in Metapost?

2009-09-18 Thread Matthijs Kooijman
Hi, I've been trying to use the \overrightarrow command within a metapost graphic, but it doesn't work. Math mode does work, for example \vec works like expected. Outside of metapost, \overrightarrow works as expected. To illustrate the problem, I've created the following simple testcase: \sta

[NTG-context] Including images in included files in subdirectory

2005-09-16 Thread Giuseppe Bilotta
Situation: Tree structure: main.tex subdir/inc.tex subdir/fig.1 in main .tex " \include subdir/inc.tex " in subdir/inc.tex " \externalfigure[fig.1] " texexecing main.tex doesn't find the figure fig.1 subdir/inc.tex must use " \externalfigure[subdir/fig.1]

[NTG-context] \textext can fail in definitions in \startMPinclusions

2006-09-24 Thread Sanjoy Mahajan
Another test file for metafun. I know that textext doesn't work in loops. I don't understand how it's implemented enough to know why, but is the reason for its not working in loops the same as the reason it doesn't work in included definitions (related to static analysi

[NTG-context] \in

2006-08-04 Thread Renaud AUBIN
Hi all, Is that possible to setup the \in command to obtain: - \in[fig:fig_ref] returns figure 1.1 - \in[eq:eq_ref] returns (1.1) _ \in[sec:sec_ref] returns section 2.1 Up to now I have used: - \in{figure}[fig:fig_ref] - \in{(}{)}[eq_eq_ref] (but there is an extra h space just after

[NTG-context] Incorrect rendering in Devanagari forms in some fonts

2021-09-01 Thread kauśika cittūr via ntg-context
Dear All, I have encountered a strange problem using certain Devanagari fonts for the Sanskrit languagein ConTeXt, wherein the rakaar ligatures are not rendered properly in some glyphs/conjuncts. The problem is not too easy to describe so please pardon this long email. The fonts I am using

[NTG-context] Dimension atom in math? (was: Spacing in \unit)

2022-10-12 Thread Gavin via ntg-context
- No space between the number and the following units. Should be a thin > space. > - No space between the units and the following symbol (+ and = above). > Should be appropriate “bin" or “rel" space. > - Too much space around the \cdot in the units. Should be trea

Re: [NTG-context] Roman numerals in running heads in frontmatter.

2015-04-20 Thread Pablo Rodriguez
On 04/20/2015 09:03 PM, John Culleton wrote: > When I set up running heads in frontmattter like > this: > \definestructureconversionset[frontpart:pagenumber][][romannumerals] > \setupheadertexts > [{\getmarking[title]}] > [{\pagenumber}] >

Re: [NTG-context] Roman numerals in running heads in frontmatter.

2015-04-21 Thread John Culleton
On Mon, 20 Apr 2015 21:27:35 +0200 Pablo Rodriguez wrote: > On 04/20/2015 09:03 PM, John Culleton wrote: > > When I set up running heads in frontmattter > > like this: > > \definestructureconversionset[frontpart:pagenumber][][romannumerals] > > \setupheadertexts >

[NTG-context] Unnumbered subject in TOC, numbered exercises in text

2015-11-30 Thread Sytse Knypstra
Dear list,

 In the following minimal example I would like to have: 
- the headings of \special in the toc, unnumbered
 - in the text, the numbers of the exercises preceded by the chapter number
 The first goal is achieved when uncommenting the two options under \setuphead,
 the latter is

Re: [NTG-context] TeX in \xmlsetentity and DTDs in DOCTYPEs

2016-01-15 Thread Thomas A. Schmitz
On 01/15/2016 06:21 PM, Kate F wrote: Hi. I'm using MkIV's XML stuff. I have two related questions. Firstly, can I have entities in XML expand out to TeX markup? I thought this was how you'd do it, but this produces a document that says literally "xxx~yyy\thinspace zzz&

Re: [NTG-context] TeX in \xmlsetentity and DTDs in DOCTYPEs

2016-01-15 Thread Kate F
On 15 January 2016 at 17:34, Thomas A. Schmitz wrote: > On 01/15/2016 06:21 PM, Kate F wrote: >> >> Hi. I'm using MkIV's XML stuff. I have two related questions. >> >> Firstly, can I have entities in XML expand out to TeX markup? >> >> I thou

Re: [NTG-context] TeX in \xmlsetentity and DTDs in DOCTYPEs

2016-01-15 Thread Thomas A. Schmitz
On 01/15/2016 06:58 PM, Kate F wrote: So I see! But many DTDs contain definitions for entities, which I would like to use, rather than repeating those definitions by \xmlsetentity in ConTeXt. Some XML documents also have their own document-specific entities inside the DOCTYPE at the top of the

Re: [NTG-context] TeX in \xmlsetentity and DTDs in DOCTYPEs

2016-01-15 Thread Hans Hagen
On 1/15/2016 9:20 PM, Thomas A. Schmitz wrote: On 01/15/2016 06:58 PM, Kate F wrote: So I see! But many DTDs contain definitions for entities, which I would like to use, rather than repeating those definitions by \xmlsetentity in ConTeXt. Some XML documents also have their own document-specific

Re: [NTG-context] TeX in \xmlsetentity and DTDs in DOCTYPEs

2016-01-16 Thread Kate F
ing those definitions by >>> \xmlsetentity in ConTeXt. Some XML documents also have their own >>> document-specific entities inside the DOCTYPE at the top of the file. >>> >>> For example in legal agreements, I have something like: >>> >>> >

Re: [NTG-context] TeX in \xmlsetentity and DTDs in DOCTYPEs

2016-01-17 Thread Hans Hagen
definitions by \xmlsetentity in ConTeXt. Some XML documents also have their own document-specific entities inside the DOCTYPE at the top of the file. For example in legal agreements, I have something like: ]> Where the stuff inside [...] is considered part of a document-specific DTD. libx

Re: [NTG-context] TeX in \xmlsetentity and DTDs in DOCTYPEs

2016-01-18 Thread Thomas A. Schmitz
On 01/17/2016 07:24 PM, Hans Hagen wrote: it should work in the in beta now Hi Hans, now I have a problem :-) What should take precedence if an entity is both defined in the dtd and as a \xmltexentity? The way I see it, the latter: e.g., in the DTD, I might declare something for use in a

Re: [NTG-context] TeX in \xmlsetentity and DTDs in DOCTYPEs

2016-01-18 Thread Kate F
On 18 January 2016 at 13:30, Thomas A. Schmitz wrote: > On 01/17/2016 07:24 PM, Hans Hagen wrote: >> >> it should work in the in beta now Wonderful! Thank you so much. > Hi Hans, > > now I have a problem :-) What should take precedence if an entity is both >

Re: [NTG-context] TeX in \xmlsetentity and DTDs in DOCTYPEs

2016-01-18 Thread Kate F
On 18 January 2016 at 13:30, Thomas A. Schmitz wrote: > On 01/17/2016 07:24 PM, Hans Hagen wrote: >> >> it should work in the in beta now > > > Hi Hans, > > now I have a problem :-) What should take precedence if an entity is both > defined in the dtd and as a \xm

Re: [NTG-context] TeX in \xmlsetentity and DTDs in DOCTYPEs

2016-01-18 Thread Hans Hagen
On 1/18/2016 5:22 PM, Kate F wrote: On 18 January 2016 at 13:30, Thomas A. Schmitz wrote: On 01/17/2016 07:24 PM, Hans Hagen wrote: it should work in the in beta now Hi Hans, now I have a problem :-) What should take precedence if an entity is both defined in the dtd and as a

Re: [NTG-context] TeX in \xmlsetentity and DTDs in DOCTYPEs

2016-01-18 Thread Hans Hagen
On 1/18/2016 2:30 PM, Thomas A. Schmitz wrote: On 01/17/2016 07:24 PM, Hans Hagen wrote: it should work in the in beta now Hi Hans, now I have a problem :-) What should take precedence if an entity is so you have an example ? both defined in the dtd and as a \xmltexentity? The way I see

Re: [NTG-context] TeX in \xmlsetentity and DTDs in DOCTYPEs

2016-01-18 Thread Kate F
On 18 January 2016 at 19:13, Hans Hagen wrote: > On 1/18/2016 5:22 PM, Kate F wrote: >> >> On 18 January 2016 at 13:30, Thomas A. Schmitz >> wrote: >>> >>> On 01/17/2016 07:24 PM, Hans Hagen wrote: >>>> >>>> >>>> it s

Re: [NTG-context] TeX in \xmlsetentity and DTDs in DOCTYPEs

2016-01-18 Thread Kate F
On 18 January 2016 at 20:07, Hans Hagen wrote: > On 1/18/2016 2:30 PM, Thomas A. Schmitz wrote: >> >> On 01/17/2016 07:24 PM, Hans Hagen wrote: >>> >>> it should work in the in beta now >> >> >> Hi Hans, >> >> now I have a problem :-

Re: [NTG-context] TeX in \xmlsetentity and DTDs in DOCTYPEs

2016-01-18 Thread Hans Hagen
On 1/18/2016 9:49 PM, Kate F wrote: On 18 January 2016 at 19:13, Hans Hagen wrote: On 1/18/2016 5:22 PM, Kate F wrote: On 18 January 2016 at 13:30, Thomas A. Schmitz wrote: On 01/17/2016 07:24 PM, Hans Hagen wrote: it should work in the in beta now Hi Hans, now I have a problem

Re: [NTG-context] TeX in \xmlsetentity and DTDs in DOCTYPEs

2016-01-18 Thread Hans Hagen
On 1/18/2016 9:56 PM, Kate F wrote: On 18 January 2016 at 20:07, Hans Hagen wrote: On 1/18/2016 2:30 PM, Thomas A. Schmitz wrote: On 01/17/2016 07:24 PM, Hans Hagen wrote: it should work in the in beta now Hi Hans, now I have a problem :-) What should take precedence if an entity is

Re: [NTG-context] TeX in \xmlsetentity and DTDs in DOCTYPEs

2016-01-18 Thread Hans Hagen
On 1/18/2016 2:30 PM, Thomas A. Schmitz wrote: On 01/17/2016 07:24 PM, Hans Hagen wrote: it should work in the in beta now Hi Hans, now I have a problem :-) What should take precedence if an entity is both defined in the dtd and as a \xmltexentity? The way I see it, the latter: e.g., in the

Re: [NTG-context] TeX in \xmlsetentity and DTDs in DOCTYPEs

2016-01-18 Thread Thomas A. Schmitz
On 01/18/2016 10:26 PM, Hans Hagen wrote: i already feared that ... ... i still wonder what happens in tuc files (roundtrip mess) beta coming Yep, this seems to be a somewhat difficult area. Was just preparing an example when yours arrived. The latest beta seems to be doing the right

Re: [NTG-context] TeX in \xmlsetentity and DTDs in DOCTYPEs

2016-01-18 Thread Kate F
Thomas A. Schmitz >>>> wrote: >>>>> >>>>> >>>>> On 01/17/2016 07:24 PM, Hans Hagen wrote: >>>>>> >>>>>> >>>>>> >>>>>> it should work in the in beta now >>>>

Re: [NTG-context] TeX in \xmlsetentity and DTDs in DOCTYPEs

2016-01-18 Thread Kate F
>>>> >>>>> >>>>> On 18 January 2016 at 13:30, Thomas A. Schmitz >>>>> wrote: >>>>>> >>>>>> >>>>>> On 01/17/2016 07:24 PM, Hans Hagen wrote: >>>>>>> >>>>>>&

Re: [NTG-context] TeX in \xmlsetentity and DTDs in DOCTYPEs

2016-01-19 Thread Hans Hagen
On 1/18/2016 10:45 PM, Thomas A. Schmitz wrote: On 01/18/2016 10:26 PM, Hans Hagen wrote: i already feared that ... ... i still wonder what happens in tuc files (roundtrip mess) beta coming Yep, this seems to be a somewhat difficult area. Was just preparing an example when yours arrived

[NTG-context] Hanging hyphen in the left margin in Portuguese

2016-10-17 Thread Marcus Vinicius Mesquita
Dear list, In Portuguese many times we have words with one or two explicit hyphens; for example: “tornar-nos-emos” (we shall become). When at the end of a line, it is mandatory to repeat the explicit hyphen both at the end and in the beginning of the next line. I managed to do this using

[NTG-context] Footnotes in paragraph form + annotating them in margin

2017-06-20 Thread Michelle Rodzis
Dear list, in my document I have several kinds of footnotes including footnotes in paragraph form. In some cases I need to annotate these. The annotation should to appear in the outer margin of the page and in line with the annotated footnote. I tried a few different approaches, but none yields

[NTG-context] Fwd: Footnotes in float combinations missing in output

2019-01-11 Thread cryo shock
Bump. -- Forwarded message - From: Lars Date: Mi., 9. Jan. 2019 um 23:01 Uhr Subject: Footnotes in float combinations missing in output To: mailing list for ConTeXt users Hi there, hi Hans, I just want to let you know that footnotes insterted in float-combinations don'

Re: [NTG-context] Footnotes in float combinations missing in output

2019-01-13 Thread Wolfgang Schuster
Lars schrieb am 09.01.19 um 23:01: Hi there, hi Hans, I just want to let you know that footnotes insterted in float-combinations don't get rendered properly, i. e. only the last footnote is placed in the output. MWE: \starttext   \startplacefigure[title={OuterCap\footnote{Outer foo

[NTG-context] counter in linenote disables hyphenation in body text

2013-07-15 Thread Pablo Rodríguez
Dear list, in the following sample: \setuppapersize[A6] \newcounter\LineNote \setupnote[linenote][paragraph=yes] \setupnotation[linenote][alternative=serried] \define[2]\Variant {\increment\LineNote \startlinenote[LineNote:\LineNote]{#1 #2} #1% \stoplinenote[LineNote:\LineNote

Re: [NTG-context] Inline math in table in combination fails

2013-09-19 Thread Hans Hagen
On 9/19/2013 1:27 AM, Marco Patzer wrote: Hi, The following example results in the error “You can't assign a glue_spec node to a prev field” \starttext \startcombination [2*1] {\starttable [|c|] \NC \math{1} \VL\NR\HL \stoptable}{} {\starttable [|c|] \NC \m

[NTG-context] bug in beta: \tab results in text overlap

2013-11-27 Thread Lars Huttar
On 11/22/2013 4:34 PM, Hans Hagen wrote: > > The problem, is/was that mixed columns had not yet mark > synchronization enabled. I uploaded a new beta. In the process I also > made marks a bit more restrictive but it might have (yet unknown) side > effects. Hans, I tried the bet

Re: [NTG-context] starttexdefinition error in standalone, works in TL2013

2014-02-27 Thread Rik Kabel
On 2014-02-26 23:08, Rik Kabel wrote: The following code processes cleanly under TL2013 and fails with ConTeXt ver: 2014.02.14 17:07 MKIV beta fmt: 2014.2.16 int: english/english. I suspect a regression, but I am also open to being told that I am doing things incorrectly. -- Rik Kabel Sor

Re: [NTG-context] starttexdefinition error in standalone, works in TL2013

2014-03-01 Thread Wolfgang Schuster
are expanded. Even though this can be fixed I think it’s better to use the normal \def command when you want to create delimited commands. > I also notice that it fails (even under TL2013) if a space is inserted after > [#SETUP] in the doTrans intro. I thought that spaces sh

Re: [NTG-context] starttexdefinition error in standalone, works in TL2013

2014-03-01 Thread Rik Kabel
\stoptext Thank you for the excellent example. The only problem I see is that it fails if no optional argument is present (in which case the keyval settings \TranslationXXX never get defined). This is easily remedied by removing the \iffirstargument and \fi wrapping the \getrawparameters

Re: [NTG-context] Regression in register processing in last beta

2014-03-16 Thread Hans Hagen
On 3/16/2014 7:25 PM, Jan Tosovsky wrote: Dear All, I have to admit I use quite cumbersome code to get desired output, but while it was working in previous betas, now emergency stop is reported: 'Extra }, or forgotten \endgroup' Here is MWE: \setupalign[hz, hanging] \setupindent

Re: [NTG-context] Regression in register processing in last beta

2014-03-16 Thread Jan Tosovsky
On 2014-03-16 Jan Tosovsky wrote: > Dear All, > > I have to admit I use quite cumbersome code to get desired output, but > while > it was working in previous betas, now emergency stop is reported: > 'Extra }, or forgotten \endgroup' > > Here is

Re: [NTG-context] Regression in register processing in last beta

2014-03-16 Thread Jan Tosovsky
On 2014-03-16 Hans Hagen wrote: > On 3/16/2014 7:25 PM, Jan Tosovsky wrote: > > Dear All, > > > > I have to admit I use quite cumbersome code to get desired output, > but while > > it was working in previous betas, now emergency stop is reported: > > 'Extr

[NTG-context] Problem with '\ ' in math commands in current minimals

2008-06-09 Thread Morgan Brassel
Hi everyone, In the following example: \define[1]\com{com\ #1} \starttext \com{1} $\com{1}$ \stoptext the second call to \com (the one in math mode) seems to stop the compilation of the file. Is it a bug? It wasn't happening before. I'm using the latest minimals. Best regar

Re: [NTG-context] bug in mkiv - paragraph column in tables

2008-09-26 Thread Hans Hagen
Chen Shen wrote: > Hi all, > > The following simple table doesn't work right under mkiv. The baseline > of the paragraph (2nd) column is much lower than other columns. > The same code works fine under mkii. "\showstructs" shows the > difference between the two, but I wasn't too sure how this shoul

Re: [NTG-context] bug in mkiv - paragraph column in tables

2008-09-26 Thread luigi scarso
On Fri, Sep 26, 2008 at 7:17 PM, Hans Hagen <[EMAIL PROTECTED]> wrote: > Chen Shen wrote: > > Hi all, > > > > The following simple table doesn't work right under mkiv. The baseline > > of the paragraph (2nd) column is much lower than other columns. > > The same code works fine under mkii. "\showst

Re: [NTG-context] bug in mkiv - paragraph column in tables

2008-09-26 Thread Chen Shen
I am using : This is LuaTeX, Version snapshot-0.29.0-2008072211 ConTeXt ver: 2008.09.21 22:31 MKIV fmt: 2008.9.22 int: english/english MtxRun | current version: 2008.09.21 22:31 Also tried the example on context live, with no luck. shenchen On Sat, Sep 27, 2008 at 1:17 AM, Hans Hagen

Re: [NTG-context] bug in mkiv - paragraph column in tables

2008-09-26 Thread Wolfgang Schuster
Am 26.09.2008 um 19:43 schrieb Chen Shen: > I am using : > This is LuaTeX, Version snapshot-0.29.0-2008072211 > ConTeXt ver: 2008.09.21 22:31 MKIV fmt: 2008.9.22 int: english/ > english > MtxRun | current version: 2008.09.21 22:31 > > Also tried the example on context live, with no luck.

Re: [NTG-context] bug in mkiv - paragraph column in tables

2008-09-26 Thread Aditya Mahajan
On Sat, 27 Sep 2008, Chen Shen wrote: > Hi all, > > The following simple table doesn't work right under mkiv. The baseline > of the paragraph (2nd) column is much lower than other columns. > The same code works fine under mkii. "\showstructs" shows the > difference between the two, but I wasn't to

Re: [NTG-context] bug in mkiv - paragraph column in tables

2008-09-27 Thread Chen Shen
On Sat, Sep 27, 2008 at 3:05 AM, Wolfgang Schuster <[EMAIL PROTECTED]> wrote: > > You need the svn-version. > > This is LuaTeX, Version snapshot-0.29.1-2008092620, build Yes, the SVN version works! many thanks. This is LuaTeX, Version snapshot-0.29.1-2008092719, build shenchen

[NTG-context] Math delimiters too big in lucida in MKII

2011-01-09 Thread Yue Wang
Hi, Hans: I dont know why you do this in math-lbr.mkii: \def\LBRbig {\@@dobig{8.20}} \def\LBRBig {\@@dobig{10.80}} \def\LBRbigg {\@@dobig{13.42}} \def\LBRBigg {\@@dobig{16.03}} \def\LBRbiggg{\@@dobig{17.72}} \def\LBRBiggg{\@@dobig{21.25}} % \def\LBRbig {\@@dobig{0.820}} % \def\LBRBig

[NTG-context] no line break in CJK text in footnotes

2011-04-07 Thread 李延瑞
Hi Hans, At least for the beta 2011.04.03, the line break can not work for cjk text in footnotes. See the following example: \definefontsynonym[Serif][name:adobesongstd] \definetypeface[myfonts][rm][serif][myfonts][default] \setscript[hanzi] \setupbodyfont[myfonts,rm,11pt] \starttext

[NTG-context] Why \goto not wok in ConTeXt in Win7

2011-05-26 Thread 王雨施
Hi, everyone , I use the newest ConTeXt in Win7 , the version information as follow mtx-context | main context file: d:/context/tex/texmf-context/tex/context/ba se/context.mkiv mtx-context | current version: 2011.05.06 16:52 When I use goto in my document , it does not work, like the

Re: [NTG-context] Difference in doifinset in MkII and MkIV

2011-09-21 Thread Wolfgang Schuster
Am 21.09.2011 um 05:20 schrieb Aditya Mahajan: > The following works in MkIV but fails in MkIV: > > \unprotect > \def\!!yesandon{yes,on} > \doifinsetelse{yes}\!!yesandon \ExpandSecondAfter\doifinsetelse{yes}\!!yesandon It’s awkward but this how it works in

Re: [NTG-context] [OT] intelligent commas in math (in LaTeX)

2011-09-29 Thread Aditya Mahajan
On Mon, 26 Sep 2011, Mojca Miklavec wrote: http://tug.org/pracjourn/2011-1/beccari.html Short summary: This allows the comma in $1, 2, 3$ to be have as punctuation comma (similar to \setupmathematics[autopunct=no]) and $1,23$ to behave as decimal comma (similar to \setupmatematics

Re: [NTG-context] [OT] intelligent commas in math (in LaTeX)

2011-09-30 Thread luigi scarso
On Thu, Sep 29, 2011 at 6:15 PM, Aditya Mahajan wrote: > On Mon, 26 Sep 2011, Mojca Miklavec wrote: > >> http://tug.org/pracjourn/2011-1/beccari.html > > Short summary: This allows the comma in  $1, 2, 3$ to be have as punctuation > comma (similar to \setupmathematics[autop

Re: [NTG-context] [OT] intelligent commas in math (in LaTeX)

2011-09-30 Thread Philipp A.
that would be very useful for sets and german decimals: $x = 1,33$ vs. $x ∈ {1, 2, 3, 4}$ ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://

Re: [NTG-context] [OT] intelligent commas in math (in LaTeX)

2011-09-30 Thread Aditya Mahajan
In principle a cleaner implementation is possible in luatex (without using active characters), but I am not completely sure about this. It will be better to handle this as part of \mnum macro. Hm, can you explain this a bit ? Currently ConTeXt already checks if '.' is part of

Re: [NTG-context] [OT] intelligent commas in math (in LaTeX)

2011-09-30 Thread luigi scarso
On Sat, Oct 1, 2011 at 4:12 AM, Aditya Mahajan wrote: >>> In principle a cleaner implementation is possible in luatex (without >>> using >>> active characters), but I am not completely sure about this. It will be >>> better to handle this as part of \mnum macr

Re: [NTG-context] Difference in doifinset in MkII and MkIV

2011-10-14 Thread Aditya Mahajan
On Wed, 21 Sep 2011, Wolfgang Schuster wrote: Am 21.09.2011 um 05:20 schrieb Aditya Mahajan: The following works in MkIV but fails in MkIV: \unprotect \def\!!yesandon{yes,on} \doifinsetelse{yes}\!!yesandon \ExpandSecondAfter\doifinsetelse{yes}\!!yesandon It’s awkward but this how it works

Re: [NTG-context] Difference in doifinset in MkII and MkIV

2011-10-15 Thread Hans Hagen
On 15-10-2011 03:13, Aditya Mahajan wrote: On Wed, 21 Sep 2011, Wolfgang Schuster wrote: Am 21.09.2011 um 05:20 schrieb Aditya Mahajan: The following works in MkIV but fails in MkIV: \unprotect \def\!!yesandon{yes,on} \doifinsetelse{yes}\!!yesandon \ExpandSecondAfter\doifinsetelse{yes

Re: [NTG-context] Difference in doifinset in MkII and MkIV

2011-10-15 Thread Aditya Mahajan
On Sat, 15 Oct 2011, Hans Hagen wrote: On 15-10-2011 03:13, Aditya Mahajan wrote: On Wed, 21 Sep 2011, Wolfgang Schuster wrote: Am 21.09.2011 um 05:20 schrieb Aditya Mahajan: The following works in MkIV but fails in MkIV: \unprotect \def\!!yesandon{yes,on} \doifinsetelse{yes}\!!yesandon

[NTG-context] Transparency in PNGs becomes black in PDF/X

2019-12-19 Thread Henning Hraban Ramm
I think this is the same problem that I had in Bassenge: The transparent part of PNGs like the attached one becomes black if I try to make an PDF/X. I hope that is solvable... \setupbackend[format=PDF/X-1a:2001] \starttext \externalfigure[kinder/esel_kl] \stoptext Best, Hraban

[NTG-context] Keep photographer in one line in a caption

2020-01-11 Thread Henning Hraban Ramm
Yet another small problem: I my photo captions, the photographer should be right aligned and in one line, i.e. if it doesn’t fit into the last line of the caption, it should move to the next line. ATM I’m clueless... That’s not enough (also not a MWE): \define[1]\Foto{\hfill\hbox{\tfx Foto: #1

Re: [NTG-context] Accessing raw titles in textcommand in TOC

2020-02-21 Thread Hans Hagen
On 2/21/2020 2:34 PM, alephzorro wrote: Hello, I would like to display titles differently in TOC than they appear in text. For example, MyChapter1 -> 1retpahCyM. Basically any highly non-trivial transformation that really needs Lua. \starttext \completecontent \startchapter[ti

Re: [NTG-context] Accessing raw titles in textcommand in TOC

2020-02-21 Thread Wolfgang Schuster
On Fri, 21 Feb 2020 13:34:20 + alephzorro wrote: > Hello, > > I would like to display titles differently in TOC than they appear in text. > For example, MyChapter1 -> 1retpahCyM. Basically any highly non-trivial > transformation that really needs Lua. > > I'

Re: [NTG-context] Accessing raw titles in textcommand in TOC

2020-02-21 Thread alephzorro
The "list" seems capable of handling even complex lua macros. It does not require much work to add this to all chapters manually in my case so this solution works for me (and there's always awk and such for larger things). Thank you! Jason ‐‐‐ Original Message ‐‐‐ On F

Re: [NTG-context] Accessing raw titles in textcommand in TOC

2020-02-21 Thread alephzorro
Yup, this works gloriously for reversing titles. And more complex transformations (in my case mostly weird stuff like generating morse code for titles to be shown in TOC) can be done by specifying "list" for all chapters as Hans suggested. Thank you! Jason ‐‐‐ Origin

Re: [NTG-context] running lua in metafun and in ConTeXt

2020-04-11 Thread Otared Kavian
Hi Dalyoung, I tested your code: it works fine with both definitions of the variable tt in your code. I am using the current LMTX version 2020.04.08 14:38. Best regards: Otared > On 11 Apr 2020, at 14:32, Jeong Dal wrote: > > Dear all, > > I draw Pascal’s triangle with th

Re: [NTG-context] running lua in metafun and in ConTeXt

2020-04-11 Thread Hans Hagen
On 4/11/2020 4:15 PM, Jeong Dal wrote: Dear all, The problem is solved by using the namespace of lua as below: I am not sure what I did is the right way. If it is not the right way, please let me know. Thanks for reading. Best regards, Dalyoung \startluacode P={} combi = P function P.fact

Re: [NTG-context] running lua in metafun and in ConTeXt

2020-04-11 Thread Jeong Dal
Dear Hans, Thank you for your nice code. lua.MP.Whatever is something! Have a nice weekend. Best regards, Dalyoung > 2020. 4. 12. 오전 2:08, Hans Hagen 작성: > > On 4/11/2020 4:15 PM, Jeong Dal wrote: >> Dear all, >> The problem is solved by using the namespace of lua as below: >> I am not sure

Re: [NTG-context] running lua in metafun and in ConTeXt

2020-04-12 Thread Hans Hagen
Hi Dal, Thank you for your nice code. lua.MP.Whatever is something! just keep in mind that lua.MP is the user namespace and lua.mp (lowercase) the system one btw, as you're doing math in mp, in lmtx (which has some extra metafun features) we have some more math functions avai

Re: [NTG-context] running lua in metafun and in ConTeXt

2020-04-12 Thread Jeong Dal
regards, Dalyoung > 2020. 4. 12. 오후 6:44, Hans Hagen 작성: > > Hi Dal, > >> Thank you for your nice code. >> lua.MP.Whatever is something! > > just keep in mind that lua.MP is the user namespace and lua.mp (lowercase) > the system one > > btw, as you'

<    1   2   3   4   5   6   7   8   9   10   >