[tex-live] hausarbeit-jura packaging bug
Vafa Khalighi
vafa.khalighi at student.uts.edu.au
Thu Oct 17 05:32:16 CEST 2013
Why not using \write18 in dtx source so if you are generating README.txt
from dtx, you can have:
%<*internal>
\generate{\file{\jobname.ins}{\from{\jobname.dtx}{batchfile}}}
\nopreamble\nopostamble
\generate{\file{README.txt}{\from{\jobname.dtx}{readme}}}
...
\endgroup
\immediate\write18{mv README.txt README}
\immediate\write18{makeindex -s gind.ist -o \jobname.ind \jobname.idx}
\immediate\write18{makeindex -s gglo.ist -o \jobname.gls \jobname.glo}
...
%</internal>
On Thu, Oct 17, 2013 at 10:11 AM, Karl Berry <karl at freefriends.org> wrote:
> Karl, can web2c tex write an extensionless file?
>
> Ha! Good point, I hadn't thought of backing up one more level. I think
> the answer is no. In the original tex.web, and not modified in the
> change files that I can see (or remember), there is
> @<Do some work that has been queued up...@>=
> ...
> if cur_ext="" then cur_ext:=".tex";
> ...
>
> Clearly it would not be hard to conditionalize that based on something
> (and is likely already possible in LuaTeX), but I can't imagine it would
> be useful in practice since no one would want to rely on such new
> functionality for such a trivial matter. The better answer, it seems to
> me, is not to put README's into .dtx's in the first place.
>
> Thanks,
> karl
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/tex-live/attachments/20131017/c9be06d2/attachment.html>
More information about the tex-live
mailing list