File: linuxdoctr-sgml.sty

package info (click to toggle)
linuxdoc-tools 0.9.86-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 3,312 kB
  • sloc: ansic: 16,247; perl: 3,769; sh: 1,134; makefile: 813; lex: 566; lisp: 309
file content (27 lines) | stat: -rw-r--r-- 805 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
%% This is linuxdoctr-sgml.sty, a wrapper to linuxdoc-sgml.sty
%% to enable "trans" and "tdate" tags avoiding duplicated code.
%%
%% "trans" and "tdate" tags originally added by Taketoshi Sano
%% Made just a wrapper by Agustin Martin to avoid duplicated code
%%
%% Copyright (C) 2001 Taketoshi Sano sano@debian.org
%% Copyright (C) 2009 Agustin Martin agmartin@debian.org
%% ------------------------------------------------------------

\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{linuxdoctr-sgml}

\DeclareOption*{\PassOptionsToPackage{\CurrentOption}{linuxdoc-sgml}}
\ProcessOptions
\RequirePackage{linuxdoc-sgml}

\gdef\@tdate{}
\gdef\tdate#1{\gdef\@tdate{#1}}
\gdef\@trans{}
\gdef\trans#1{\gdef\@trans{#1}}

\gdef\LDT@WriteTranslators{%
  \\[2ex]
  \@trans\hfill\@tdate
  %\gdef\@tdate{}\gdef\@trans{}
}