all your help!
Benjamin
> On Jun 10, 2025, at 05:45, Hans Hagen wrote:
>
> On 6/10/2025 2:35 AM, Benjamin Buchmuller wrote:
>> Hi list,
>> I was wondering if there is a "\time" equivalent similar to "\currentdate"
>> -> "\date"?
>
On 6/10/2025 2:35 AM, Benjamin Buchmuller wrote:
Hi list,
I was wondering if there is a "\time" equivalent similar to "\currentdate" ->
"\date"?
I know from the wiki (and source) that there is "\currenttime", but "\time[h=8, m=30]&quo
On 6/10/2025 2:35 AM, Benjamin Buchmuller wrote:
Hi list,
I was wondering if there is a "\time" equivalent similar to "\currentdate" ->
"\date"?
I know from the wiki (and source) that there is "\currenttime", but "\time[h=8, m=30]&quo
Hi list,
I was wondering if there is a "\time" equivalent similar to "\currentdate" ->
"\date"?
I know from the wiki (and source) that there is "\currenttime", but "\time[h=8,
m=30]" will not typeset "8:30", so it doesn't see
On Sun, Mar 2, 2025, 8:00 AM Hans Hagen via ntg-context
wrote:
> On 2/28/2025 11:28 PM, Mohammad Hossein Bateni wrote:
> > the following outputs "farsi" instead of "fa". is this the reason the
> > translation of jalali month does not kick in?
>
> We have these short and long names, and originally
On 2/28/2025 11:28 PM, Mohammad Hossein Bateni wrote:
the following outputs "farsi" instead of "fa". is this the reason the
translation of jalali month does not kick in?
We have these short and long names, and originally only had short ones,
for efficiency reasons (like memory limitations in t
On 2/28/2025 11:30 PM, Mohammad Hossein Bateni wrote:
BTW why doesn't \setuplabeltext exist in the mtx-server-ctx-help? It
does exist in setup-en.pdf and shows that it is an instance of
\setupLABELtext.
because it's a 'defined command' ... i could probably add it but it's
not like there has b
gt;>
>> \persiandecimals{\rawdate[jalali:to,d]}/\persiandecimals{\rawdate[jalali:to,M]}/\persiandecimals{\rawdate[jalali:to,y]}
>>
>> but the following does not work and throws an error:
>>
>> \persiandecimals{\currentdate[jalali:to,d]}
>>
>> If I want to
als{\rawdate[jalali:to,M]}/\persiandecimals{\rawdate[jalali:to,y]}
>
> but the following does not work and throws an error:
>
> \persiandecimals{\currentdate[jalali:to,d]}
>
> If I want to get the output for different date, option 2 below works and
> option 1 does not.
>
For Jalali dates and Persian numbering, I can get the following to work:
\persiandecimals{\rawdate[jalali:to,d]}/\persiandecimals{\rawdate[jalali:to,M]}/\persiandecimals{\rawdate[jalali:to,y]}
but the following does not work and throws an error:
\persiandecimals{\currentdate[jalali:to,d]}
If I
Am 20.02.2025 um 19:53 schrieb Mohammad Hossein Bateni:
Any thoughts why the following doesn't work?
\currentdate[d:persiannumerals]
It just outputs the normal digits.
In contrast, these work:
\currentdate[d:abjadnumerals]
\convertnumber{persiannumerals}{\normalday}
persiannumerals a
Any thoughts why the following doesn't work?
\currentdate[d:persiannumerals]
It just outputs the normal digits.
In contrast, these work:
\currentdate[d:abjadnumerals]
\convertnumber{persiannumerals}{\normalday}
On Sat, Dec 7, 2024, 7:11 AM Pablo Rodriguez via ntg-context <
ntg
There should be two changes to be made here:
One is a patch added by Wolfgang, which fixes the extra space for dates in the
current Chinese environment.
One is that in the current environment, the format of the Chinese date should
be modified to:
\currentdate[year,年,M,月,day,日] (output: 2025年1月
Am 13.01.2025 um 19:02 schrieb Hans Hagen:
On 1/13/2025 5:43 PM, Wolfgang Schuster wrote:
Am 12.01.2025 um 06:16 schrieb autumnus:
Thank you for your explanation.
Regarding the space after the month,
will it be added to the ConTeXt in the future?
I'm worried that after I patch it,
it will be
I don't know why, the text is automatically added with spaces.
The correct one should be:
\currentdate[year,年,M,月,day,日]
\currentdate[year:cn-d,年,month,day:cn,日]
___
If your question is of interest to othe
hi, Tomáš
Thank you for your help.
The format that is currently more commonly used is the first one.
\starttext
\language[cn]
\definedfont[name:adobesongstdlight]
modern and mostly used : \currentdate[year,年,M,月,day,日] : 2025年1月12日
traditional and special case: \currentdate[year:cn
e Chinese month.
\definedfont[name:adobesongstdlight]
\currentdate[year:cn-d,年,month:cn-a,day:cn,号] %output : 二〇二五年January 十一号
\setuplabeltext [en][january={一月},]
\currentdate[year:cn-d,年,month:cn-a,day:cn,号] %output : 二〇二五年一月 十一号
If so, then when should I use those conversion method ?
(
obesongstdlight]
\currentdate[year:cn-d,年,month:cn-a,day:cn,号] %output : 二〇二五年January 十一号
\setuplabeltext [en][january={一月},]
\currentdate[year:cn-d,年,month:cn-a,day:cn,号] %output : 二〇二五年一月 十一号
If so, then when should I use those conversion method ?
(At present, the output of "month:cn
\increment or \decrement, as shown in the wiki:
\starttext
Today is \currentdate.
\dorecurse{25}
{\increment\normalday}
Tomorrow will be \currentdate.
\decrement\normalday
%\increment\normalmonth% -- gives an error
\increment\normalyear
And today in a year will be
Today is \currentdate.
\dorecurse{25}
{\increment\normalday}
Tomorrow will be \currentdate.
\decrement\normalday
%\increment\normalmonth% -- gives an error
\increment\normalyear
And today in a year will be \currentdate.
\stoptext
But the main problem is that I end up having the
On 12/6/24 15:39, Wolfgang Schuster wrote:
> [...]
> The \date (and \currentdate) command supports number conversion for the
> day and year values but not the month.
>
> \starttext
> \currentdate[d:R,space,space,y:R]
> \stoptext
Many thanks for your fast reply, Wolfgang.
I
tartalignment[right,broad]
\TitleFont\startcolor[LightColor]\ss\bfc\setupinterlinespace[big]}
\def\StopTitlePage
{\stopcolor
\stopalignment
...}
3. \setupinteraction fails when you pass \currentdate to the date key.
\setupinteraction[date=\currentdate]
4. Active characters for
Pablo Rodriguez via ntg-context schrieb am 06.12.2024 um 12:35:
Dear list,
I would like to get the current month in Roman numerals (just now, it
would be XII for December).
The best I get is:
\currentdate[\cldcontext{converters['R']
(tonumber(os.date("\letterpercent m&qu
Dear list,
I would like to get the current month in Roman numerals (just now, it
would be XII for December).
The best I get is:
\currentdate[\cldcontext{converters['R']
(tonumber(os.date("\letterpercent m", os.date(os.time()}]
This strikes me as too complex (
=2021.07.12,
%D title=\CONTEXT\ Extra Modules,
%D subtitle=TIKZ support,
%D author=Hans Hagen,
%D date=\currentdate,
%D copyright={PRAGMA ADE \& \CONTEXT\ Development Team}]
%C
%C This module is part of the \CONTEXT\ macro||package and is
%C therefore cop
ra Modules,
%D subtitle=messing with electrons,
%D author=Hans Hagen,
%D date=\currentdate,
%D copyright={\CONTEXT\ Development Team}]
% This is a follow up on mails to the list by Jorge and Bruce.
\startmodule [m-electrons]
\unprotect
\installcorenamespace
Please let me know if I'm missing anything to use correctly.
I apologize for my carelessness
% \chapter{Title} will show : 1 title
% why not 第一章?
% Do I have to set it up again via labeltext?
\currentdate
% show 2024 年 十月 24 日。
% This is confusing because
,space,day,space,month,space,year”}
so that I get a comma after weekday and a period after day? Where can
I find something about this?
Aside from keywords like day, weekday etc. the \date (and
\currentdate) commands allows free input which used as separator
between these keywords. To set a
keywords like day, weekday etc. the \date (and \currentdate)
commands allows free input which used as separator between these
keywords. To set a period as separator just put . as entry in the list
but ensure to use braces around , because it will otherwise be
interpreted as list separator.
When
{10}{
\bTR
\bTD\strut \eTD\bTD \eTD\bTD \eTD
\eTR
}
\eTABLE
"""
Hraban%D \module
%D [ file=mp-sketch.mp
%Dversion=2021.05.13
%D title=\CONTEXT\ \METAPOST\ graphics,
%D subtitle=Sketch drawing,
%D author=Aditya Mahajan,
%D date=\
\xmlinclusion\{\#1\} ===> "\xmlinclusion{#1}"\crlf \xmlflush{#1}\crlf {\bf End test}\blank\stopxmlsetups\startxmlsetups demo:test \xmlflush{#1}\stopxmlsetups\starttext\currentdate-\currenttime\quad\ConTeXt-version=\contextversion\blankThe following text is on page 52 of xml-mkiv.pdf:\crlf\type{
rmanentment inacabada. Per
aquest motiu convé saber quina versió del document esteu llegint.
28
29 \medskip
30 La versió d'aquest document és la {\bf 0.4.0-alfa.\currentdate[year,-,
mm,-,dd]}.
31
32 \bigskip
33 Aquest document ha estat generat, \currentdate[wee
uina versió del document esteu llegint.
28
29 \medskip
30 La versió d'aquest document és la {\bf 0.4.0-alfa.\currentdate[year,-,
mm,-,dd]}.
31
32 \bigskip
33 Aquest document ha estat generat, \currentdate[weekday,{ },day,{
},month,{ },year] a les \currenttime, usant prog
od.nl
-
%D \module
%D [ file=m-tikz,
%Dversion=2021.07.12,
%D title=\CONTEXT\ Extra Modules,
%D subtitle=TIKZ support,
%D author=Hans Hagen,
%D date=\currentdate,
%D copyright={PRAGMA ADE \& \CONTEXT\ De
}:\space \currentdate \quad \donefalse \ifcstok \currentproject
\currentproduct \ifcstok \currentproduct \currentcomponent \donetrue \fi
\fi \ifdone \donefalse \else \ifempty \
\page_info_add_to_box
#1->\scratchdimen \wd #1\setbox \b_page_versions \vpack to \ht #1{\vfill
\settexthoff
date=\currentdate,
%D copyright={PRAGMA ADE \& \CONTEXT\ Development Team}]
%C
%C This module is part of the \CONTEXT\ macro||package and is
%C therefore copyrighted by \PRAGMA. See mreadme.pdf for
%C details.
%D A fixed variant of the t-tikz module distributed with tikz. For pract
uthor=Hans Hagen,
%D date=\currentdate,
%D copyright={PRAGMA ADE \& \CONTEXT\ Development Team}]
%C
%C This module is part of the \CONTEXT\ macro||package and is
%C therefore copyrighted by \PRAGMA. See mreadme.pdf for
%C details.
%D Just a quick hack for Hraban (after a po
=Hans Hagen,
%D date=\currentdate,
%D copyright={PRAGMA ADE \& \CONTEXT\ Development Team}]
%C
%C This module is part of the \CONTEXT\ macro||package and is
%C therefore copyrighted by \PRAGMA. See mreadme.pdf for
%C details.
%D Just a quick hack for Hraban (after a post on
g/language/hyph-utf8/tex/generic/hyph-utf8/patterns/tex/hyph-el-polyton.tex).
Ironically, modern polytonic Greek patterns would be required to typeset
both the act and the decree that introduced the monotonic ortography.
2. Greek doesn’t seem to have language-dependent commands (such as
\current
e act and the decree that introduced the monotonic ortography.
2. Greek doesn’t seem to have language-dependent commands (such as
\currentdate).
In both cases, Hans will reply that nobody asked for any of them.
Of course, I totally agree. AfaIk, nobody asked for these featu
typeset
both the act and the decree that introduced the monotonic ortography.
2. Greek doesn’t seem to have language-dependent commands (such as
\currentdate).
In both cases, Hans will reply that nobody asked for any of them.
Of course, I totally agree. AfaIk, nobody asked for these features
gma-pod.nl
-%D \module
%D [ file=m-poetry,
%Dversion=2022.08.28
%D title=\CONTEXT\ Extra Modules,
%D subtitle=Whatever comes up,
%D author=Hans Hagen,
%D date=\currentdate,
%D copyright={PRAGMA ADE \& \CONTEXT\ Development Team}]
%C
%C
od.nl
-%D \module
%D [ file=m-poetry,
%Dversion=2022.08.28
%D title=\CONTEXT\ Extra Modules,
%D subtitle=Whatever comes up,
%D author=Hans Hagen,
%D date=\currentdate,
%D copyright={PRAGMA ADE \& \CONTEXT\ Development Team}]
%
-%D \module
%D [ file=m-gimmicks,
%Dversion=2022.07.25
%D title=\CONTEXT\ Extra Modules,
%D subtitle=Whatever comes up,
%D author=Hans Hagen,
%D date=\currentdate,
%D copyright={PRAGMA ADE \& \CONTEXT\ Development Team}]
%C
%C This module is
=type-imp-dejavu,
%Dversion=2010.06.21,
%D title=\CONTEXT\ Typescript Macros,
%D subtitle=Alegreya fonts,
%D author=Hans Hagen,
%D date=\currentdate,
%D copyright={PRAGMA ADE \& \CONTEXT\ Development Team}]
%C
%C This module is part of the \CONTEXT\ m
-%D \module
%D [ file=type-junicode,
%D version=2011.09.18,
%Dtitle=\CONTEXT\ Typescript Macros,
%D subtitle=Junicode Font Definitions,
%D author=Wolfgang Schuster,
%D date=\currentdate,
%Dcopyright=Wolfgang Schuster,
%D license=GNU
n; charset="utf-8"; Format="flowed"
>>
>> Hi,
>>
>> This works here:
>>
>> \usemodule[circuitikz]
>>
>> \starttext
>>\startcircuitikz
>>\draw (0,2) to[I] (2,2);
>>\stopcircuitikz
>>\startcircui
; distribution. If needed we can apply runtime patches too.
>
> (nyw, it looks like tikz creates empty pfg files during a run but that's
> probbably has a reason)
>
> Hans
>
> -
>
e=\CONTEXT\ Extra Modules,
%D subtitle=TIKZ support,
%D author=Hans Hagen,
%D date=\currentdate,
%D copyright={PRAGMA ADE \& \CONTEXT\ Development Team}]
%C
%C This module is part of the \CONTEXT\ macro||package and is
%C therefore copyrighted by \PRAGMA. See mreadme.pdf
Dversion=2021.07.12,
%D title=\CONTEXT\ Extra Modules,
%D subtitle=TIKZ support,
%D author=Hans Hagen,
%D date=\currentdate,
%D copyright={PRAGMA ADE \& \CONTEXT\ Development Team}]
%C
%C This module is part of the \CONTEXT\ macro||package and is
title=\CONTEXT\ Extra Modules,
%D subtitle=CURCUITIKZ support,
%D author=Hans Hagen,
%D date=\currentdate,
%D copyright={PRAGMA ADE \& \CONTEXT\ Development Team}]
%C
%C This module is part of the \CONTEXT\ macro||package and is
%C therefore copyrighted by \PRAGMA. See mreadme.pd
th of them to test if everything works as expected.
Wolfgang
%D \module
%D [ file=type-imp-kurier,
%Dversion=2021.10.24,
%D title=\CONTEXT\ Typescript Macros,
%D subtitle=Kurier,
%D author=Hans Hagen,
%D date=\currentdate,
%D copyright={
if trace_replacements then
report_replacement("enabling replacement handler")
end
enabled = true
end
end
texsetattribute(a_replacements,n)
end
-- interface
implement {
name = "setreplacements",
ac
or \language[en-gb] should format dates
normally in day-month-year order, reserving mont-day-year for \language[us]
i.e. language[en-us].
But in ConTeXt both \language[en] and \language[en-gb] produce the us ordering
for \currentdate. I would be pleased if ConTeXt could be changed to the above
and Waldi's Symbols (wasy-2),
%D author=Henning Hraban Ramm,
%D date=\currentdate,
%D copyright={Public Domain}]
%C
%C This module is in the public domain.
%D Converted to \MKIV\ by Hans but not yet complete.
\unprotect
\definefontsynonym [WaldiSymbol] [wasy10]
\definef
.
Aditya
hatch.pdf
Description: Adobe PDF document
hatch.tex
Description: TeX document
%D \module
%D [ file=mp-sketch.mp
%Dversion=2021.05.13
%D title=\CONTEXT\ \METAPOST\ graphics,
%D subtitle=Sketch drawing,
%D author=Aditya Mahajan,
%D date=\curren
mize each
segment.
Aditya%D \module
%D [ file=mp-sketch.mp
%Dversion=2021.05.13
%D title=\CONTEXT\ \METAPOST\ graphics,
%D subtitle=Sketch drawing,
%D author=Aditya Mahajan,
%D date=\currentdate,
%D copyright={Aditya Mahajan}]
%D This metapost modu
n: TeX document
%D \module
%D [ file=mp-sketch.mp
%Dversion=2021.05.13
%D title=\CONTEXT\ \METAPOST\ graphics,
%D subtitle=Sketch drawing,
%D author=Aditya Mahajan,
%D date=\currentdate,
%D copyright={Aditya Mahajan}]
%D This metapost module is inspire
Hans Hagen schrieb am 27.01.2021 um 22:31:
On 1/27/2021 6:28 PM, Peter Münster wrote:
On Sun, Jan 10 2021, Peter Münster wrote:
\currentdate% same as \date, but I would expect the day of today...
Should I fill a bug-report on the tracker?
Perhaps also for the missing space after \date
On 1/27/2021 6:28 PM, Peter Münster wrote:
On Sun, Jan 10 2021, Peter Münster wrote:
\currentdate% same as \date, but I would expect the day of today...
Should I fill a bug-report on the tracker?
Perhaps also for the missing space after \date[]?
Reporting here is faster. Can (lazy me
On Sun, Jan 10 2021, Peter Münster wrote:
> \currentdate% same as \date, but I would expect the day of today...
Should I fill a bug-report on the tracker?
Perhaps also for the missing space after \date[]?
TIA,
--
Pe
ConTeXt ver: 2021.01.11 17:27 LMTX fmt: 2021.1.11
The following works in MkIV, but not in LMTX:
\def\Jahr{\currentdate[year]}
\settaggedmetadata[
rights={© \Jahr{} Me}
]
\starttext
\strut
\stoptext
The error message is:
1 \def\Jahr{\currentdate[year]}
2
3
> Le 10 janv. 2021 à 13:23, Peter Münster a écrit :
>
> Hi,
>
> I would expect, that \currentdate prints the current date, but it does
> not:
>
> --8<---cut here---start->8---
> \starttext
> \date[d=1]% first day of th
Hi,
I would expect, that \currentdate prints the current date, but it does
not:
--8<---cut here---start->8---
\starttext
\date[d=1]% first day of this month, ok
\date% again first day, last parameters are used, this is ok
\currentdate% same as \date,
} \blank[2*big] {\tfb \documentvariable{subtitleone}} \blank[2*big] {\tfb \documentvariable{subtitletwo}} \blank[10*big] {\tfb \documentvariable{revnumber}} \blank {\tfb \currentdate[month,year]} \blank[10*big] {\tfb Written by:} \blank {\tfb Company name} \blank {\tfb City, Country} \stopstandard
}}
\blank[2*big]
{\tfb \documentvariable{subtitletwo}}
\blank[10*big]
{\tfb \documentvariable{revnumber}}
\blank
{\tfb \currentdate[month,year]}
\blank[10*big]
{\tfb Written by:}
\blank
{\tfb Company name}
\blank
{\tfb City, Country}
\stopstandardmakeup
\stopcomponent
end
blank[2*big] \color[Modu_Blue]{\midaligned{\tfb \MySubtitleOne}} \blank[2*big] \color[Modu_Blue]{\midaligned{\tfb \MySubtitleTwo}} \blank[10*big] \color[Modu_Blue]{\midaligned{\tfb \MyRevnumber}} \blank \midaligned{\color[Modu_Blue]{\tfb \currentdate[month,year]}} \b
Title}}
\blank[2*big]
\color[Modu_Blue]{\midaligned{\tfb \MySubtitleOne}}
\blank[2*big]
\color[Modu_Blue]{\midaligned{\tfb \MySubtitleTwo}}
\blank[10*big]
\color[Modu_Blue]{\midaligned{\tfb \MyRevnumber}}
\blank
\midaligned{\color[Modu_Blue]{\tfb \currentdate[month,year]}}
\blank[1
\MySubtitleTwo}} \blank[10*big] \color[Modu_Blue]{\midaligned{\tfb \MyRevnumber}} \blank \midaligned{\color[Modu_Blue]{\tfb \currentdate[month,year]}} \blank[10*big] \midaligned{\color[Modu_Blue]{\tfb Written by:}} \blank \midaligned{\color[Modu_Blue]{\tfb Company name
\\currentdate
Neat solution, worked without a hitch. Now I have to remember this for future
use ...
dr. Hans van der Meer
> On 24 Jun 2020, at 21:10, Hans Hagen wrote:
>
> On 6/24/2020 9:00 PM, Hans van der Meer wrote:
>> How can the crash in the minimal example here be ex
On 6/24/2020 9:00 PM, Hans van der Meer wrote:
How can the crash in the minimal example here be explained? And is there
a solution to avoid this and make the crash going away "without having
to jump through special hoops"?
because \currentdate is a macro thatv does some magic ... it
3 %D version=2012.06.01,
4 %D title=\CONTEXT\ Miscellaneous Macros,
5 %D subtitle=Startup Stub,
6 %D author=Hans Hagen,
7 %D date=\currentdate,
8 >> %D copyright={PRAGMA ADE \& \CONTEXT\ Development Team}]
9
rt expect a number between 1 and 7 and
> result in a label for the requested day of the week but it's not meant
> to be used in \currentdate.
>
> > Still using luatex and not luametatex.
>
> To get the short names with \currentdate you have to append ":mnem" to
&g
t expect a number between 1 and 7 and
result in a label for the requested day of the week but it's not meant
to be used in \currentdate.
Still using luatex and not luametatex.
To get the short names with \currentdate you have to append ":mnem" to
the weekday, w, WEEKDAY or
align=middle,
frame=off]
{\tfx \crlf Annex T.2.3. \crlf \tfx Date of issue: \crlf \currentdate
\crlf page \pagenumber of \lastpage}
}
}]
%\setupfloat[table][default={force,split}]
\setupxtable[offset=0cm,
frame=off,
bottomframe=on,
framecolor=gray,
option=stretch,
split=yes,
header=repeat,
f Bahr,
date=\currentdate]
\starttext
\getvariable{metadata}{author}\par
\getvariable{metadata}{date}
\stoptext
The main point of the command is that you can choose whatever name you
want for the keys to store the values.
Instead a using a list of values to store in a key-value-method you can
a
, Main Street\\23124 London\\United Kingdom},
fromname={Jansen NV},
fromaddress={Waalhaven 2200\\2842 KL Rotterdam},
name={Piet jansen},
phone={+31(010)4234 4232},
email={peter.jan...@gmail.com},
date={\currentdate},
signature={Pete},]
% END LETTER SETUP, START LETTER
)4234 4232},
email={peter.jan...@gmail.com},
date={\currentdate},
signature={\externalfigure[autograph][height=4\lineheight]\\\correspondenceparameter{name}},]
% END LETTER SETUP, START LETTER
\startletter
[subject={Outstanding Invoices},
opening={Dear Sir,},
closing={Kind Regards
On 3/6/19 10:34 PM, Wolfgang Schuster wrote:
> Pablo Rodriguez schrieb am 05.03.19 um 17:44:
>> [...]
>> \attachment
>> [http://pragma-ade.com/general/manuals/xtables-mkiv.pdf]
>> [author={Attached on \currentdate},
>> title={Att
Pablo Rodriguez schrieb am 05.03.19 um 17:44:
Dear list,
I have the following sample:
\setupinteraction[state=start]
\starttext
\startTEXpage[offset=1em]
Attached on \currentdate.
\attachment
[http://pragma-ade.com/general/manuals/xtables-mkiv.pdf
.
\stopattachment
Attached on \currentdate.
\stopTEXpage
\stoptext
I have a question: shouldn’t be “Attached file.” typeset on the main text?
No because
\startattachment
...
\stopattachment
is the same as
\startbuffer[...]
...
\stopbuffer
\attachment[buffer=...]
where you combine the buffer
Dear list,
I have the following sample:
\setupinteraction[state=start]
\starttext
\startTEXpage[offset=1em]
\startattachment
[http://pragma-ade.com/general/manuals/xtables-mkiv.pdf]
Attached file.
\stopattachment
Attached on \currentdate.
\stopTEXpage
Dear list,
I have the following sample:
\setupinteraction[state=start]
\starttext
\startTEXpage[offset=1em]
Attached on \currentdate.
\attachment
[http://pragma-ade.com/general/manuals/xtables-mkiv.pdf]
[author={Attached on \currentdate},
title
The following example
\mainlanguage[nl]
\starttext
\currentdate
\stoptext
gives 2019 maart 27.
Best regards: OK
___
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : nt
wrong date:
\mainlanguage[fr]
\starttext
\currentdate
\stoptext
gives 27 mars 2019 (with two months in advance… :-)
\mainlanguage[en]
or any other language, gives the same error (March 27, 2019).
Best regards: OK
> On 27 Jan 2019, at 13:17, Fabrice Couvreur
> wrote:
>
>
\leftmarginwidth
\setupalign[flushright]
\bf abc}
\stoptext
Wolfgang
Hans van der Meer schrieb am 07.09.18 um 13:02:
This minimal example:
\starttext
\currentdate-\currenttime\quad\ConTeXt-version=\contextversion\blank
Testing \ConTeXt macro\ \tex{inmargin}
\blank
Some text to fill the body of the
This minimal example:
\starttext
\currentdate-\currenttime\quad\ConTeXt-version=\contextversion\blank
Testing \ConTeXt macro\ \tex{inmargin}
\blank
Some text to fill the body of the text.\par
\inmargin{\hbox{abc}}
Some text to fill the body of the text\par
\stoptext
produces an underfull hbox
On 14.08.2018 16:58, Pablo Rodriguez wrote:
> I rewrote your sample as (xtables are the only tables I know in ConTeXt):
>
> \starttext
> \startlua
> context.startxtable()
> context.startxrow()
> context.startxcell()
> context("Note 1")
> context.stop
On 08/14/2018 09:24 AM, Henri Menke wrote:
> On 14/08/18 17:29, Pablo Rodriguez wrote:
>> [...]
>> Where are those context.* Lua commands documented?
>>
>> I want to generate an xtable using Lua code, but I don’t know where to read.
>
> They aren't documented because they are just the context comm
On 14/08/18 17:29, Pablo Rodriguez wrote:
On 08/14/2018 01:46 AM, Henri Menke wrote:
On top of that I recommend to use context.date to get the correct
formatting according to the current language options:
\def\duedate{\ctxlua{
local t = os.date('*t', os.time()+ 10 * 24 * 3600)
context
On 08/14/2018 01:46 AM, Henri Menke wrote:
> On top of that I recommend to use context.date to get the correct
> formatting according to the current language options:
>
> \def\duedate{\ctxlua{
>local t = os.date('*t', os.time()+ 10 * 24 * 3600)
>context.date{ d = t.day, m = t.month, y = t
On top of that I recommend to use context.date to get the correct
formatting according to the current language options:
\starttext
\def\duedate{\ctxlua{
local t = os.date('*t', os.time()+ 10 * 24 * 3600)
context.date{ d = t.day, m = t.month, y = t.year }
}}
\duedate
\stoptext
On 14/08/18
On 13.08.2018 17:57, Pablo Rodriguez wrote:
> if you don’t mind using Lua, here you have it:
>
> \starttext
> \def\duedate{\cldcontext{os.date('\letterpercent d/\letterpercent
> m/\letterpercent Y', os.time()+ 10 * 24 * 3600)}}
>
> \duedate
> \stoptext
>
> Just in case i
On 08/13/2018 05:19 PM, Jan U. Hasecke wrote:
> Hi all,
>
> I want to insert a due date for payments in my invoice and I would like
> to calculate it from \currentdate. Something like
>
> define \duedate = \currentdate plus 10 days
>
> Is this possible?
Hi Jan-Ulrich,
Hi all,
I want to insert a due date for payments in my invoice and I would like
to calculate it from \currentdate. Something like
define \duedate = \currentdate plus 10 days
Is this possible?
juh
___
If your
e={Joe User},
date=\currentdate]
\setupletter
[list={name,date}]
```
Only the date is shown in the reference line.
The solution from chapter 9 also does not work. Still only the date is
shown.
```
\setupletter
[name={Joe User},
date=\currentdate]
\setupletterstyle[reference][list
: 2017.05.15 21:48
```
The example from Wolfgang’s `correspondence.pdf` [1] doesn’t work for me.
```
\setupletter
[name={Joe User},
date=\currentdate]
\setupletter
[list={name,date}]
```
Only the date is shown in the reference line.
The solution from chapter 9 also does not work. Still
:*}
\stopxmlsetups
\xmlregisterdocumentsetup{demo}{demo:entity}
\startxmlsetups demo:entity:root
\blank Start test:\crlf
flushing: \xmlflush{#1}\crlf
End test\blank
\stopxmlsetups
\startbuffer[demo]
amp = & and #38 = &
\stopbuffer
\starttext
\currentdate-\currenttime\quad\ConTeXt
lace the absolute path by your own, of course. Three
>>> cases are programmed:
>>> (1) Wolfgang’s
>>> (2) full path ftp:// access opens file but at last page opened
>>> (3) local path does not open and brings up an Alert
>>> Run from TeXShop and also direc
>> (3) local path does not open and brings up an Alert
>> Run from TeXShop and also directly in Preview and Adobe Reader with the same
>> results.
>>
>> Thanks in advance.
>>
>> dr. Hans van der Meer
>>
>>
>> \starttext
>> \c
1 - 100 of 432 matches
Mail list logo