> *À : *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
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
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
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
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
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
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
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
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
\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
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.
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
, 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
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
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
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
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
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
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}
>>
>>
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
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
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
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
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,
\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
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
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
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,
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
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]
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
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
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
- 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
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}]
>
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
>
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
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&
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
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
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
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:
>>>
>>>
>
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
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
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
>
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
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
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
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
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 :-
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
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
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
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
Thomas A. Schmitz
>>>> wrote:
>>>>>
>>>>>
>>>>> On 01/17/2016 07:24 PM, Hans Hagen wrote:
>>>>>>
>>>>>>
>>>>>>
>>>>>> it should work in the in beta now
>>>>
>>>>
>>>>>
>>>>> On 18 January 2016 at 13:30, Thomas A. Schmitz
>>>>> wrote:
>>>>>>
>>>>>>
>>>>>> On 01/17/2016 07:24 PM, Hans Hagen wrote:
>>>>>>>
>>>>>>&
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
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
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
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'
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
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
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
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
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
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
\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
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
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
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
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
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
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
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
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.
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
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
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
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
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
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
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
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
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://
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
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
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
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
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
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
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
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
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'
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
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
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
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
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
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
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'
101 - 200 of 12799 matches
Mail list logo