Skip to content
Permalink
Browse files
optimized
  • Loading branch information
Robin Schneider committed Aug 22, 2012
1 parent cbc7bbc commit 55d994c391c509897dd56a6a755c51a1e62bd4d4
Showing with 17 additions and 13 deletions.
  1. +17 −13 docstrip-template/{template.dtx → single-file-template.dtx}
@@ -4,15 +4,19 @@

Copyright (C) 2012 by Robin Schneider <ypid23@aol.de>

This file may be distributed and/or modified under the conditions of
the LaTeX Project Public License, either version 1.2 of this license
or (at your option) any later version. The latest version of this
license is in:

http://www.latex-project.org/lppl.txt

and version 1.3 or later is part of all distributions of LaTeX version
2003/12/01 or later.
This work may be distributed and/or modified under the
conditions of the LaTeX Project Public License, either version 1.3
of this license or (at your option) any later version.
The latest version of this license is in
http://www.latex-project.org/lppl.txt
and version 1.3 or later is part of all distributions of LaTeX
version 2005/12/01 or later.

THERE ARE A FEW PROBLEMS WITH THIS TEMPLATE
(because I cound not figure out how to get them to work):
- no \CharacterTable
- no \CheckSum
- no \DoNotIndex{\if} %% LaTeX commands work but plain TeX commands did't.

\endpreamble

@@ -23,14 +27,14 @@ and version 1.3 or later is part of all distributions of LaTeX version
\generate{\file{\jobname.sty}{\from{\jobname.dtx}{package}}}
\endgroup

\documentclass{ltxdoc}
\documentclass[english]{ltxdoc}
\newcommand{\PackageURL}{https://github.com/ypid/typesetting}
\newcommand{\PackageAuthor}{Robin Schneider}
\newcommand{\PackageAuthorEmail}{ypid23@aol.de}
\typeout{}
\typeout{* If the two package names look the same you can ignore this LaTeX Warning *}
\usepackage{\jobname} %% ^^A This produces a warning even when there is no problem.
%% ^^A I think there is an error in the comparison (expand \jobname ...)
\typeout{* If the two package names look the same you can ignore this LaTeX Warning *}
\typeout{}
\usepackage{
xcolor,
url,
@@ -46,7 +50,7 @@ and version 1.3 or later is part of all distributions of LaTeX version
}


\DoNotIndex{\newcommand,\newenvironment}
\DoNotIndex{\NeedsTeXFormat, \ProvidesPackage}

\EnableCrossrefs
\CodelineIndex

0 comments on commit 55d994c

Please sign in to comment.