anese thursday:mnem => 水
% japanese wednesday:mnem => 木
% japanese friday:mnem=> 金
% japanese saturday:mnem => 土
% japanese sunday:mnem=> 日
%
\section{So
Hans, Wolfgang,
I am so happy to receive your immediate answers. — Thanks a lot, the problem is
solved and I get the colored labeltext!
Thank you
Willi
> On 24 Jun 2022, at 19:19, Hans Hagen via ntg-context
> wrote:
>
> On 6/24/2022 4:34 PM, Willi Egger via ntg-context wrot
On 6/24/2022 4:34 PM, Willi Egger via ntg-context wrote:
Hi all,
Sorry for bothering you again.
I would like that lua is returning a colored string, which is a label-text.
The following does not work, the labeltext remains black, there is no error
though:
return context.color({&quo
Willi Egger via ntg-context schrieb am 24.06.2022 um 16:34:
Hi all,
Sorry for bothering you again.
I would like that lua is returning a colored string, which is a label-text.
The following does not work, the labeltext remains black, there is no error
though:
return context.color({&quo
Hi all,
Sorry for bothering you again.
I would like that lua is returning a colored string, which is a label-text.
The following does not work, the labeltext remains black, there is no error
though:
return context.color({"red"},context.labeltext(s))
What is the correct approach?
Thank you very much Wolfgang for the explanation,
Both solutions make sense now and work great.
Regards,
Adam
On Wed, Aug 25, 2021 at 11:46 AM Wolfgang Schuster <
wolfgang.schuster.li...@gmail.com> wrote:
> Adam Reviczky via ntg-context schrieb am 25.08.2021 um 02:02:
> > Hi,
> >
> > I have ask
Adam Reviczky via ntg-context schrieb am 25.08.2021 um 02:02:
Hi,
I have asked this question before, but now I cannot get it working again.
https://ntg-context.ntg.narkive.com/lvvdNOQz/the-appendices-envrionment-and-title-in-toc
I want to set partlabels in my TOC but not in the document itself.
Hi,
I have asked this question before, but now I cannot get it working again.
https://ntg-context.ntg.narkive.com/lvvdNOQz/the-appendices-envrionment-and-title-in-toc
I want to set partlabels in my TOC but not in the document itself.
The desired output would be:
---
Contents
Chapter 1 Bodypart
A
:
\setuplabeltext[en][test=Something]
\startluacode
context.startsectionlevel{title="\\labeltext[test]"}
-- ...
context.stopsectionlevel()
\stopluacode
The title correctly reads "Something", but the bookmark in the PDF
viewer shows "test".
also
crossover between lua and
tex, but that results in the bookmark having the wrong label:
\setuplabeltext[en][test=Something]
\startluacode
context.startsectionlevel{title="\\labeltext[test]"}
-- ...
context.stopsectionlevel()
\stopluacode
The title correctly reads "Something",
results in the bookmark having the wrong label:
\setuplabeltext[en][test=Something]
\startluacode
context.startsectionlevel{title="\\labeltext[test]"}
-- ...
context.stopsectionlevel()
\stopluacode
The title correctly reads "Something", but the bookmark in the PDF
viewer shows &qu
On 2/16/2017 2:12 PM, Andreas Schneider wrote:
Am 2017-02-16 11:50, schrieb Hans Hagen:
languages.data.labels.texts.appendix.labels.en
look into lang-txt.lua
Hello Hans,
I already looked into this and even printed the whole languages.data
table at runtime, but didn't find my keys in there.
Am 2017-02-16 11:50, schrieb Hans Hagen:
languages.data.labels.texts.appendix.labels.en
look into lang-txt.lua
Hello Hans,
I already looked into this and even printed the whole languages.data
table at runtime, but didn't find my keys in there.
Here is an example which apparently doesn't wo
On 2/16/2017 11:36 AM, Andreas Schneider wrote:
Hello,
if I define a labeltext via \setuplabeltext[en][test=Something], how can
I access that value via lua?
(context.labeltext obviously prints the content, but doesn't allow me to
use it in lua).
languages.data.labels.texts.appendix.labe
Hello,
if I define a labeltext via \setuplabeltext[en][test=Something], how can
I access that value via lua?
(context.labeltext obviously prints the content, but doesn't allow me to
use it in lua).
As a related side-request: how can I fix expansion in cases like this:
\startsection
On 16-6-2012 15:19, Philipp Gesang wrote:
Hi Hans!
·
On 12-6-2012 16:41, Philipp Gesang wrote:
I’ll be collecting candidates for the wiki page until saturday
and then write up a draft, maybe submit it to the list for review
first. I can draw up a preliminary list first so you can hav
Hi Hans!
·
> On 12-6-2012 16:41, Philipp Gesang wrote:
>
> >I’ll be collecting candidates for the wiki page until saturday
> >and then write up a draft, maybe submit it to the list for review
> >first. I can draw up a preliminary list first so you can have a
> >look at it.
>
> next week
On 12-6-2012 16:41, Philipp Gesang wrote:
I’ll be collecting candidates for the wiki page until saturday
and then write up a draft, maybe submit it to the list for review
first. I can draw up a preliminary list first so you can have a
look at it.
next week is ok
Hans
Hi Hans!
·
> On 12-6-2012 16:24, Marco wrote:
>
> >While you're at it, check \usesubpath as well. I didn't test, but
> >assume it has the same issue.
>
> uses the same code
>
> As this is quite counterintuitive, I’d like to wikify any known
> exceptions somewhere over here:
> >
On 12-6-2012 16:24, Marco wrote:
While you're at it, check \usesubpath as well. I didn't test, but
assume it has the same issue.
uses the same code
As this is quite counterintuitive, I’d like to wikify any known
exceptions somewhere over here:
How about unifying the interface? IMO that wou
On 2012-06-12 Hans Hagen wrote:
> On 12-6-2012 13:42, Marco wrote:
> > On 2012-06-11 Philipp Gesang wrote:
> >
> >> Dear others, please contribute if you know about further setups
> >> whose parameters behave in a non-standard way.
> >
> > Here's another candidate: \usepath
> >
> > http://articl
On 12-6-2012 13:42, Marco wrote:
On 2012-06-11 Philipp Gesang wrote:
Dear others, please contribute if you know about further setups
whose parameters behave in a non-standard way.
Here's another candidate: \usepath
http://article.gmane.org/gmane.comp.tex.context/75727
that's one that can
On 2012-06-11 Philipp Gesang wrote:
> Dear others, please contribute if you know about further setups
> whose parameters behave in a non-standard way.
Here's another candidate: \usepath
http://article.gmane.org/gmane.comp.tex.context/75727
> As this is quite counterintuitive, I’d like to wikif
Am 12.06.2012 um 00:22 schrieb Aditya Mahajan:
> On Mon, 11 Jun 2012, Aditya Mahajan wrote:
>
>> On Mon, 11 Jun 2012, Philipp Gesang wrote:
>>
>>> Dear others, please contribute if you know about further setups
>>> whose parameters behave in a non-standard way. As this is quite
>>> counterintui
Hi Aditya!
·
> On Mon, 11 Jun 2012, Aditya Mahajan wrote:
> >On Mon, 11 Jun 2012, Philipp Gesang wrote:
> Other potential topics that fit better on such a page:
>
> * Why is space after \externalfigure[..][..] gobbled? (in the FAQ)
> * Why does \framed not work in the beginning of a line
Hi Aditya!
·
> On Mon, 11 Jun 2012, Philipp Gesang wrote:
>
> >Dear others, please contribute if you know about further setups
> >whose parameters behave in a non-standard way. As this is quite
> >counterintuitive, I’d like to wikify any known exceptions
> >somewhere over here:
> >http:/
On Mon, 11 Jun 2012, Aditya Mahajan wrote:
On Mon, 11 Jun 2012, Philipp Gesang wrote:
Dear others, please contribute if you know about further setups
whose parameters behave in a non-standard way. As this is quite
counterintuitive, I’d like to wikify any known exceptions
somewhere over here:
h
On Mon, 11 Jun 2012, Philipp Gesang wrote:
Dear others, please contribute if you know about further setups
whose parameters behave in a non-standard way. As this is quite
counterintuitive, I’d like to wikify any known exceptions
somewhere over here:
http://wiki.contextgarden.net/From_LaTeX_to_Co
omething special about how the key-value
> >>> list works with \setuplabeltext:
> >>>
> >>> ···
> >>> \setuplabeltext [
> >>>
key-value
>>> list works with \setuplabeltext:
>>>
>>> ···
>>> \setuplabeltext [
>>>foo=bar, %% <- comma not allowed here?
>>> % foo=bar %% <- works
>>> ]
>>> \starttext
>>> \labeltext{
···
> > \setuplabeltext [
> > foo=bar, %% <- comma not allowed here?
> > % foo=bar %% <- works
> > ]
> > \starttext
> > \labeltext{foo}
> > \stoptext
> >···
> &g
bar %% <- works
]
\starttext
\labeltext{foo}
\stoptext
···
Normally the trailing comma causes no trouble, but here it won’t
even compile.
indeed a slightly different parser is use
Hi all,
there appears to be something special about how the key-value
list works with \setuplabeltext:
···
\setuplabeltext [
foo=bar, %% <- comma not allowed here?
% foo=bar %% <- works
]
\starttext
\labelte
On Tue, 25 Oct 2011, Mojca Miklavec wrote:
you can try \doiftextelse instead
Thank you very much. This works fine.
This should probably be added to
http://wiki.contextgarden.net/System_Macros/Branches_and_Decisions
at least (possibly to reference next to labels as well), but I'm not
sure ho
On 25-10-2011 11:26, Mojca Miklavec wrote:
On Mon, Oct 24, 2011 at 20:41, Hans Hagen wrote:
On 24-10-2011 19:41, Mojca Miklavec wrote:
Hello,
The following code
\setuplabeltext[test=]
test is \doifemptyelse{\labeltext{test}}{empty}{not empty}
doesn't work as intended for the reasons
On Mon, Oct 24, 2011 at 20:41, Hans Hagen wrote:
> On 24-10-2011 19:41, Mojca Miklavec wrote:
>>
>> Hello,
>>
>> The following code
>>
>> \setuplabeltext[test=]
>> test is \doifemptyelse{\labeltext{test}}{empty}{not empty}
>>
>> does
On 24-10-2011 19:41, Mojca Miklavec wrote:
Hello,
The following code
\setuplabeltext[test=]
test is \doifemptyelse{\labeltext{test}}{empty}{not empty}
doesn't work as intended for the reasons that I approximately
understand (not exactly, but I understand that there might be a lot of
Hello,
The following code
\setuplabeltext[test=]
test is \doifemptyelse{\labeltext{test}}{empty}{not empty}
doesn't work as intended for the reasons that I approximately
understand (not exactly, but I understand that there might be a lot of
weird stuff returned when I ask for labe
38 matches
Mail list logo