\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{
nt.
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 programari lliure
(\goto{\Context}
ent é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 programari lliure
(\goto{\Context}[url(http://wiki.contextgarden.net)] versió
\contextversionnumb
On Sun, Jan 10 2021, Fabrice L wrote:
> For exemple:
>
> \date[][weekday,day,month,year] and \currenttime[h,{\,:\,},m]
Sorry, I should have mentioned, that I use the latest version:
context-2021.01.08
--
urrent date please?
For exemple:
\date[][weekday,day,month,year] and \currenttime[h,{\,:\,},m]
F.
>
> TIA for any hints,
> --
> Peter
> ___
> If your question is of interest to others as
ture_name,
[ "width_px" ] = b.width_px,
[ "height_px" ]= b.height_px,
}
context ( 'function Rosi(): b.smrk = ', b.smrk )
context.par()
\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
:*}
\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
=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
. And then be able to store the
expansion in a macro. Is it possible to incorporate this in the next beta?
By the way, the \time and \currenttime pose the same problem, here even
\rawtime seems nonexistent.
Hans van der Meer
On 20 mrt. 2013, at 15:11, Wolfgang Schuster schuster.wolfg...@gmail.com
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 - \thedate}
\edef\thetime{\currenttime}\writestatus{}{\meaning\thetime - \thetime}
giving:
macro:-\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
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
{} at \currenttime, with
\doifmodeelse{mkiv}
{mkiv,
LuaTeX version \the\luatexversion,
LuaTeX revision \luatexrevision,
(LuaTeX date stamp \luatexdatestamp),
using the command: \par
\type{context test-luatex.tex}\par}
{mkii,
using the command: \par
\type{texexec test
installation (and I complain to Mojca, Hans, Taco, and the list…).
Here is this little file:
%% file 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
\text{contour integral} \NC \oint_{a}^{b} \NR
\NC \text{surface integral} \NC \oiint_{a}^{b} \NR
\NC \text{volume integral} \NC \oiiint_{a}^{b} \NR
\stopalign
\stopformula
\blank
This file has been typeset on \currentdate{} at \currenttime, with
\doifmodeelse{mkiv}
{mkiv,
LuaTeX
[10pt]
\starttext
Recall that since ${\scr D}({\Bbb R}^n)\subset {\scr S}({\Bbb R}^n)$, and is
dense, then we have
\startformula
{\scr S}'({\Bbb R}^n)\subset {\scr D}'({\Bbb R}^n)
\stopformula
This file has been typeset
on \currentdate{}
at \currenttime,
with
\doifmodeelse{mkiv}
{mkiv
This is LuaTeX, Version beta-0.44.0-2009110210
Thanks Luigi for your attention.
Typesetting the following file
basic-test.tex
\starttext
This file has been typeset
on \currentdate{}
at \currenttime,
with
\doifmodeelse{mkiv}
{mkiv,
LuaTeX version \the\luatexversion
: 2009.11.24 10:13
r...@john:/opt/luatex/test-mkiv# luatex --credits
This is LuaTeX, Version beta-0.44.0-2009110210
Thanks Luigi for your attention.
Typesetting the following file
basic-test.tex
\starttext
This file has been typeset
on \currentdate{}
at \currenttime
{}
at \currenttime,
with
\doifmodeelse{mkiv}
{mkiv,
LuaTeX version \the\luatexversion,
LuaTeX revision \luatexrevision,
(LuaTeX date stamp \luatexdatestamp),
using the command: \par
\type{context basic-test.tex}\par}
{mkii,
using the command
;
\stopbuffer
\startbuffer[axes-2]
numeric u ; u := .5cm ;
path xox ; xox := (-u,0)--(8u,0) ;
path yoy ; yoy := (0,-u)--(0,7u) ;
draw xox withcolor blue ; % -- here is the problem
draw yoy withcolor blue ;
\stopbuffer
This file has been typeset
on \currentdate{}
at \currenttime,
with
\doifmodeelse{mkiv
on \currentdate{}
at \currenttime,
with
\doifmodeelse{mkiv}
{mkiv,
LuaTeX revision \luatexrevision,
(LuaTeX date stamp \luatexdatestamp)}
{mkii,
using the command:
\type{texexec basic-test.tex}},
ConTeXt version \contextversion.
% LuaTeX version \luatexversion
Hi Wolfgang,
I experience the same things as Marcin with ConTeXt Minimals from the
Garden.
Doing
mtxrun --selfupdate
or
luatools --selfupdate
does not solve the problem.
My minimal file can be:
\starttext
This file has been typeset
on \currentdate{}
at \currenttime
,.4) withcolor .625yellow ;
fill arrowheadonpath(gammaRR,.4) withcolor .625yellow ;
\stopbuffer
This file has been typeset
on \currentdate{}
at \currenttime,
with
\doifmodeelse{mkiv}
{mkiv,
LuaTeX revision \luatexrevision,
(LuaTeX date stamp \luatexdatestamp)}
{mkii
;
\stopuniqueMPgraphic
\def\SwelledRule{\blank%
\setlocalhsize\midaligned{\reuseMPgraphic{SwelledRule}}\blank}
%% end swelled rule
\starttext
This file has been typeset
on \currentdate{}
at \currenttime,
with
\doifmodeelse{mkiv}
{mkiv,
LuaTeX revision \luatexrevision,
(LuaTeX
{}
at \currenttime,
with
\doifmodeelse{mkiv}
{mkiv,
LuaTeX revision \luatexrevision,
(LuaTeX date stamp \luatexdatestamp),}
{mkii,
using the command:
\type{texexec basic-test.tex}},
ConTeXt version \contextversion.
% LuaTeX version \luatexversion,
Below
{\reuseMPgraphic{SwelledRule}}\blank}
%% end swelled rule
\starttext
This file has been typeset
on \currentdate{}
at \currenttime,
with
\doifmodeelse{mkiv}
{mkiv,
LuaTeX revision \luatexrevision,
(LuaTeX date stamp \luatexdatestamp),}
{mkii,
using the command
=dflt,
script=arab,
aalt=yes,
init=yes,
medi=yes,
fina=yes,
isol=yes,
liga=yes,
mset=yes]
\font\FaarsiA=arabtype*testPersian at 36pt
\startbuffer[faarsi]
این متن در سال ۲۰۰۸ مسیحی نوشته شده است.
\stopbuffer
\pardir TLT
\textdir TLT
This file has been typeset on \currentdate{} at \currenttime, mkiv
=yes,
liga=yes,
mset=yes]
\font\FaarsiA=arabtype*testPersian at 36pt
\startbuffer[faarsi]
این متن در سال ۲۰۰۸ مسیحی نوشته شده است.
\stopbuffer
\pardir TLT
\textdir TLT
This file has been typeset on \currentdate{} at \currenttime, mkiv, ConTeXt
version \contextversion,
% LuaTeX version
,
medi=yes,
fina=yes,
isol=yes,
liga=yes,
mset=yes]
\font\FaarsiA=arabtype*testPersian at 36pt
\startbuffer[faarsi]
این متن در سال ۲۰۰۸ مسیحی نوشته شده
است.
\stopbuffer
\pardir TLT
\textdir TLT
This file has been typeset on \currentdate{} at \currenttime, mkiv,
ConTeXt
version
\starttext
This file has been typeset
on \currentdate{}
at \currenttime,
with
\doifmodeelse{mkiv}{mkiv, LuaTeX revision \luatexrevision, (LuaTeX
date stamp \luatexdatestamp)}{mkii},
ConTeXt version \contextversion,
using the command:
\starttyping
texexec --luatex basic-test.tex
\stoptyping
[reference]
[x=.5\paperwidth, y=2mm, location=c]
{\ttxx \jobname \textbar \currentdate [dd,/,mm,/,yy]\ à
\currenttime\ }
BTW: nice trick
Best wishes, Peter
Have you a better approach (for making those sons docs)?
TIA for any answer
olivier Turlier
PS: attached archive is too big, so
][\reuseMPgraphic{Cross}]
\defineoverlay[Camera][\reuseMPgraphic{Camera}]
\defineoverlay[Info][{\getbuffer[info]}]
\startbuffer[info]
\vbox to \paperheight \bgroup
\vskip -1 cm
\framed[frame=off,align=high]{\tt \tx \jobname - \currentdate
[y,/,mm,/,dd]\ - \currenttime\ - \realfolio
=]
\setfalse\CropInfo
\def\PageBackground{}%
\fi
% just to give the idea...
\ifconditional\CropInfo
\setlayer[markings][x=.5\paperwidth, y=20mm, location=c]%
{\tt \txx \jobname - \currentdate [y,/,mm,/,dd]\ - \currenttime\ -
\realfolio\ of \lastpage}
% \else
\fi
% for debugging only
\framed[frame=off,align=high]{\tt \txx \jobname - \currentdate
[y,/,mm,/,dd]\ - \currenttime\ - \realfolio\ of \lastpage}
\egroup
\stopbuffer
(code adapted from construction of Thumb index on the wiki)
Which seems to be doing exactly what I want.
Thanks, and best
Thomas
On Oct 5, 2005, at 1
[markings][width=\paperwidth, height=\paperheight, repeat=yes]
\setupbackgrounds[page][background={markings}]
\starttext
\setlayer[markings][x=.5\paperwidth, y=20mm, location=c]%
{\tt \txx \jobname - \currentdate [y,/,mm,/,dd]\ - \currenttime\ -
\realfolio\ of \lastpage}
\hbox{}% dummy; else
][background={markings}]
\starttext
\setlayer[markings][x=.5\paperwidth, y=20mm, location=c]%
{\tt \txx \jobname - \currentdate [y,/,mm,/,dd]\ - \currenttime\ -
\realfolio\ of \lastpage}
___
ntg-context mailing list
ntg-context@ntg.nl
http
Hello all,
I'm looking for a mechanism to insert the current time -- time of
processing with texexec. Is there a similar command like \currentdate?
Greetings
Thomas Lohmann
___
ntg-context mailing list
[EMAIL PROTECTED]
45 matches
Mail list logo