LATEX-L Archives

Mailing list for the LaTeX3 project

LATEX-L@LISTSERV.UNI-HEIDELBERG.DE

Options: Use Forum View

Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Joseph Wright <[log in to unmask]>
Reply To:
Mailing list for the LaTeX3 project <[log in to unmask]>
Date:
Fri, 20 Apr 2018 14:31:59 +0100
Content-Type:
text/plain
Parts/Attachments:
text/plain (66 lines)
On 20/04/2018 14:24, Benedikt Vitecek wrote:
> Greetings,
> 
> I am using l3build lately and noticed that the date printed in the document title (if \date is not used) using e.g.
>    
> 	texlua build.lua doc
> 
> for compilation is wrong. Instead of the current date (which would today be „April 20, 2018“) I get „May 20, 2016“.
> Interestingly, if I compile the .dtx file directly (using e.g. pdflatex) I get the correct date.
> 
> I don’t know if I do something wrong … but here are the documents I use:
> 
> My reduced test .dtx file:
> 	% \iffalse
> 	%<*driver>
> 	\documentclass{l3doc}
> 	
> 	\begin{document}
> 	\DocInput{\jobname.dtx}
> 	\end{document}
> 	%</driver>
> 	% \fi
> 	% \GetFileInfo{\jobname.sty}
> 	% \title{The \pkg{\jobname} package}
> 	% \maketitle
> 	%
> 	% \begin{documentation}
> 	% \end{documentation}
> 	%
> 	% \begin{implementation}
> 	%    \begin{macrocode}
> 	\def\Versuch{Versuch}
> 	%    \end{macrocode}
> 	%\end{implementation}
> 
> The .ins file:
> 	\input l3docstrip.tex
> 	\askforoverwritefalse
> 	\generate{\file{\jobname.sty}{\from{\jobname.dtx}{package}}}
> 	\endbatchfile
> 
> And the build.lua file:
> 	#!/usr/bin/env texlua
> 	
> 	module = "test"
> 	
> 	kpse.set_program_name("kpsewhich")
> 	dofile(kpse.lookup("l3build.lua“))
> 
> I am currently using the 2018/02/20 version of l3build and texlive2017. Do I need to specify the printed date somewhere?
> 
> Ben

Hello Ben,

This was due to an oversight on my part: I'd set the epoch for both 
testing and documentation building in the script, expecting that doc 
dates would always be explicit in sources. The 2018-03-08 release fixes 
this, but you can add

     forcedocepoch = false

to your build.lua file to sort the problem for the moment.

Joseph

ATOM RSS1 RSS2