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
because when I run this example
\starttext
\rawdate[]
\stoptext
I get “march unknown, 2013” as output.
When I use now (instead of \currentlanguage you can also use a language tag,
e.g. nl)
\starttext
\ctxcommand{currentdate(month, ,day, , year,\currentlanguage)}
\stoptext
I get
I see. But this is not working too. Following your suggestion I now get:
\edef\thisdate{\ctxcommand{currentdate(month, ,day, ,
year,\currentlanguage)}}\writestatus{***}{\meaning\thisdate}
*** macro:-\labeltext {march} 20 2013
The problem is essentially the same.
I am most unhappy
Am 20.03.2013 um 15:29 schrieb Meer H. van der h.vanderm...@uva.nl:
I see. But this is not working too. Following your suggestion I now get:
\edef\thisdate{\ctxcommand{currentdate(month, ,day, ,
year,\currentlanguage)}}\writestatus{***}{\meaning\thisdate}
*** macro:-\labeltext
changing the definition of \month and
reverts to the exact result as given by plain TeX, i.e. a number in the range
[1-12]. Because the change in ConTeXt makes it impossible to do calculations on
the month.
Furthermore I encountered problems with defining expanded macros for
currentdate
calculations on the month.
Furthermore I encountered problems with defining expanded macros for
currentdate and currenttime. This seems impossible to accomplish, at least in
a simple manner. See the results from these to examples:
\edef\thedate{\currentdate}\writestatus{}{\meaning\thedate
.
This is what I've tried, but it is always the currentdate, that is
displayes.
You are trying to use the date before it is defined. You can use a
two-pass mechanism:
\define\mydate{\datasetvariable{mydata}{date}{date}}
Thank you Marco, this works.
Is it possible to update fields in the datasetvariables
][info][date=\currentdate]
\setdataset[data][info][subject={subject}]
\setdataset[data][dateinfo] [date=\currentdate]
\setdataset[data][subjectinfo][subject={subject}]
Marco
signature.asc
Description: Digital signature
=\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.pdf for
\ctxcommand #1-\directlua {commands.#1
.
This is what I've tried, but it is always the currentdate, that is
displayes.
Environment file:
\def\mydate{}
\definelayer[firstpage] % name of the layer
[x=0mm, y=0mm, % from upper left corner of paper
width=\paperwidth, height=\paperheight] % let the layer cover the
full paper
the currentdate, that is
displayes.
You are trying to use the date before it is defined. You can use a
two-pass mechanism:
\define\mydate{\datasetvariable{mydata}{date}{date}}
\definelayer
[firstpage]
\setlayer
[firstpage]
[hoffset=14cm, voffset=3.5cm]
{\framed[frame=on, width=4cm, height=2cm
Schuster,
%D date=\currentdate,
%Dcopyright=Wolfgang Schuster,
%D license=GNU General Public License]
Wolfgang
___
If your question is of interest to others as well, please add an entry to the
Wiki
: LuaTeX error ...
6 %D author=Hans Hagen,
7 %D date=\currentdate,
8 %D copyright={PRAGMA / Hans Hagen \ Ton Otten}]
9 %C
10 %C This module is part of the \CONTEXT\ macro||package and is
11 %C therefore copyrighted by \PRAGMA. See mreadme.pdf for
12
Hagen,
%D date=\currentdate,
%D copyright={PRAGMA ADE \ \CONTEXT\ Development Team}]
\input plain
\directlua {tex.enableprimitives('', tex.extraprimitives())}
\pdfoutput=1
\everyjob \expandafter {%
\the\everyjob
\input {luatex-basics}%
\input {luatex-fonts}%
\input
\ 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 %C
10 %C This module is part of the \CONTEXT\ macro||package and is
11 %C therefore
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.pdf for
inserted text ...obname .tuc,\jobname .tua
-mail,
Web=Yourwebsite]
% Setup your personal footer
\setvariables
[PocketDiaryFooter]
[Lefttext=PocketDiary,
Centertext=\pagenumber,
Righttext={\getvariable{PocketDiaryAddress}{Forename},{\currentdate[year]}}]
% Setup your favorite colors
\setvariables
-yes,
3 %Dversion=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 %C
10 %C
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 copyrighted by \PRAGMA. See
...
1 %D \module
2 %D [ file=cont-yes,
3 %Dversion=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
title=\CONTEXT\ User Module,
%D subtitle=Knuth letter style,
%D author=Wolfgang Schuster,
%D date=\currentdate,
%Dcopyright=Wolfgang Schuster,
%D license=GNU General Public License]
[…]
I guess the date is used
%D [ file=letter-imp-knuth,
%D version=2012.12.26,
%Dtitle=\CONTEXT\ User Module,
%D subtitle=Knuth letter style,
%D author=Wolfgang Schuster,
%D date=\currentdate,
%Dcopyright=Wolfgang Schuster,
%D
]
\usemodule[letter]
\setupletter
[ toname={Max Musterman}
, toaddress={Musterstraße 10}
, fromname={Me}
, fromaddress={Muster Weg 10}
, phone={0123-45678}
, mobile={0175-31689}
, date=\currentdate
, list={phone,mobile,date}
, subject={This is a minimal
}
, mobile={0175-31689}
, date=\currentdate
, list={phone,mobile,date}
, subject={This is a minimal example with missing reference list}
, opening={Sehr geehrter Mustermann,}
, closing={Mit freundlichen Grüßen,}
, signature={Me}
]
Note that ConTeXt has a very strict
}
, fromname={Me}
, fromaddress={Muster Weg 10}
, phone={0123-45678}
, mobile={0175-31689}
, date=\currentdate
, list={phone,mobile,date}
, subject={This is a minimal example with missing reference list}
, opening={Sehr geehrter Mustermann,}
, closing={Mit freundlichen
[ toname={Max Musterman}
, toaddress={Musterstraße 10}
, fromname={Me}
, fromaddress={Muster Weg 10}
, phone={0123-45678}
, mobile={0175-31689}
, date=\currentdate
, list={phone,mobile,date}
, subject={This is a minimal example with missing reference list
minimal example
-- 8 -- min-ex.tex
\enableregime[utf]
\mainlanguage[de]
\usemodule[letter]
\setupletter
[ toname={Max Musterman}
, toaddress={Musterstraße 10}
, fromname={Me}
, fromaddress={Muster Weg 10}
, phone={0123-45678}
, mobile={0175-31689}
, date=\currentdate
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 copyrighted by \PRAGMA. See mreadme.pdf
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 %C
10 %C This module is part of the \CONTEXT\ macro
=2012.06.06,
% title=\CONTEXT\ Style File,
% subtitle=\MAPS\ journal style,
% author={Hans Hagen, Taco Hoekwater and Siep Kroonenberg},
% date=\currentdate,
% copyright={NTG / MAPS}%
%]
% NOTE: this (MkII) version is not guaranteed to give exactly the
% same output as the MkIV one, and exists
scanning use of \buff_gobble ...
1 %D \module
2 %D [ file=cont-yes,
3 %Dversion=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
sequence ...
1 %D \module
2 %D [ file=cont-yes,
3 %Dversion=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
]
l.358 \setupfootnotedefinition
The style file is marked:
%\module [
% file=s-map-se,
% version=2005.02.03,
% title=\CONTEXT\ Style File,
% subtitle=\MAPS\ basis stijl,
% author={Hans Hagen, Taco Hoekwater and Siep Kroonenberg},
% date=\currentdate,
% copyright={NTG / MAPS
filename is mainly used for
command line parameters, etc.
\jobname or \inputfilename (\jobname is the name without suffix)
I know the \currentdate will give the current system date part that I can use,
but
is there any \filename type command for the master filename, so that a document
i.d. could
, etc.
I know the \currentdate will give the current system date part that I can use,
but
is there any \filename type command for the master filename, so that a document
i.d. could be generated automatically.
e.g. \filename\currentdate
Regards
it by searching the wiki for
filename and document it, or rather too much since filename is mainly used
for command line parameters, etc.
I know the \currentdate will give the current system date part that I can
use, but
is there any \filename type command for the master filename, so
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 The fonts can be downloaded from the (nice looking) page:
%D
%D \starttyping
%D
=\currentdate,
% copyright={NTG / MAPS}%
%]
Some change in the style file needed?
Hans van der Meer
___
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : ntg-context
SimpleSlides},
author={A.U. Thor},
date={\currentdate}]
\starttext
\placeTitle
%\stoptext % the title page is typeset correctly
\SlideTitle{First slide}
This module is written by Thomas and Aditya.
\stoptext
end talk-test.tex
The first page (the title page) is typeset correctly
=\currentdate,
%D copyright={Aditya Mahajan and Thomas A. Schmitz}]
%C
%C Copyright 2007 Aditya Mahajan and Thomas A. Schmitz
%C This file may be distributed under the GNU General Public License v. 2.0.
\writestatus{simpleslides}{loading default style setup}
\startmodule[simpleslides-s-default
Hi Hans,
a day is prefixed to every day-number.
\starttext
\date[d=29,m=12,y=2011] \currentdate
\stoptext
outputs
December day29, 2011 December day30, 2011
Regards
Andreas
___
If your question
On 30-12-2011 19:58, Andreas Harder wrote:
\starttext
\date[d=29,m=12,y=2011] \currentdate
\stoptext
in core-con.mkiv:
\letvalue{\??conversionarguments3}\system_checked_conversion
.
Thanks!
Thomas
\setuppapersize[A4,A4]
\enableregime[utf]
\mainlanguage[de]
\setupcolors[state=start]
\usemodule[cor-01] % will change
%\setupletteroptions
% [bodyfont=calluna]
\setupletter
[phone=0123/456789,
email=max.mus...@mail.me,
room=414,
date=\currentdate]
\setupletterstyle
for the new beta.
I wanted just to report that \currentdate has still a bug in French: in French
it gives
day+ octobre 2011
Minimal example follows.
Best regards: OK
\starttext
English: \currentdate
French: \mainlanguage[fr]
\currentdate
\stoptext
[ file=t-vim,
%D version=2011.09.03,
%Dtitle=\CONTEXT\ User Module,
%D subtitle=Vim syntax highlighting,
%D author=Aditya Mahajan,
%D date=\currentdate,
%Dcopyright=Aditya Mahajan,
%Demail=adityam at ieee dot org,
%D license=Simplified BSD License
On Thu, Sep 29, 2011 at 01:06, Wolfgang Schuster wrote:
Am 28.09.2011 um 23:58 schrieb Mojca Miklavec:
Hello,
MKII contains a macro \enordinaldaynumber which I don't find in MKIV.
My main question: how can I setup the date to display 23\high{rd}
Sep, 2011?
\starttext
\currentdate[day
\high{rd}
Sep, 2011?
\starttext
\currentdate[day+,space,month,space,year]
Interesting, thank you. I was looking at exactly the right page, but
overlooked the +. And how do you print Sep, sep and SEP? Wiki
reference for \date lists
\date[d=25,m=4,y=2008][day,~,{\monthshort\normalmonth
Am 28.09.2011 um 23:58 schrieb Mojca Miklavec:
Hello,
MKII contains a macro \enordinaldaynumber which I don't find in MKIV.
My main question: how can I setup the date to display 23\high{rd}
Sep, 2011?
\starttext
\currentdate[day+,space,month,space,year]
\startlines
\language[en
]\getvariable{exam}{title}}
\blank
\getvariable{exam}{course}
\stopframedtext
\blank[big]
\startcolor[colortwo]
\doifelsevariable{exam}{date}{\expanded{\date[\getvariable{exam}{date}]}}{\currentdate}
\hfill
Start: \getvariable{exam}{start
,currentlanguage))
end
end
end
I checked my core-con.lua file and there is not the context(%s, ...)
command in the currentdate function.
Am I missing something ?
--
Romain Diss
romain.d...@yahoo.fr
signature.asc
Description: This is a digitally signed message part
Am 13.06.2011 um 10:59 schrieb Verhaag, G.C.H.M.:
Hi,
I was wondering whether it is possible to automatically typeset ONLY the
current year using the \date command?
From the reference manual I don't think it is possible! Maybe another trick
is available!
\starttext
\currentdate[year
trick is
available!
\starttext
\currentdate[year]
\stoptext
Wolfgang
...
Hi,
Thank you very much!
Regards,
Gerard
___
If your question is of interest to others as well, please add an entry to the
Wiki
-
%D \module
%D [ file=page-run,
%Dversion=2000.10.20,
%D title=\CONTEXT\ Page Macros,
%D subtitle=Runtime Macros,
%D author=Hans Hagen,
%D date=\currentdate,
%D copyright={PRAGMA / Hans Hagen \ Ton Otten}]
%C
%C
[nl]
\setuplayout
[header=0cm,
topspace=.2cm,
backspace=.2cm,
margin=0cm,
width=fit,
footer=1cm,
rightedge=3cm,
bottomdistance=5pt,
bottom=20pt,
height=fit]
\showframe
\definecolor [MyColor] [darkgreen]
\setupfootertexts
[chapter][{\currentdate[month,year
]
\setuplayout
[header=0pt,footer=1cm,backspace=1cm,topspace=1cm,width=middle,height=middle]
\setupfootertexts
[presentation---\currentdate\space---\space\pagenumber]
\starttext
\combinepages[slides][nx=2,ny=3,frame=on]
% or
% \combinepages[slides.pdf][nx=2,ny=3,frame=on]
\stoptext
that independently
,topspace=1cm,width=middle,height=middle]
\setupfootertexts
[presentation---\currentdate\space---\space\pagenumber]
\starttext
\combinepages[slides][nx=2,ny=3,frame=on]
% or
% \combinepages[slides.pdf][nx=2,ny=3,frame=on]
\stoptext
that independently of the SimpleSlides module one can combine any
\setuppapersize
[A4][A4] % or [A4,landscape][A4,landscape]
\setuplayout
[header=0pt,footer=1cm,backspace=1cm,topspace=1cm,width=middle,height=middle]
\setupfootertexts
[presentation---\currentdate\space---\space\pagenumber]
\starttext
\combinepages[slides][nx=2,ny=3,frame=on]
\stoptext
context
[presentation---\currentdate\space---\space\pagenumber]
\starttext
\combinepages[slides][nx=2,ny=3,frame=on]
\stoptext
context slides.tex context handout.tex qpdf --linearize handout.pdf
out.pdf
results in:
object stream 21 (object 31 0, file position 1547): unknown token while reading
object
,topspace=1cm,width=middle,height=middle]
\setupfootertexts
[presentation---\currentdate\space---\space\pagenumber]
\starttext
\combinepages[slides][nx=2,ny=3,frame=on]
\stoptext
context slides.tex context handout.tex qpdf --linearize handout.pdf
out.pdf
results in:
object stream 21
,landscape]
\setuplayout
[header=0pt,footer=1cm,backspace=1cm,topspace=1cm,width=middle,height=middle]
\setupfootertexts
[presentation---\currentdate\space---\space\pagenumber]
\starttext
\combinepages[slides][nx=2,ny=3,frame=on]
\stoptext
context slides.tex context handout.tex
]
\setupTitle
[title={Title},
author={Author},
date={\currentdate}]
\starttext
\placeTitle
\SlideTitle{Title2}
content
\SlideTitle{Title3}
content
\stoptext
% handout.tex
\setuppapersize
[A4][A4] % or [A4,landscape][A4,landscape]
\setuplayout
[header=0pt,footer=1cm,backspace=1cm,topspace=1cm
.
It starts with:
%D \module
%D [ file=scrn-fld,
%Dversion=1997.05.18,
%D title=\CONTEXT\ Screen Macros,
%D subtitle=Fields,
%D author=Hans Hagen,
%D date=\currentdate,
%D copyright={PRAGMA / Hans Hagen \ Ton Otten}]
%C
%C This module is part
Hi Hans,
there are a few problems with the keywords for \date in MkIV.
\starttext
\starttabulate[|l|l|l|]
\NC keyword \NC MkII \NC MKIV \NC\NR
\NC day \NC 4\NC \currentdate[day] \NC\NR
\NC day+ \NC 4\NC \currentdate[day+] \NC\NR
\NC month
date=\currentdate,
%D copyright=Florian Wobbe]
%C
%C Copyright 2010 Florian Wobbe.
%C This file may be distributed under the GNU General Public License v. 2.0.
%% font sizes
%% Cronos Pro
%% Caption: 6--8 point
%% Normal (Regular): 8--14 point
%% Subhead: 14--24 point
%% Display: 24
=\paperwidth,height=\paperheight]
\starttext
\TitlePage{
\vfill\vfill\bf
College
\vfill\vfill\vfill\bfxx
\currentdate\hfill\null}
\par
\Topics {ONDERWERPEN}
\par
\Topic{ABC}abc\par
\Topic{PQR}pcr\par
\Topic{XYZ}xyz\par
\stoptext
Hans van der Meer
to read.
How to get what you want is explained here [2], I think. HTH.
No, not really. \currentdate [year, –, mm, –, dd] gives me the date in
ISO 8601 format. To force consistency it makes sense to specify the date
format in a *global* setup like
\setupdate [format={year, –, mm, –, dd}]
to avoid
-
% engine=luatex
%D \module
%D [ file=mtx-context-select,
%Dversion=2008.11.10, % about that time i started playing with this
%D title=\CONTEXT\ Extra Trickry,
%D subtitle=Listing Files,
%D author=Hans Hagen,
%D date=\currentdate,
%D copyright
bibliography style,
%D subtitle=IEEE Publications,
%D author={Aditya Mahajan},
%D date=\currentdate,
%D copyright={Aditya Mahajan}]
\unprotect
%D The default mnemonics are not compatible with IEEE style.
\setuplabeltext [\s!en] [\v!january :\s!mnem=Jan
basic.test.tex
\starttext
\chapter{Testing a chapter\footnote{Actually for testing footnotes in a chapter
header\dots}}
This file has been typeset
on \currentdate{}
at \currenttime,
with
\doifmodeelse{mkiv}
{mkiv,
LuaTeX version \the\luatexversion,
LuaTeX revision \luatexrevision
101 - 200 of 384 matches
Mail list logo