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
[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[
}}
\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[10*big
\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 he
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's
subtitle=Startup Stub,
6 %D author=Hans Hagen,
7 %D date=\currentdate,
8 >> %D copyright={PRAGMA ADE \& \CONTEXT\ Development Team}]
9 %C
10 %C This module is part of the \CONTEXT\ macro||package and is
11 %C therefore copyrigh
short 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
> th
ort 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 W ke
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,
r,
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
also p
, 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
a 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
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")
>
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
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)
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 =
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
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
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-version
ath 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
>>&g
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 directly in Preview and Adobe Reader with the same
>> results.
>>
>> Thanks in advance.
>>
>> dr. Hans van der Meer
>&
roduces the same End test\blank\stopxmlsetups\startbuffer[demo]\stopbuffer\starttext\currentdate-\currenttime\quad\ConTeXt-version=\contextversion\blank{\bf Testing use of character entities}\blankThese should produce the same result: \type{} and \type{}\blank\xmlprocessbuffer{demo}{demo}{}\blank\stopt
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
> \currentdate-\currenttime\quad\ConTeXt-version=\contextversion\blank
&g
view and Adobe Reader with the same
> results.
>
> Thanks in advance.
>
> dr. Hans van der Meer
>
>
> \starttext
> \currentdate-\currenttime\quad\ConTeXt-version=\contextversion\blank
> Testing directly from \ConTeXt:\blank
> \setupinteraction[state=start,color=b
file but at last page opened
(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
\currentdate-\currenttime\quad\ConTeXt-version=\contextversion\blank
Testing
r=red]
>
> \color[red]{\basegrid}
>
> \stoptext
> %D \module
%D [ file=meta-grd,
%Dversion=2012.06.28,
%D title=\METAPOST\ Graphics,
%D subtitle=grids,
%D author=Hans Hagen,
%D date=\currentdate,
%D copyright={PRAGMA ADE \&am
author=Aditya Mahajan,
%D date=\currentdate,
%Dcopyright=Aditya Mahajan,
%Demail=adityam ieee org,
%D license=Simplified BSD License]
\writestatus{loading}{Simple matrix (ver: 2014.02.18)}
\startmodule[simplematrix]
\unprotect
\definenamespace
[simplematrix]
[ \c
\module
%D [ file=type-imp-mscore,
%Dversion=2007.07.30,
%D title=\CONTEXT\ Typescript Macros,
%D subtitle=Microsoft Core Fonts,
%D author=Hans Hagen,
%D date=\currentdate,
%D copyright={PRAGMA ADE \& \CONTEXT\ Development Team}]
%C
%C This mo
blank line between paragraphs
>>
>> \version[temporary]% show overful hboxes
>>
>> \startcolumns[n=4, distance=3em]
>> (English hyphenation)
>>
>> Önundur hét maður. Hann var Ófeigsson burlufóts Ívarssonar beytils.
>> Önundur var bróðir Guðbjar
að móðurætt en föðurkyn
hans var mest um Rogaland og Hörðaland.
\currentdate
\column
\language[is] % or [icelandic]
(Icelandic hyphenation)
Önundur hét maður. Hann var Ófeigsson burlufóts Ívarssonar beytils.
Önundur var bróðir Guðbjargar, móður Guðbrands kúlu, föður Ástu, móður
Ólafs
ur var
bróðir Guðbjargar, móður Guðbrands kúlu, föður Ástu, móður Ólafs konungs hins
helga. Önundur var upplenskur að móðurætt en föðurkyn hans var mest um Rogaland
og Hörðaland.
\currentdate
\column
\language[is] % or [icelandic]
(Icelandic hyphenation)
Önundur hét maður. Hann var Ófe
eight=0.6mm,width=0.83\textwidth]
% Dateline...
{\bf Présentation}\crlf
\currentdate[dd,{~},m,{~},year]
% Headline...
\blank
\framed[align=middle,width=200mm,height=13mm,frame=off]
{
\bf \switchtobodyfont[15pt]
{\bf Philosophie politique.}
}
\startTwoColumns
\startlines
{\bf Contact Inform
Is there a trick to get over this issue? Until a conversion mechanism like
what you suggested (\currentdate[persian->day,space,month,persian->month])
is implemented, can I somehow achieve a similar result, perhaps in a not so
clean way?
Can one reduce the result of \currentdate to a
Mohammad Hossein Bateni <mailto:bat...@gmail.com>
7. Juli 2016 um 16:31
Thanks, Wolfgang!
BTW why doesn't the following work? it gives the 'missing number' error.
% \mainlanguage[en]
\romannumerals{\currentdate[day]}
1. The \currentdate command isn’t expandable and is therefore not
ex
Thanks, Wolfgang!
BTW why doesn't the following work? it gives the 'missing number' error.
% \mainlanguage[en]
\romannumerals{\currentdate[day]}
On Thu, Jul 7, 2016 at 10:02 AM, Wolfgang Schuster <
schuster.wolfg...@gmail.com> wrote:
> Mohammad Hossein Bateni <bat...@gmail.com>
e day (see below, I used greek to
demonstrate it) but it could be done better (e.g.
\currentdate[persian->day,space,month,persian->month] with "->" as
separator for the conversion and keyword).
%% begin example
\installlanguage[fa][state=start]
\defineconversion[fa]
al-sizes-ws.pdf
Description: Adobe PDF document
%D \module
%D [ file=type-imp-ebgaramond,
%Dversion=2016.05.02,
%D title=\CONTEXT\ Typescript Macros,
%D subtitle=Garamond Premier Pro,
%D author=MF,
%D date=\currentdate,
%D copyright={PRAGMA ADE
rstadt},
signature={Jan Ulrich Hasecke},
date=\currentdate,
kd={077},
id={2016002}]
\starttext
\startletter
[opening={Sehr geehrte Damen und Herren},
closing={Mit freundlichen Grüßen},
subject={Imagebroschüre Mustermann GmbH}]
Hiermit berechne ich Ihnen 100 € für Leistungen.
\
b,
6 %D author=Hans Hagen,
7 %D date=\currentdate,
8 >> %D copyright={PRAGMA ADE \& \CONTEXT\ Development Team}]
9 %C
10 %C This module is part of the \CONTEXT\ macro||package and is
11 %C therefore copyrighted by \PRAGMA. See mreadme.pd
hoose between a ordinal in
text size and raised small size.
\starttext
\currentdate[day:ord]
\currentdate[day:highord]
\stoptext
Wolfgang
___
If your question is of interest to others as well, please add an ent
| www.pragma-pod.nl
-
%D \module
%D [ file=m-newotf,
%Dversion=2015.07.08,
%D title=\CONTEXT\ Extra Modules,
%D subtitle=Experimental OTF Loader,
%D author=Hans Hagen,
%D date=\currentdate,
%D
}{xml:*}
\stopxmlsetups
\xmlregistersetup{xml:initialize}
\startxmlsetups xml:doc
\mainlanguage[\xmlatt{#1}{lang}]
\title{\currentdate} % to display language
\xmlflush{#1}
\stopxmlsetups
\startxmlsetups xml:h1
\section{\xmlflush{#1
Hans,
this sample:
\showgrid
\setupbodyfont[30pt]
\starttext
{\tfa\setupinterlinespace \ConTeXt\par}\\
{\tfxx\setupinterlinespace Author\par}\\
{\tfxx\setupinterlinespace\currentdate\par}\\
{\tf\setupinterlinespace url\par}
\stoptext
With either latest beta
On 4/16/2015 6:50 PM, Pablo Rodriguez wrote:
Hans,
this sample:
\showgrid
\setupbodyfont[30pt]
\starttext
{\tfa\setupinterlinespace \ConTeXt\par}\\
{\tfxx\setupinterlinespace Author\par}\\
{\tfxx\setupinterlinespace\currentdate\par}\\
{\tf\setupinterlinespace
\par
\strut x\par}\blank
\ruledvbox{x\tfxx\setupinterlinespace \strut Author \par
\strut x\par}\blank
\ruledvbox{x\tfxx\setupinterlinespace \strut \currentdate \par
\strut x\par}\blank
\ruledvbox{x\tf \setupinterlinespace \strut url \par
\strut x\par}\blank
\tfxx\setupinterlinespace \strut Author \par
\strut x\par}\blank
\ruledvbox{x\tfxx\setupinterlinespace \strut \currentdate \par
\strut x\par}\blank
\ruledvbox{x\tf \setupinterlinespace \strut url \par
\strut x\par}\blank
\stopbuffer
\startbuffer[b
=Ben Lee User,
title=How to write a \tex{placetitle} command,
date=\currentdate\space\currenttime]
\dorecurse{6}
{\startparagraph
\input tufte\par
\stopparagraph}
\stoptext
When you want to use your module instead of the third party module rename
it from t-title.tex to p
this?
Thanks,
Aditya
test.pdf
Description: Adobe PDF document
%D \module
%D [ file=t-overviewpage,
%D version=2013.08.31,
%Dtitle=\CONTEXT\ User Module,
%D subtitle=Page Overviews,
%D author=Aditya Mahajan and Hans Hagen,
%D date=\currentdate,
%Dcopyright=Aditya
\itc The Book on \ConTeXt
\medskip
\tfa\setupinterlinespace[2.6ex] {\sc The Author}
\par
\currentdate
\stoptext
Beta from 2014.11.26 21:43 compiles it without problems.
Is this a bug or am I missing something?
Many thanks for your help,
Pablo
--
http://www.ousia.tk
]
\def\ConTeXt{Con\-\TeX{}t}
\starttext
\itc The Book on \ConTeXt
\medskip
\tfa\setupinterlinespace[2.6ex] {\sc The Author}
\par
\currentdate
\stoptext
Beta from 2014.11.26 21:43 compiles it without problems.
Is this a bug or am I missing something?
It's a bug
Gyre Pagella]
\setupbodyfont[mainface,15pt]
\def\ConTeXt{Con\-\TeX{}t}
\starttext
\itc The Book on \ConTeXt
\medskip
\tfa\setupinterlinespace[2.6ex] {\sc The Author}
\par
\currentdate
\stoptext
Beta from 2014.11.26 21:43 compiles it without problems
Hi,
Probably this is a minor thing. When processing the following module
template:
%D \module[
%D file=p-Mymod,
%D title=The Mymod Module,
%D author=The Author,
%D date=\currentdate,
%D ]
%M \usemodule[Mymod]
%D Hello
\writestatus{loading}{ConTeXt User Module / Mymod
Am 21.09.2014 um 15:29 schrieb Christoph Reller christoph.rel...@gmail.com:
Hi,
Probably this is a minor thing. When processing the following module template:
%D \module[
%D file=p-Mymod,
%D title=The Mymod Module,
%D author=The Author,
%D date=\currentdate,
%D
):
\setuppapersize[A4]
2 \setuplayout[style=\ss]
3 %\setupfooter[style=]
4 \setuplanguage[nl][date={dd, -, mm, -, year}]
5
6 \setupheadertexts[CV Guus Bonnema]
7 \setupfootertexts[\currentdate][pagenumber]
8
9 %\definebodyfont[10pt][ss][tfe=lbr at 105pt]
10
Line 4 is the relevant
vi (line 4 is the relevant line):
\setuppapersize[A4]
2 \setuplayout[style=\ss]
3 %\setupfooter[style=]
4 \setuplanguage[nl][date={dd, -, mm, -, year}]
\mainlanguage[nl]
Herbert
5
6 \setupheadertexts[CV Guus Bonnema]
7 \setupfootertexts[\currentdate][pagenumber]
8
9
-simplematrix,
%D version=2014.02.18,
%Dtitle=\CONTEXT\ User Module,
%D subtitle=Simple matrix,
%D author=Aditya Mahajan,
%D date=\currentdate,
%Dcopyright=Aditya Mahajan,
%Demail=adityam at ieee dot org,
%D license=Simplified BSD License]
\writestatus{loading
-
%D \modul
%D [ file=x-mathml,
%Dversion=2014.05.18,
%D title=\CONTEXT\ XML Modules,
%D subtitle=\MATHML\ embedded HTML,
%D author=Hans Hagen,
%D date=\currentdate,
%D copyright={PRAGMA ADE \ \CONTEXT
structure.
But … please see below.
Minimal succeeding example:
———
%
\setupbackend[export=export.xml]
\settaggedmetadata[
title={Export Test Solo},
author={Hraban},
version=\currentdate % why that doesn’t work?
]
\starttext
\startchapter[title={Chapter One
Hello,
the current ConTeXt Standalone contains a bug when attempting to output
Czech dates.
Minimal example:
\mainlanguage[cs]
\starttext
\currentdate
\stoptext
Expected output:
13. řijna 2013
Received output:
day, ,month, ,year
The culprit appears to be a missing comma in the language
#\currentdate
#\stoptext
#
#Expected output:
#13. řijna 2013
#
#Received output:
#day, ,month, ,year
#
#The culprit appears to be a missing comma in the language definition in
#lang-def.mkiv:
#
#\installlanguage
# [\s!cs]
# [ % ...
# \c
Hi,
Another new feature (side effect of ctx meeting):
%D \module
%D [ file=demo-symbols.mp,
%Dversion=2013.09.06,
%D title=\CONTEXT\ \METAPOST\ graphics,
%D subtitle=demo font,
%D author=Hans Hagen,
%D date=\currentdate,
%D copyright
%% Capçaleres i peus
%%% Prenc els primers 5 carà cters del sha256 del fitxer (requereix ConTeXt MIV)
\setupfootertexts[\jobname\space(versió \ctxlua{context(os.resultof(sha256sum \jobname.tex | cut -c -5))}, \currentdate)][]
\starttext
\placefigure[here]{Diverses mesures}{
\bTABLE[setups
[logo-cepa-sud.png]][\pagenumber\ de \lastpage]
\setupfootertexts[nomfitxer (versio, \currentdate)][]
%% el text
\starttext
%\title{Títol}
Text
%\startexercici
%\stopexercici
\stoptext
but when I run context I receive:
$ context plantilla-context.conTeXt
mtx-context | run 1: luatex
d'entorn
\environment entorn-simple-estructurals
\environment entorn-simple-visuals
%% Capçaleres i peus
\setupheadertexts[\externalfigure[logo-cepa-sud.png]][\pagenumber\ de
\lastpage]
\setupfootertexts[nomfitxer (versio, \currentdate)][]
%% el text
\starttext
%\title{Títol}
Text
...@gmail.com wrote:
I am experimenting with the \currentdate command. I am finding that
\currentdate [weekday,{,~},month,day+,{,~},year]
which should work according to the Wiki, produces:
Thursday, Augustday+, 2013
It’s recommended to use “day:ord” with \currentdate but you also use
Am 09.08.2013 um 05:43 schrieb Matt Gushee m...@gushee.net:
Hello, all--
I am experimenting with the \currentdate command. I am finding that
\currentdate [weekday,{,~},month,day+,{,~},year]
which should work according to the Wiki, produces:
Thursday, Augustday+, 2013
Hi, Wolfgang--
On Fri, Aug 9, 2013 at 6:58 AM, Wolfgang Schuster
schuster.wolfg...@gmail.com wrote:
I am experimenting with the \currentdate command. I am finding that
\currentdate [weekday,{,~},month,day+,{,~},year]
which should work according to the Wiki, produces:
Thursday, Augustday
Hello, all--
I am experimenting with the \currentdate command. I am finding that
\currentdate [weekday,{,~},month,day+,{,~},year]
which should work according to the Wiki, produces:
Thursday, Augustday+, 2013
This command:
\currentdate [weekday,{,~},month,day,{,~},year]
works
-justified
text):
\setupletterlayer[reference][alternative=e]
This should be alternative c and not e.
\usemodule[letter]
\setupletterlayer[reference][alternative=c]
%\setupletterlayer[reference][alternative=c,list=reference] % default: list=date
%\setupletter[reference=\currentdate
and not e.
\usemodule[letter]
\setupletterlayer[reference][alternative=c]
%\setupletterlayer[reference][alternative=c,list=reference] % default:
list=date
%\setupletter[reference=\currentdate]
\setupletteroptions[indenting={yes,medium,next}]
\startletter
\input knuth
\stopletter
-justify the date.
When you want only the date in the reference line without the label use
alternative “e” (you don’t even have to clear the label because it isn’t used).
\setupletterlayer[reference][alternative=e]
\setupletter[reference=\currentdate]
to control the foldmarks (for US-letter-size
-justify the date.
When you want only the date in the reference line without the label use
alternative “e” (you don’t even have to clear the label because it isn’t
used).
\setupletterlayer[reference][alternative=e]
\setupletter[reference=\currentdate]
1. to control the foldmarks (for US
supervisors \eTD
\bTD[align=middle] \eTD
\eTR
\bTR
\bTD revision date \eTD
\bTD[align=middle] \currentdate[weekday,month,day,{, },year] \eTD
\eTR
\bTR
\bTD author e-mail \eTD
\bTD[align=middle] \eTD
\eTR
\bTR
\bTD further info
version=2013.06.22,
%D title=\CONTEXT\ Typescript Macros,
%D subtitle=EB Garamond,
%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
I use a simplebib module:
\usemodule[simplebib]
\setuphead[title][style={\ss\bfd},
before={\begingroup},
after={\currentdate\bigskip\endgroup}]
\starttext
\title{Normativa}
\section{Calendari}
\startitemize
\item Primera setmana de setembre, matriculació d'antic alumnat d'un
CEPA \bibitem
Am 09.06.2013 um 18:59 schrieb Xan dxpubl...@telefonica.net:
I use a simplebib module:
\usemodule[simplebib]
\setuphead[title][style={\ss\bfd},
before={\begingroup},
after={\currentdate\bigskip\endgroup}]
\starttext
\title{Normativa}
\section{Calendari}
\startitemize
\item
Al 09/06/13 19:12, En/na Wolfgang Schuster ha escrit:
Am 09.06.2013 um 18:59 schrieb Xan dxpubl...@telefonica.net:
I use a simplebib module:
\usemodule[simplebib]
\setuphead[title][style={\ss\bfd},
before={\begingroup},
after={\currentdate\bigskip\endgroup}]
\starttext
\title{Normativa
and the header of s-cor-01.mkvi states version
2013.01.14.
Cheers,
Florian
8---
\usemodule[letter]
\setupletter
[name=Willi Maier,
phone=01234-56789,
fax=3456-9853,
date=\currentdate]
\setupletter
[fromname={Max Mustermann
and the header of s-cor-01.mkvi states version
2013.01.14.
Cheers,
Florian
8---
\usemodule[letter]
\setupletter
[name=Willi Maier,
phone=01234-56789,
fax=3456-9853,
date=\currentdate]
\setupletter
[fromname={Max
subtitle=Opendyslexic Fonts,
%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 for
%C details
date=\currentdate,
%D copyright=Philipp Gesang]
%M Announcement:
%M http://blogs.adobe.com/typblography/2013/03/introducing-adobe-blank.html
%M
%M Files in the orginal distribution:
%M· AdobeBlank.otf
%M Available Opentype features: none
\starttypescriptcollection[adobeblank
commands with optional argument aren’t expandable and \date *has* two
optional argument.
To get now the date in the output you can either use the expandable
\rawdate[] command (the brackets are necessary) or you use
\ctxcommand{currentdate(specification,language)} (language can also
1 - 100 of 352 matches
Mail list logo