[NTG-context] LMTX/MkIV difference in date handling

2021-01-14 Thread Henning Hraban Ramm
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

Re: [NTG-context] printing the current date

2021-01-10 Thread Fabrice L
> 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

[NTG-context] printing the current date

2021-01-10 Thread Peter Münster
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,

Re: [NTG-context] \setupuserpagenumber not working as expected

2020-09-06 Thread Jan Willem Flamma
} \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

Re: [NTG-context] \setupuserpagenumber not working as expected

2020-09-04 Thread Wolfgang Schuster
}} \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

Re: [NTG-context] \setupuserpagenumber not working as expected

2020-09-04 Thread Jan Willem Flamma
[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[

Re: [NTG-context] \setupuserpagenumber not working as expected

2020-09-03 Thread jbf
}} \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

Re: [NTG-context] \setupuserpagenumber not working as expected

2020-09-03 Thread Jan Willem Flamma
\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

Re: [NTG-context] explain please

2020-06-24 Thread Hans van der Meer
\\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

Re: [NTG-context] explain please

2020-06-24 Thread Hans Hagen
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

[NTG-context] ConTeXt doesn't recognize source on network drive?

2020-05-11 Thread context
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

Re: [NTG-context] Short weekday option for date command

2020-04-08 Thread Adam Reviczky
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

Re: [NTG-context] Short weekday option for date command

2020-04-08 Thread Wolfgang Schuster
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

[NTG-context] splitted xtable with repeating headers and placetable

2020-04-04 Thread Geert Dobbels
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,

Re: [NTG-context] passing variables/data between context and lua

2019-10-06 Thread Wolfgang Schuster
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

[NTG-context] Fwd: Meptapost Drawing not showing-up in Context Letter Style

2019-03-12 Thread Jeroen
, 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

[NTG-context] Meptapost Drawing not showing-up in Context Letter Style

2019-03-10 Thread Context NTG
)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

Re: [NTG-context] expansion inside PDF annotations

2019-03-07 Thread Pablo Rodriguez
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

Re: [NTG-context] expansion inside PDF annotations

2019-03-06 Thread Wolfgang Schuster
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

Re: [NTG-context] issue with \startattachment...\stopattachment

2019-03-05 Thread Wolfgang Schuster
. \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

[NTG-context] issue with \startattachment...\stopattachment

2019-03-05 Thread Pablo Rodriguez
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

[NTG-context] expansion inside PDF annotations

2019-03-05 Thread Pablo Rodriguez
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

Re: [NTG-context] Issue with the latest beta of context standalone

2019-01-27 Thread Otared Kavian
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

Re: [NTG-context] Issue with the latest beta of context standalone

2019-01-27 Thread Otared Kavian
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: > >

Re: [NTG-context] inmargin produces underfull hbox

2018-09-07 Thread Wolfgang Schuster
\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

[NTG-context] inmargin produces underfull hbox

2018-09-07 Thread Hans van der Meer
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

[NTG-context] Use of context in lua (was: date calculated with currentdate plus n days)

2018-08-14 Thread Jan U. Hasecke
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") >

Re: [NTG-context] date calculated with currentdate plus n days

2018-08-14 Thread Pablo Rodriguez
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

Re: [NTG-context] date calculated with currentdate plus n days

2018-08-14 Thread Henri Menke
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)

Re: [NTG-context] date calculated with currentdate plus n days

2018-08-13 Thread Pablo Rodriguez
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 =

Re: [NTG-context] date calculated with currentdate plus n days

2018-08-13 Thread Henri Menke
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

Re: [NTG-context] date calculated with currentdate plus n days

2018-08-13 Thread Jan U. Hasecke
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

Re: [NTG-context] date calculated with currentdate plus n days

2018-08-13 Thread Pablo Rodriguez
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,

[NTG-context] date calculated with currentdate plus n days

2018-08-13 Thread Jan U. Hasecke
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

Re: [NTG-context] letter: How to customize reference line?

2018-06-25 Thread Wolfgang Schuster
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

[NTG-context] letter: How to customize reference line?

2018-06-25 Thread Paul Menzel
: 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

Re: [NTG-context] problem with character entities in XML processing

2018-04-19 Thread Hans van der Meer
:*} \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

Re: [NTG-context] goto reference

2018-04-19 Thread Taco Hoekwater
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

Re: [NTG-context] goto reference

2018-04-19 Thread Hans van der Meer
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 >&

[NTG-context] problem with character entities in XML processing

2018-04-19 Thread 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

Re: [NTG-context] goto reference

2018-04-19 Thread Otared Kavian
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

Re: [NTG-context] goto reference

2018-04-19 Thread John Grasty
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

Re: [NTG-context] goto reference

2018-04-19 Thread Hans van der Meer
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

Re: [NTG-context] \basegrid ignores color

2018-03-22 Thread Henri Menke
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

Re: [NTG-context] Problem with \definemathmatrix

2018-01-17 Thread Aditya Mahajan
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

Re: [NTG-context] MS Office Chinese fonts in ConTeXt

2017-08-27 Thread Hans Hagen
\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

Re: [NTG-context] \language[is] not working

2017-04-13 Thread Florian Grammel
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

Re: [NTG-context] \language[is] not working

2017-03-30 Thread Hans Hagen
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

Re: [NTG-context] \language[is] not working

2017-03-30 Thread Florian Grammel
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

Re: [NTG-context] Interlining in a TwoColumns set

2016-08-12 Thread Jean-Pierre Delange
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

Re: [NTG-context] \mainlanguage[pe]

2016-08-01 Thread Mohammad Hossein Bateni
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

Re: [NTG-context] \mainlanguage[pe]

2016-07-07 Thread Wolfgang Schuster
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

Re: [NTG-context] \mainlanguage[pe]

2016-07-07 Thread Mohammad Hossein Bateni
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>

Re: [NTG-context] \mainlanguage[pe]

2016-07-07 Thread Wolfgang Schuster
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]

Re: [NTG-context] Garamond Premier Pro font goodies file

2016-05-03 Thread mf
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

[NTG-context] Lost in letter module

2016-02-09 Thread Jan U. Hasecke
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. \

[NTG-context] can't find file `./1.tex'.

2015-11-14 Thread Context NTG
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

Re: [NTG-context] superscripts "th" "nd" "rd" "st" on dates etc..

2015-09-05 Thread Wolfgang Schuster
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

Re: [NTG-context] new beta

2015-07-10 Thread Hans Hagen
| 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

[NTG-context] language mode with XML

2015-05-16 Thread Pablo Rodriguez
}{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

[NTG-context] wrong vertical spacing in latest beta

2015-04-16 Thread Pablo Rodriguez
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

Re: [NTG-context] wrong vertical spacing in latest beta

2015-04-16 Thread Hans Hagen
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

Re: [NTG-context] wrong vertical spacing in latest beta

2015-04-16 Thread Hans Hagen
\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

Re: [NTG-context] wrong vertical spacing in latest beta

2015-04-16 Thread Pablo Rodriguez
\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

Re: [NTG-context] Loading modules

2014-12-23 Thread Wolfgang Schuster
=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

[NTG-context] Strange bug with overviewpage module.

2014-12-19 Thread Aditya Mahajan
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

[NTG-context] bug in latest beta?

2014-12-10 Thread Pablo Rodriguez
\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

Re: [NTG-context] bug in latest beta?

2014-12-10 Thread Hans Hagen
] \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

Re: [NTG-context] bug in latest beta?

2014-12-10 Thread Pablo Rodriguez
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

[NTG-context] s-mod produces system error: invalid parameter ...

2014-09-21 Thread Christoph Reller
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

Re: [NTG-context] s-mod produces system error: invalid parameter ...

2014-09-21 Thread Wolfgang Schuster
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

[NTG-context] Date format problems

2014-07-29 Thread A.J. Bonnema
): \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

Re: [NTG-context] Date format problems

2014-07-29 Thread Herbert Voss
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

Re: [NTG-context] Simple command with variable number of arguments

2014-05-23 Thread Aditya Mahajan
-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

Re: [NTG-context] mathml mtext behaviour

2014-05-18 Thread Hans Hagen
- %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

Re: [NTG-context] Bugs in XML export (for ePub)

2014-03-11 Thread Henning Hraban Ramm
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

[NTG-context] broken Czech dates

2013-10-13 Thread Ondřej Hošek
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

[NTG-context] Fwd: broken Czech dates

2013-10-13 Thread Ondřej Hošek
#\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

[NTG-context] metafonts

2013-10-01 Thread Hans Hagen
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

Re: [NTG-context] Alignment table with comma, and long long space after

2013-09-22 Thread Xan
%% 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

[NTG-context] Bug in \externalfigures in headers?

2013-09-05 Thread Xan
[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

Re: [NTG-context] Bug in \externalfigures in headers?

2013-09-05 Thread Xan
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

Re: [NTG-context] Minor date formatting issue

2013-08-10 Thread Sietse Brouwer
...@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

Re: [NTG-context] Minor date formatting issue

2013-08-09 Thread Wolfgang Schuster
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

Re: [NTG-context] Minor date formatting issue

2013-08-09 Thread Matt Gushee
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

[NTG-context] Minor date formatting issue

2013-08-08 Thread Matt Gushee
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

Re: [NTG-context] Some questions about the letter module

2013-07-18 Thread Wolfgang Schuster
-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

Re: [NTG-context] Some questions about the letter module (Wolfgang Schuster)

2013-07-18 Thread Michael Ash
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

Re: [NTG-context] Some questions about the letter module

2013-07-17 Thread Wolfgang Schuster
-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

Re: [NTG-context] Some questions about the letter module

2013-07-17 Thread Michael Ash
-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

Re: [NTG-context] Working with layers ... with example

2013-06-24 Thread Wolfgang Schuster
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

Re: [NTG-context] Auto selecting optical sizes for a font

2013-06-22 Thread Hans Hagen
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

[NTG-context] simplebib module: does not recognize bibitem command

2013-06-09 Thread Xan
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

Re: [NTG-context] simplebib module: does not recognize bibitem command

2013-06-09 Thread Wolfgang Schuster
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

Re: [NTG-context] simplebib module: does not recognize bibitem command

2013-06-09 Thread Xan
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

[NTG-context] Missing keys in reference line (letter module)

2013-06-08 Thread Florian Wobbe
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

Re: [NTG-context] Missing keys in reference line (letter module)

2013-06-08 Thread Wolfgang Schuster
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

[NTG-context] nice font

2013-05-02 Thread Hans Hagen
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

[NTG-context] typescript Adobe Blank

2013-04-03 Thread Philipp Gesang
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

Re: [NTG-context] date problem

2013-03-20 Thread Meer H. van der
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   2   3   4   >