[NTG-context] Fwd: Re: Alignment of bullets withn \tabulate within \itemize

2021-08-05 Thread Lukas/ConTeXt via ntg-context
- Původní e-mail -- Od: Wolfgang Schuster Komu: mailing list for ConTeXt users Datum: 4. 8. 2021 20:44:31 Předmět: Re: [NTG-context] Alignment of bullets withn \tabulate within \itemize Lukas/ConTeXt via ntg-context schrieb am 04.08.2021 um 17:03: > Hello, > > le

[NTG-context] Alignment of bullets withn \tabulate within \itemize

2021-08-04 Thread Lukas/ConTeXt via ntg-context
Hello, let's have the following sample: \starttext \startitemize[packed_,][headstyle_=,] \item CC \starttabulate[|l|||] \NI aa \NC bb \NC\NR \stoptabulate \item AA \stopitemize \stoptext How do I make bullets (\itemtag) horizontally aligned one bellow

[NTG-context] Make LMTX load a custom library

2021-03-01 Thread Lukas/ConTeXt
Hello, suppose having a custom DLL (actualy a Lua module) in: d:\Lukas\Lua\54\WinCon.dll How exactly should I alter the path specification so LMTX be able to load WinCon.dll? My trials - without success so far - are: 1. Alter LUA_CPATH before running Ctx, so something like: (command

[NTG-context] Warning: "nodes: unable to store reference from lua in tex"

2021-02-26 Thread Lukas/ConTeXt
es loaded from cont-new.mkiv close source> level 2, order 2, name 'd:/Ctx-Beta/tex/texmf-context/tex/context/base/mkiv/cont-new.mkiv' system > jobfiles > using path: d:/Lukas/ConTeXt/Styles system > files > jobname 't', input 'D:/Lukas/Jobs/Chrastany-D5.4-RDS/S

Re: [NTG-context] How to shift unnumbered ToC entry?

2020-09-23 Thread Lukas/ConTeXt
Best wishes, Tomáš Wed, Sep 23, 2020 ve 10:33:45AM +0200 Lukas/ConTeXt napsal(a): # Hello, # # how do I shift unnumbered ToC entry (here: \subsubsection)? My attempt: # # # \setuphead[subsubsection][number=no] # \setuplist[subsubsection][distance=20mm,width=20mm] # # \starttext

[NTG-context] How to shift unnumbered ToC entry?

2020-09-23 Thread Lukas/ConTeXt
Hello, how do I shift unnumbered ToC entry (here: \subsubsection)? My attempt: \setuphead[subsubsection][number=no] \setuplist[subsubsection][distance=20mm,width=20mm] \starttext \placecontent \page \section{S} \subsection{Ss} \subsubsection{Sss} \stoptext I'm

Re: [NTG-context] white-space after section-head in columns

2020-07-15 Thread Lukas/ConTeXt
Hello Peter, playing with "grid" option within \setuplayout and \setuphead might help - see: \setuplayout[grid=no] \setuphead[section][grid=no] \starttext \startsection[title=Space is ok here] \input tufte \stopsection \blank \startcolumns[n=2] \startsection[title=Too

[NTG-context] \placetable vs. \placefloat and option "none"

2020-07-08 Thread Lukas/ConTeXt
Hello, (– resending now without resulting .pdf to avoid attachment size limit –) option "none" has different effect with \placetable and \placefloat. No problem with this, but as I thought both commands raise from the same code (or more precisely: I thought that \placetable is special case

[NTG-context] \placetable vs. \placefloat and option "none"

2020-07-08 Thread Lukas/ConTeXt
Hello, option "none" has different effect with \placetable and \placefloat. No problem with this, but as I thought both commands raise from the same code (or more precisely: I thought that \placetable is special case (specialization) of \placefloat), I'm a bit surprised that \placefloat[none]

Re: [NTG-context] Checking for singlesided/doublesided at run-time

2020-06-24 Thread Lukas/ConTeXt
for ConTeXt users Datum: 24. 6. 2020 15:08:33 Předmět: Re: [NTG-context] Checking for singlesided/doublesided at run-time "Lukas/ConTeXt schrieb am 24.06.2020 um 08:19: > Hello, > > is there a way to detect whether the document is intended as single- or double- sided, IOW, whether > \s

[NTG-context] Automatic userdata storage between runs

2020-06-24 Thread Lukas/ConTeXt
Hello, first - thanks for the perfectly synoptical https://wiki.contextgarden.net/Programming_in_LuaTeX#Namespaces ! My question (and the answer sould appear on wiki, too): Is any of the namespaces (userdata, thirddata, moduledata, documentdata, parametersets) automatically serialized

[NTG-context] Checking for singlesided/doublesided at run-time

2020-06-24 Thread Lukas/ConTeXt
Hello, is there a way to detect whether the document is intended as single- or double- sided, IOW, whether \setuppagenumbering[alternative=singlesided] or \setuppagenumbering[alternative=doublesided] has been specified? If so, is it possible by Lua, too? Regards, Lukas

Re: [NTG-context] Checking existence of a macro (control sequence) by Lua - problem after updating MkIV

2020-06-19 Thread Lukas/ConTeXt
Hello Hans, -- Původní e-mail -- { Od: Hans Hagen as you updated, it's just: \startluacode local defined = tokens.defined for _, v in ipairs{ "MyMacro", "MyMacWithPars", "Undefined", "DoNothing", "NonExisting" } do print(string.format("\letterpercent-12s",

Re: [NTG-context] Checking existence of a macro (control sequence) by Lua - problem after updating MkIV

2020-06-18 Thread Lukas/ConTeXt
tus{0}} % default to ok as in UNIX dr. Hans van der Meer " On 18 Jun 2020, at 10:27, Lukas/ConTeXt mailto:lpr.cont...@email.cz)> wrote: Hello, I'm using Hans' macro suggested some time before. I've just updated Ctx MkIV and my sample code: \starttext  \def\MyMacro{

[NTG-context] Checking existence of a macro (control sequence) by Lua - problem after updating MkIV

2020-06-18 Thread Lukas/ConTeXt
beware: some patches loaded from cont-new.mkiv close source> level 2, order 2, name 'd:/Ctx-Beta/tex/texmf-context/tex/context/base/mkiv/cont-new.mkiv' system > jobfiles > using path: d:/Lukas/ConTeXt/Styles system > files > jobname 'IsMacDef3', input 'D:/Luk

[NTG-context] Bar within math (amended)

2020-06-09 Thread Lukas/ConTeXt
Hello, it seems that bar (even with option 'continue=yes') is not rendered in place of '~' within math. See the sample: \definebar[MyBar][color=green,rulethickness=2.8,order=background,offset=1.5,continue=yes] \starttext 1 + 2 = \startbar[MyBar]3~kN\stopbar % OK $1 + 2 =