Debian Codegraph @

texmf-dist/source/support/adhocfilelist/texblog.fdf

raw
1 \ProvidesFile{texblog.fdf}[2013/01/04 extra blog settings]
2 %%
3 %% macros I use for my note pages
4 %% -- Uwe Lueck, www.contact-ednotes.sty.de.vu
5 %%
6 %% page head:
7 \newcommand*{\texrobots}{\robots{index,follow,noarchive}}
8 %% TODO: all
9 \newcommand*{\texstylesheet}{\stylesheet{all}{plain}}
10 %% 2012/09/06:
11 \newcommand*{\texmetadata}{%
12 \metanamecontent{author}{Uwe L\"uck}\CLBrk
13 \metanamecontent{date}{\isotoday}\CLBrk
14 \texrobots}
15 %% 2011/04/24:
16 \newcommand*{\TeXtopofpage}{%% 2011/06/19, \gt 2012/09/08:
17 \topofpageline{\code{uwe_lueck} \code{\gt} }{\texmapName}}
18 \newcommand*{\texmapName}{texmap}
19 %% 2011/05/17, \pubfilename 2012/09/19:
20 \newcommand*{\pubfilename}{\htmljob}
21 \newcommand*{\reloadTeXtopofpage}[2]{%
22 \TeXtopofpage{\pardash\fileref\pubfilename{\meta{#1}}%
23 \pardash#2}} %% mv. brace here 2011/12/20
24 \newcommand*{\deTeXtopofpage}{\reloadTeXtopofpage{neu~laden}}
25 \newcommand*{\enTeXtopofpage}{\reloadTeXtopofpage{reload}}
26 \newcommand*{\textopofpage}{\TeXtopofpage{}}
27 % \newcommand*{\enreloadthis}{% %% 2011/05/14
28 % \pardash\fileref{\htmljob}{reload}}
29 %% 2011/06/19:
30 \newcommand*{\topofpageline}[3]{%
31 % \hanc{top-of-page}{%
32 \CLBrk\indenti %% 2011/10/12
33 \begin{small}%
34 \hanc{top-of-page}{% %% 2012/09/08
35 #1%
36 }% %% 2012/09/08
37 \ifx\htmljob#2\else
38 \CLBrk\indenti
39 \Fileref{#2} \code{\gt} \fi %% \gt 2012/09/08
40 \file\htmljob#3%
41 \end{small}%
42 % \CLBrk}% %% 2011/10/12
43 \CLBrk %% 2012/09/08
44 }
45 \newcommand*{\privtopofpage}[1]{%
46 \topofpageline{}{\privmapName}%
47 {\depardash\fileref{\htmljob}{\textit{neu~laden}}%
48 \depardash#1}}
49 \newcommand*{\privmapName}{privmap}
50 %%
51 \makeatletter %% 2011/10/12
52 %% {noblog} moves to blogexec.sty 2012/12/20
53 %% body colors (started 2010/09/15):
54 \let\simplebody\body
55 \renewcommand*{\body}{%
56 % </head><body \@bgcolor{\bodybgcolor}>} %% \@bgcolor 2011/10/03
57 </head>%
58 <body\@style{background-color:\bodybgcolor}>} %% 2011/11/09
59 %% <- no space 2012/09/08
60 \newcommand*{\bodybgcolor}{\#ffffee} %% td
61 % \newcommand*{\bodybgcolor}{\#fffff8} %% 2012/12/06
62 % \newcommand*{\bodybgcolor}{\#fff8dc} %% cornsilk 2012/12/06
63 % \newcommand*{\bodybgcolor}{\#fefefa} %% baby powder 2012/12/06
64 % \newcommand*{\bodybgcolor}{\#fffff0} %% CSS ivory 2011/08/03
65 % \newcommand*{\bodybgcolor}{\#ffffe7} %% 2010/11/23 2011/06/29
66 % \newcommand*{\bodybgcolor}{\#f5f5dc} %% CSS beige 2011/07/31
67 % \newcommand*{\bodybgcolor}{\#f8f8ff} %% CSS ghostwhite 2011/07/31
68 % \newcommand*{\bodybgcolor}{\#f0ffff} %% CSS azure 2011/08/01
69 % \newcommand*{\bodybgcolor}{\#fdf5e6} %% CSS oldlace 2011/08/01
70 % \newcommand*{\bodybgcolor}{\#fffafa} %% CSS snow 2011/07/31
71 % \newcommand*{\bodybgcolor}{\#fafad2} %% CSS lightgol... 2011/07/31
72 % \newcommand*{\bodybgcolor}{\#fffaf0} %% CSS floralwhite 2011/07/31
73 % \newcommand*{\bodybgcolor}{\#ffffe0} %% CSS lightyellow 2011/07/31
74 %% erneut probiert 2011/12/12
75 % \newcommand*{\bodybgcolor}{\#fbfff0} %% 2011/07/31
76 % \newcommand*{\bodybgcolor}{\#fdffee} %% 2011/07/31
77 % \newcommand*{\bodybgcolor}{\#fefedd} %% 2011/07/31
78 % \newcommand*{\bodybgcolor}{\#fcfffc} %% 2011/07/31
79 % \newcommand*{\bodybgcolor}{\#fbffff} %% 2011/07/30
80 % \newcommand*{\bodybgcolor}{\#fffded} %% 2011/06/29
81 % \newcommand*{\bodybgcolor}{\#fcffef} %% 2011/06/28
82 % \newcommand*{\bodybgcolor}{\#ffffef} %% 2011/06/27
83 % \newcommand*{\bodybgcolor}{\#ffffff}
84 % \newcommand*{\bodybgcolor}{\#ffffdd} %% 2010/11/17
85 % \newcommand*{\bodybgcolor}{\#faffe7} %% 2010/11/17
86 % \newcommand*{\bodybgcolor}{\#fcffe7} %% 2010/11/23
87 % \newcommand*{\bodybgcolor}{\#fbfff0} %% 2010/11/23
88 % \newcommand*{\bodybgcolor}{\#fbfffe} %% 2010/11/23
89 %%
90 %% dark body, aus ultrado.tex, gekuerzt, abgewandelt 2012/05/08:
91 \newcommand*{\darkbody}{%
92 \begin{style}{all}\CLBrk
93 b, h1, h2, h3, h4, div, p, td, th, body, span, table, ol, li, a, ul {\CLBrk
94 \lightplaincolor
95 \darkfonts\CLBrk %% light -> dark 2012/05/09
96 \CLBrk}\CLBrk
97 body { \darkbackgroundcolor }\CLBrk
98 \CLBrk
99 a:link { \lightlinkcolor \lightfonts }\CLBrk
100 % a:visited { color:\#cc33cc; }\CLBrk
101 a:visited { \lightlinkcolor \lightfonts }\CLBrk
102 a:hover { \lightlinkcolor \lightfonts }\CLBrk
103 a:active { \lightlinkcolor \lightfonts }\CLBrk
104 \end{style}\CLBrk
105 </head><body>\CLBrk
106 }
107 %% requires:
108 % \newcommand*{\plainbody}{</head><body>}
109 \newcommand*{\lightlinkcolor}{color:%
110 % \#9999ff; }
111 \#ccffff; } %% 2012/05/10
112 % \#99ccff; } %% 2012/05/10
113 \newcommand*{\lightplaincolor}{color:%
114 % white; }
115 % \#fff8cc; }
116 \#ffffcc; }
117 % \#cccccc; }
118 \newcommand*{\boldcss}{font-weight:bold; }
119 % \newcommand*{\lightfonts}{\boldcss}
120 \newcommand*{\lightfonts}{}
121 % \newcommand*{\darkfonts}{\lightfonts}
122 \newcommand*{\darkfonts}{}
123 \newcommand*{\darkbackgroundcolor}{background-color:%
124 % \#333300; }
125 % black; }
126 % \#221100; }
127 % \#222200; }
128 \#001100; } %% 2012/05/10
129 % \#110011; } %% 2012/05/10
130 % \#111111; } %% 2012/05/10
131 %%
132 %% table cell colors: %% 2011/11/08
133 \newcommand*{\mylightblue}{\#eeeeff} %% Wiki TCP/IP
134 % \newcommand*{\mylightblue}{\#ddddff} %% auch nicht schlecht 2011/11/10
135 % \newcommand*{\mylightblue}{\#ddeeff} %% auch nicht schlecht 2011/11/10
136 % \newcommand*{\mylightblue}{\#eeefff} %% dantev45
137 \newcommand*{\mylightyellow}{\#fff8cc} %% yellow 2011/11/09
138 % \newcommand*{\mylightyellow}{\#ffeebb}
139
140 %% internal navigation:
141 \renewcommand*{\autref}[1]{\ancref{#1}{\code{#1}}} %% 2011/05/16
142 % \renewcommand*{\autref}[1]{\ancref{#1}{\code{#1}}} %% 2011/05/16
143 % \renewcommand*{\autref}[1]{\ancref{\lowercase{#1}}{#1}}
144 %% <- does not expand 2011/05/10
145 \newcommand*{\Autref}[1]{\ancref{#1}{#1}} %% 2011/08/16
146 \newcommand*{\ancandref}[1]{\hancref{#1}{\##1}} %% 2011/07/04
147 % \newcommand*{\lineanc}[1]{\TagSurr a{\@name{#1}}}
148 \newcommand*{\lineanc} [1]{\hanc{#1}{}} %% 2011/07/20
149 %% TODO: one anchor element with more
150 %% than one name!? %% 2011/08/31
151 \newcommand*{\sieheuref}[1]{\ancref{#1}{s.\,u.}} %% 2011/12/23
152
153 %% click to move to top of window: %% 2011/07/25 hier 2012/02/07
154 \newcommand*{\entotopofpage}{%
155 \rightpar{\ancref{top-of-page}{[\textit{\to~top~of~page}~]}}}
156 \newcommand*{\detotopofpage}{%
157 \rightpar{\ancref{top-of-page}{[\textit{\to Seitenanfang}\,]}}}
158 \newcommand*{\nextview}[1]{% %% corr. 2010/09/15
159 \rightpar{\ancref{#1}{[\to}|%
160 \ancref{top-of-page}{~\uparrow~]}}}
161 \newcommand*{\Nextview}[1]{% %% 2011/05/12
162 \nextview{#1}\\\lineanc{#1}} %% \\ 2012/11/21
163 \newcommand*{\nextruleview}[1]{% %% 2010/09/15
164 \nextview{#1}\hrule\vspace{5}\lineanc{#1}} %% \vspace 2012/11/21 12/01
165 \newcommand*{\NRV}{\nextruleview} %% 2011/03/15
166 %% Diary date sections:
167 % \newcommand*{\datepar}[1]{%
168 %% <- 2012/10/24 ->
169 \newcommand*{\Datepar}[2]{%
170 % \endgraf\hanc{#1}{\latexdatepar#1\latexdatepar}}%% 2011/08/12:
171 % \vspace{3} %%% 2011/08/16 \\%
172 \vspace{12} %% 2012/09/13
173 %% TODO CSS!? <- 2012/09/13 ->
174 \heading4{% %% wieder 2012/12/01
175 \lineanc{\isodateplus#1\isodateplus}%
176 \lineanc{#1}%
177 % %% mod. 2012/10/24:
178 % \heading4{%
179 \noligs{\isodateplus#1\isodateplus
180 \ifx\@nnil#2\@nnil\else
181 \pardash\ParseLigs{#2}\fi}}}
182 % \isodateplus#1\isodateplus}}
183 \newcommand*{\datepar}[1]{\Datepar{#1}{}}
184 %% #5 allows modifications like time, `b', `f.':
185 % \def\latexdatepar#1/#2/#3#4#5\latexdatepar{%
186 % \endgraf\heading4{#1-#2-#3#4#5}}
187 \def\isodateplus#1/#2/#3#4#5\isodateplus{% %% 2011/08/15
188 #1-#2-#3#4#5}
189 \def\isodate#1/#2/#3#4{#1-#2-#3#4}
190 \newcommand*{\Isodate}{\expandafter\isodate} %% 2011/08/21
191 \newcommand*{\isodateref}[1]{% %% 2011/08/19
192 \ancref{#1}{\isodateplus#1\isodateplus}}
193 %% "kw" is "Kalenderwoche" (English term?)
194 \newcommand*{\kwsec}[1]{% %% 2011/08/24
195 % \heading4{%
196 \endgraf
197 \vspace{9}\endgraf
198 \strong{%
199 \hanc{kw#1}%
200 {KW#1\quad\ancref{kw#1}{\gets}}}%
201 % \endgraf
202 }
203 \newcommand*{\kwrule}[1]{% %% 2011/08/27
204 \nextview{kw#1}\hrule
205 \hanc{kw#1}{\SimpleTagSurr{big}{KW#1}}%
206 }
207 %% 2012/10/26:
208 \newcommand*{\zeitref}[2]{\ancref{#1-#2}{#2}}
209 \newcommand*{\zeitanc}[2]{\hanc{#1-#2}{#2}}
210 %% 2011/08/18 [private - 2011/08/26]:
211 \newcommand*{\geldpref}{\ancref{geld}{\euro}}
212 \newcommand*{\jobspref}{\autref{jobs}}
213
214 %% offline links: %% 2012/09/18
215 \newcommand*{\Offlineref}[1]{%
216 \hnewref{}{../../www-Kopien/#1}{\offlinetext}}
217 \newcommand*{\offlinetext}{\small~[0]\endsmall} %% 2012/09/22
218 %% bar of internal links %% 2011/12/23 / 2012/02/07
219 \newcommand*{\internallinksbar}[1]{%
220 % \samehtmlline{% %% irrelevant 2011/12/25
221 [\,\DoSeparateWithMore\ancref
222 \BlogVertNoBreakSep %% 2011/12/25
223 #1\StopDoing\,]}%
224 % }
225 % \newcommand{\DoSeparateWith}[3]{#1{#3}\do@separate@with#1#2}
226 % \def\do@separate@with#1#2#3{%
227 % \ifx\StopDoing#3%
228 % \else#2#1{#3}%
229 % \expandafter\do@separate@with\expandafter
230 % #1\expandafter#2\fi}
231 %% More 2012/01/17 [`\Do...' moved to `domore.sty' 2012/08/07]:
232 % \newcommand*{\make@ancref}[1]{\ancref#1}
233 \newcommand*{\BlogVertNoBreakSep}{~|~} %% 2011/12/25
234 \newcommand*{\BlogVertSep} {~| } %% 2011/12/25
235 \newcommand*{\BlogVertLine} {~|\CLBrk} %% 2012/09/06
236 \newcommand*{\ancrefs}[1]{% %% 2011/12/28
237 % \DoSeparateWithMore\ancref\BlogVertSep %% 2012/01/17
238 \DoSeparateWithMore\ancref\BlogVertLine %% 2012/01/17
239 #1\StopDoing}
240 \newcommand*{\ancrefslist}{} \let\ancrefslist\ancrefs %% 2012/08/02 TODO
241 \newcommand*{\varancrefs}[2]{% %% 2012/06/19 /08/07
242 \DoSeparateWithMore\ancref{#1}#2\StopDoing}
243 \newcommand*{\autrefs}[1]{% %% 2011/12/28
244 \DoSeparateWith\autref\BlogVertSep #1\StopDoing}
245 %% 2012/01/17 later [moved to `domore.sty' 2012/08/07]:
246 \RequirePackage{domore}
247 %% 2012/01/18:
248 %% accesses all possibilities:
249 %% 2012/08/07 moved to `domodes.sty'
250 \iffalse %% TEST doowith 2012/06/03
251 \let\DoWith\DoWithZ %% !!!
252 % \renewcommand*{\DoSeparateWithMore}[2]{% %% !!?
253 % \DoSeparateWithSetsPresentedAs{#1}{#2}{M}{Z}}
254 \renewcommand*{\DoSeparateWithMore}{\DoWithModes{Z}{M}} %% !!?
255 % \show\DoSeparateWithMore
256 %% ... including shorthand for `\do', 48 macros in mind.
257 % \newcommand*{\StripEsc}{\expandafter\@gobble\string}
258 %% ... lists of things capable of being an undelimited macro
259 %% argument.
260 % \newcommand*{\AddAncRef}[1]{\ancref#1~| } %% 2011/12/28
261 % \newcommand*{\AddAutRef}[1]{\autref{#1}~| } %% 2011/12/28
262 \fi
263 \newcommand*{\topfilesbar}[1]{% %% 2011/12/26
264 |~%
265 \DoSeparateWith \Fileref
266 \BlogVertNoBreakSep
267 #1\StopDoing
268 }
269 %%
270 %% internal/external 2011/08/17f.:
271 % \newcommand*{\emailpref}{\ancref{email}{E-M@il}}
272 % \newcommand*{\emailpref}{%
273 % \ancref{email}{@\,}|\httpref{web.de/fm}{\,fm}}
274 \newcommand*{\ausflwpref}{%
275 \autref{ausfl-w}\pardash\wetterwpref
276 %% 2011/08/22:
277 \pardash\vrnpref}
278 \newcommand*{\vrnpref}{%
279 % \httpref{www.vrn.de/vrn/einfach-ankommen/fahrplanauskunft/}%
280 \httpref{www.vrn.de}% %% 2011/09/08
281 {VRN}}
282 %% 2012/01/15:
283 \newcommand*{\webdefmref}{\httpref{web.de/fm}}
284 \newcommand*{\emailpref}{\ancref{email}{@\,}|\webdefmref{\,fm}}
285 %% TODO mit \EXECUTE auslagern?
286
287 %% link in new code line TODO!? bad in parentheses: %% 2012/09/06
288 % \renewcommand*{\href}[1]{\CLBrk\TagSurr a{\@href{#1}}}
289 % \renewcommand*{\hnewref}[2]{%
290 % \CLBrk\TagSurr a{\@href{#1#2" target="_blank}}}
291 %% 2012/09/08:
292 \newcommand*{\LinkLinesBroken}{%
293 \def\@href##1{\CLBrk\indenti href="##1"}}
294 \newcommand*{\LinkLinesNormal}{%
295 \def\@href##1{ href="##1"}}
296 %%
297 %% page bottom:
298 %% `\isotoday' moves to `blog.sty' 2011/11/20
299 \newcommand*{\genlastrev}[2]{% %% 2011/11/02
300 \rightpar{\textit{#1~%
301 % \Isodate\GenDate
302 \isotoday %% 2011/11/02
303 \ \copyright~\href{#2.html}{Uwe~L\"uck}}}}
304 \newcommand*{\enlastrev}{\genlastrev{%
305 % Last~revised%
306 Last~generated%
307 }{contact}}
308 \newcommand*{\delastrev}{\genlastrev{%
309 Zuletzt neu erzeugt}{kontakt}}
310 \newcommand*{\Hrule}{\totopofpage\hrule}
311 \newcommand*{\fivebreaks}{\\\\\\\\\\} %% TODO \vspace
312
313 %% external navigation:
314 \renewcommand*{\htmakeext}{.htm} %% 2011/10/05
315 \newcommand*{\Fileref}[1]{\fileref{#1}{\file{#1}}} %% 2010/09/10
316 \newcommand*{\Fileancref}[2]{% %% 2012/09/11
317 \fileancref{#1}{#2}{\file{#1\##2}}} %% 2012/09/11
318 \newcommand*{\urlhref}[1]{\href{#1}{\urlfmt{#1}}} %% 2011/08/19
319 %% \domainref moves to texlinks.sty 2012/12/15
320 \newcommand*{\localfilenewref}{\hnewref{}} %% 2011/10/12
321 %% Ubuntu-Wiki 2012/09/13:
322 \newcommand*{\ubuntuurl}{wiki.ubuntuusers.de}
323 \newcommand*{\ubunturef}{\httpbaseref\ubuntuurl}
324 \newcommand*{\ubuntucmd}[1]{\ubunturef{#1}{\code{#1}}}
325 \newcommand*{\Ubunturef}[1]{\ubunturef{#1}{#1}}
326 \newcommand*{\siehewiki}[1]{% %% 2011/05/06
327 \to\wikideref{#1}{\textit{Wikipedia}}}
328 \newcommand*{\Wref}[1]{\wikiref{#1}{Wikipedia}} %% 2012/01/19
329 %% Wikipedia piped links emulation moves to `texlinks.sty' 2012/11/28
330 %% 2011/11/23, 2012/01/06, 2012/03/11:
331 \newcommand*{\wiktionarylangref}[1]{%
332 \httpbaseref{#1.wiktionary.org/wiki}}
333 % \newcommand*{\Wiktenref}[1]{\wiktionarylangref{en}{#1}{#1}}
334 % \newcommand*{\Wiktderef}[1]{\wiktionarylangref{de}{#1}{#1}}
335 % \newcommand*{\Wiktref}[1]{% %% 2012/01/13
336 % \wiktionarylangref\langcode{#1}{#1}}
337 % %% <- 2012/01/13 ->
338 % \newcommand*{\Wiktionarylangref}[2]{%
339 % \wiktionarylangref{#1}{#2}{#2}}
340 %% 2012/12/25
341 \newcommand*{\Wiktionarylangref}{%
342 \@double@first@arg\wiktionarylangref}
343 % \newcommand*{\Wiktderef}{\Wiktionarylangref{de}}
344 %% <- 2012/12/25 ->
345 \newcommand*{\wiktderef}{\wiktionarylangref{de}}
346 \newcommand*{\Wiktderef}{\@double@first@arg\wiktderef}
347 \newcommand*{\wiktref}{\wiktionarylangref\langcode}
348 % \newcommand*{\Wiktenref}{\Wiktionarylangref{en}}
349 %% <- 2012/12/25 ->
350 \newcommand*{\wiktenref}{\wiktionarylangref{en}}
351 \newcommand*{\Wiktenref}{\@double@first@arg\wiktenref}
352 \newcommand*{\Wiktref}{\Wiktionarylangref\langcode}
353 %% 2011/11/23, 2012/01/06, 2012/03/11:
354 \newcommand*{\wikiquotelangref}[1]{%
355 \httpbaseref{#1.wikiquote.org/wiki}}
356 \newcommand*{\Wikquenref}[1]{\wikiquotelangref{en}{#1}{#1}}
357 %% 2012/11/15:
358 \newcommand*{\AAOwikiref}{%
359 \httpbaseref{vps8324694103.serverpool.info/aaowiki}}
360 %% to do:
361 \newcommand*{\wormsmusref}{% %% 2011/04/30, 2012/03/11
362 \httpbaseref{www.worms.de/deutsch/kultur/museen}}
363 %% 2011/08/18:
364 \newcommand*{\facebookpref}{%
365 \httpref{de-de.facebook.com}{facebook}}
366 \newcommand*{\wetterwpref}{%
367 % \hanc{wetter}{\mystrong{Wetter:}}
368 % \Endash \httpref{www.wetteronline.de/Rheinland-Pfalz/Worms.htm%
369 % }{\code{www.wetteronline.de}}
370 % \Endash \httpref{m.wetter.net/1686/Worms}{\code{m.wetter.net}}
371 % \Endash \httpref{www.wetteronline.de/dldlsat.htm%
372 % }{Satellitenbild}
373 \httpref{www.wetteronline.de/Rheinland-Pfalz/Worms.htm}{%
374 \code{wol} }|
375 \httpref{m.wetter.net/1686/Worms}{\code{mww} }|
376 \httpref{www.wetteronline.de/dldlsat.htm}{\code{sat}}
377 }
378 %% 2011/08/19:
379 \newcommand*{\webdesignref}{%
380 \httpbaseref{www.webdesign-bu.de/uwe_lueck}}
381 \newcommand*{\webdesignurlref}[1]{%
382 \webdesignref{#1}%
383 {\urlfmt{www.webdesign-bu.de/uwe_lueck/#1}}}
384 %% TeX links:
385 % \newcommand*{\CPR}{\ctanpkgref} %% 2011/03/15, rm. 2011/11/06
386 %% `\ctanpkgstyref' moves to `texlinks.sty' 2012/11/27
387 \newcommand*{\THPR}{\texhaxpref} %% 2011/03/15
388 \newcommand*{\THpref}[1]{\texhaxpref{#1}{texhax}} %% 2011/03/24
389 %% month names move to `texlinks.sty' 2012/10/24
390 \newcommand*{\TOPref}[1]{\bytopicref{#1}{JF\##1}} %% 2011/04/22
391 % \newcommand*{\todobytopic}[1]{% %% 2011/04/22, rm. 2011/11/08
392 % \myalert{\to\ \TOPref{#1}}}
393 \newcommand*{\UKFAQref}[1]{\ukfaqref{#1}{UK~FAQ}} %% 2011/01/03
394 \useTUGctanbases %% 2012/12/30
395 % \renewcommand*{\ctanpkgauref}{\tugctanpkgauref} %% 2012/12/30 rm. 2013/01/04
396 %% SelfHTML:
397 \newcommand*{\selfhtmlurl}{de.selfhtml.org}
398 \newcommand*{\selfhtmlref}{\httpbaseref\selfhtmlurl}
399 \newcommand*{\selfhtmlrefref}[1]{%
400 \selfhtmlref{/html/referenz/#1.htm}}
401 \newcommand*{\selfhtmlcsseigref}{% %% 2012/09/23
402 \httpbaseref{\selfhtmlurl/css/eigenschaften}}
403 %% Recht: %% 2013/01/04
404 \newcommand*{\dejuresprechref}[3]{%
405 \httpref{dejure.org/dienste/vernetzung/rechtsprechung/?%
406 Gericht=#1&Datum=#2&Aktenzeichen=#3}}
407 \newcommand*{\DJsprechref}[3]{%
408 \dejuresprechref{#1}{#2}{#3}{#1 v. #2 (#3)}}
409 %% BlogLIGs moves to `markblog.sty' 2012/11/28
410 %% rm. HVspace etc. 2011/10/13
411 %% font switching (logical):
412 % \renewcommand*{\textsf}{% %% 2011/05/12
413 % \TagSurr{span}%
414 % {style="font-size:82\%;
415 % font-family:sans-serif"}}
416 %% <- rm. 2011/10/24
417 \providecommand*{\file}{\code} %% provide 2011/03/07
418 \newenvironment*{itquote}{\quote<i>}{</i>\endquote}
419 % \newcommand*{\mystrong}{\textcolor{\#aa0000}}
420 \newcommand*{\mystrong}{\textcolor{\#880000}}
421 %% <- 2012/12/06 TODO \spanclass
422 \providecommand*{\myalert}{\textcolor{red}}
423 % \newcommand*{\myalert}[1]{%
424 % \textcolor{red}{\ParseLigs{#1}}} %% 2011/12/20
425 \newcommand*{\prl}[1]{#1} %% prg lang, corr. 2010/12/15
426 \providecommand*{\pkg}{\pkgnamefmt} %% 2011/03/05
427 % \renewcommand*{\pkgnamefmt}{\code} %% 2011/10/24
428 %% <- for heyctan ->
429 \let\pkgnamefmt\@firstofone %% 2011/10/24
430 \renewcommand*{\urlfmt}{\code} %% 2011/10/24
431 \newcommand*{\meta}{\textit} %% 2011/05/16
432 % \newcommand*{\acro}[1]{\small#1\endsmall} %% 2011/06/19
433 % \newcommand*{\acro}[1]{#1} %% 2011/06/19
434 %% <- rm. 2012/01/06
435 \providecommand*{\metahttpref}[2]{% %% 2011/10/24
436 \httpref{#1}{\meta{#2}}}
437 % {\catcode`\'\active \gdef\catchsq#1'{\code{#1}}} %% 2012/01/31
438 %% <- \end occured when \ifeof on line 24 was incomplete
439
440 %% involving font switching for special purposes: %% 2011/07/25
441 \newcommand*{\src}[1]{\STS{sup}{[#1]}} %% 2010/09/12
442 \newcommand*{\idx}[1]{% %% 2010/11/23:
443 \textcolor{green}{\code{\lt#1\gt}}}
444 % \providecommand*{\cb}[1]{\code{{#1}}} %% 2011/03/13
445 \providecommand*{\cb}[1]{\code{\{#1\}}} %% 2012/01/31
446 \newcommand*{\itqtd}[1]{\textit{\dqtd{#1}}} %% 2011/05/03
447 \newcommand*{\ancstrong}[2]{\hanc{#1}{\strong{#2}}} %% 2011/05/05
448 % \newcommand*{\answer}[1]{[\textcolor{\#006600}{#1}]}
449 \newcommand*{\answer}[1]{\textcolor{\#006600}{[#1]}} %% 2011/07/19
450 \newcommand*{\Answer}[1]{\answer{\,#1\,}} %% 2011/08/25
451 \newcommand*{\planh}[1]{\answer{#1\,h}} %% 2011/08/18
452 \newcommand*{\TODO}{\myalert{\acronym{TODO}}} %% 2011/05/07 2011/12/29
453 \newcommand*{\TODOs}{\acronym{TODOs}} %% 2011/12/29
454 % \newcommand*{\HTML}{\acronym{HTML}} %% 2011/09/22
455 % \newcommand*{\PDF} {\acronym{PDF}} %% 2011/09/22
456 % \newcommand*{\CSS} {\acronym{CSS}} %% 2012/01/09
457 % \newcommand*{\PHP} {\acronym{PHP}} %% 2012/01/09
458 \DoWith\newacronym{HTML}{PDF}{CSS}{PHP}
459 {WP} %% 2012/10/06
460 \StopDoing %% 2012/02/07
461
462 %% use \ParseLigs -- moves to `blogligs.sty' 2012/11/29 %% corr. 2012/12/21
463 %% dashes:
464 % \newcommand*{\enpardash}{\,\emdash\,} %% 2011/05/12
465 %% language-specific appear in `langcode.sty'
466 %% 2012/09/20 -> \renewcommand
467 \renewcommand*{\enpardash}{\thinsp\Enpardash} %% 2011/07/28 2012/09/20
468 \newcommand*{\Enpardash}{\emdash\thinsp} %% 2011/07/28
469 % \newcommand*{\depardash}{~\endash\ } %% 2011/05/12
470 \renewcommand*{\depardash}{\ \Endash} %% 2011/07/28 2012/09/20
471 \newcommand*{\Endash}{\endash\ } %% starting new line (German)
472 %% 2011/05/26
473 \newcommand*{\enpardashed}[1]{% %% 2011/07/28
474 \thinsp\emdash\,#1\,\Enpardash}
475 \newcommand*{\depardashed}[1]{% %% 2011/07/28
476 \ \endash~#1~\Endash}
477 \def\endashed#1{\endash~#1~\endash} %% 2011/08/20
478
479 %% language codes move to `langcode.sty' 2012/09/17
480 %% %% \catchdq moves to own package 2012/09/17
481 \newcommand*{\Euro}{\,\euro} %% mod. 2011/05/25 2011/09/08
482 \newcommand*{\degC}{\,\degrees C} %% 2011/09/20
483 %% avoiding spaces at code line breaks:
484 \newcommand*{\bcmt}{<!-- } \newcommand*{\ecmt}{-->} %% 2011/05/02
485 \newcommand*{\nix}[1]{} %% join lines without space 2011/07/24
486 \newcommand*{\onehtmlline}[1]{#1} %% 2011/08/25
487 \newcommand*{\samehtmlline}[1]{\ParseLigs{#1}} %% 2011/12/23
488 %%
489 %% enumeration styles:
490 % \newenvironment{enumtype}[1]{<ol \@type{#1}}{</ol>}
491 %% <- moves to blog.sty 2012/12/20
492 \newenvironment{enumerate-a}{\enumtype a} %% 2011/08/15
493 {\endenumtype}
494 \newenvironment{enumerate-i}{\enumtype i} %% 2011/08/17
495 {\endenumtype}
496 %% TODO 2012/02/07 for DVI/PDF interface to 'enumerate'
497 \newenvironment{tightenum} %% 2012/01/07 "tight" 2012/01/08
498 {<ol \@style{margin:0px; padding:0px;
499 margin-left:2em}>}
500 %% <- TODO mit CSS-inherit auf Eintraege uebertragen? 2012/01/12
501 {\endenumerate}
502
503 \newenvironment{done}{<s>}{</s>} %% 2011/08/15
504 \newcommand*{\Dots}{~\dots\ } %% 2011/08/24
505 %% 2012/04/01 from autrado.fdf (2012/01/23):
506 \newenvironment*{codelines}{\quote<code>}
507 {</code>\endquote}
508 \MakeBlogBeginRun{codelines}{%
509 \NoBlogLigs %% 2012/01/24
510 \MakeActiveOther\"\MakeActiveOther\' %% actcodes 2012/08/28
511 \MakeActiveLet\<\lt\MakeActiveLet\>\gt %% actcodes 2012/08/28
512 \let\/\\\let\\\BackslashChar}
513
514 %% table rows (before blogexec): %% 2011/09/24 / 2012/02/07
515 % \newcommand*{\rowoftwocells}[2]{%
516 % \starttr
517 % \simplecell{#1}\simplecell{#2}%
518 % \endtr}
519 %% back for ... 2012/07/03:
520 \newcommand*{\rowofthreecells}[3]{%
521 \starttr
522 \simplecell{#1}\simplecell{#2}\simplecell{#3}%
523 \endtr}
524 % \newcommand*{\rowoffourcells}[4]{%
525 % \starttr
526 % \simplecell{#1}\simplecell{#2}%
527 % \simplecell{#3}\simplecell{#4}%
528 % \endtr}
529 % \newcommand*{\rowoffivecells}[5]{% %% 2011/10/28
530 % \starttr
531 % \simplecell{#1}\simplecell{#2}\simplecell{#3}%
532 % \simplecell{#4}\simplecell{#5}%
533 % \endtr}
534 % \newcommand*{\rowofsixcells}[6]{% %% 2011/10/28
535 % \starttr
536 % \simplecell{#1}\simplecell{#2}\simplecell{#3}%
537 % \simplecell{#4}\simplecell{#5}\simplecell{#6}%
538 % \endtr}
539 %
540 %% |\begin{stdhiddentablerows}| %% 2012/09/03
541 \newenvironment*{stdhiddentablerows}
542 {\startTable{\@cellpadding\stdcellpadding
543 \@cellspacing{0px}
544 \@style{border-collapse:collapse}}%
545 \startTR}
546 {\endtablerow\endTable}
547 \MakeBlogBeginRun{stdhiddentablerows}
548 {\def\startTR{\tablerow{hidden}}%
549 \def\cr{\endtr\startTR}}
550 %% |\begin{stdhiddentable}| %% 2012/05/15
551 \newenvironment*{stdhiddentable}
552 % {\startTable{\@cellpadding\stdcellpadding}
553 % % \@cellspacing\stdcellspacing} %% 2012/08/28
554 % \startTR\StartTd}
555 {\stdhiddentablerows\StartTd}
556 % {\endTd\endtablerow\endTable}
557 {\endTd\endstdhiddentablerows}
558 %% TODO colgroup alignment
559 \MakeBlogBeginRun{stdhiddentable}{%
560 \def\startTR{\tablerow{hidden}}% %% 2012/08/23
561 \MakeActiveLet\|\endcell\MakeActiveLet\&\figurespace} %% actcodes 2012/08/28
562 % \newcommand*{\stdcellspacing}{6} %% undone 2012/08/29
563 %%
564 % %% |\begin{stdallrulestable*}| %% 2012/06/05
565 % %% doesn't work with Firefox,
566 % %% w3schools.com/tags/att_col_align.asp;
567 % %% CSS seems to support
568 % %% alignment attributes for single cells only.
569 % \newenvironment{stdallrulestable*}[1]{%
570 % %% TODO what is shared with {stdallrulestable}
571 % \startTable{\@cellpadding{\stdcellpadding} \@width{}
572 % \@frame@box\ rules="all"}\CLBrk %% \ 2011/10/12
573 % \ \STS{colgroup}{\DoWith\ColAlign#1\StopDoing}\CLBrk
574 % \ \tbody\CLBrk
575 % \TableRow{standard all-rules table}%
576 % {\@bgcolor{\stdtableheadcolor}
577 % \@style{\stdtableheadstyle}}\CLBrk
578 % \indentii\StartTd
579 % }
580 % {\endstdallrulestable}
581 % % {\endtbody\endTable}
582 % \newcommand*{\ColAlign}[1]{%
583 % \CLBrk\indenti<col \csname @align@#1\endcsname>}
584 % \MakeBlogBeginRun{stdallrulestable*}{%
585 % \MakeActiveDef\|{\endcell}\MakeActiveDef\&{\figurespace}}
586 % %% <- TODO or copy ntok(blogx.bstdallrulestable)
587 %
588 \newcommand*{\UseTabFigspVert}{% %% 2012/07/22
589 \MakeActiveLet\&\figurespace\MakeActiveLet\|\endcell} %% actcodes 2012/08/28
590 %% |\crspan{<cols>}| %% 2012/06/07
591 \newcommand*{\crspan}[1]{%
592 \endTd\endtr\starttr\startTd{\@colspan{#1}}}
593 %% 2012/06/12:
594 %% |\Crspan{<total-cols>}{<cols>}|
595 \newcommand*{\Crspan}[2]{%
596 \endTd\endtr\starttr\fillrow{#1}\crspan{#2}}
597 %% table cell borders 2012/09/02
598 \newcommand*{\cellborderthickness}{1px}
599 \newcommand*{\edge@csname}{\csname edge@}
600 % \edef\edge@csname{%
601 % \noexpand\csname\noexpand\expandafter
602 % \noexpand\StripEsc\withcsname\noexpand edge@\endcsname}
603 % \show\edge@csname
604 %% <- TODO save a lot of HTML/CSS code!
605 \def\do#1{\withcsname\def edge@#1\endcsname}
606 \do{b}{bottom} \do{l}{left} \do{r}{right} \do{t}{top}
607 % \withcsname\show edge@b\endcsname
608 \newcommand*{\border@edge}[1]{%
609 border-\edge@csname#1\endcsname-width:\cellborderthickness;
610 border-\edge@csname#1\endcsname-style:solid;}
611 \newcommand*{\stylecell}[2]{\startTd{\@style{#1}}#2\endTd}
612 \newcommand*{\edgeborderedcell}[1]{\stylecell{\border@edge#1}}
613 \newcommand*{\cornerborderedcell}[1]{\stylecell{\border@corner#1}}
614 \newcommand*{\border@corner}[2]{\border@edge#1\border@edge#2}
615 \newcommand*{\borderedcell}[1]{\csname edges@#1\endcsname}
616 \def\do#1{\withcsname\def edges@#1\endcsname}
617 \do b{\edgeborderedcell b}
618 \do l{\edgeborderedcell l}
619 \do r{\edgeborderedcell r}
620 \do t{\edgeborderedcell t}
621 %% TODO save more tokens?:
622 \do{bl}{\cornerborderedcell{bl}}
623 \do{br}{\cornerborderedcell{br}}
624 \do{lt}{\cornerborderedcell{lt}}
625 \do{rt}{\cornerborderedcell{rt}}
626 % \withcsname\show edges@rt\endcsname
627 \do{}{\simplecell} %% 2012/09/03
628 %%
629 % %% Another try at `\HVspace' with ... %% 2011/11/10
630 %% VERGEBLICH %% 2011/11/12
631 % \let\HVSP\HVspace %% 2011/11/11
632 % \renewcommand*{\HVspace}[3]{%
633 % % \TagSurr{div}{\@width{#2} \@height{#3}}{#1}} %% zu flach
634 % \TagSurr{div}{\@width{#2} \@height{#3}}{%
635 % \HVSP{#1}{#2}{#3}}} %% 2011/11/11
636 % % \SimpleTagSurr{div}{\HVSP{#1}{#2}{#3}}}
637 % %% % Seiten zu kurz ...
638
639 %% |\cheading{<digit>}{<text>}| as in 'blogdot.sty' %% 2012/05/15
640 %% (TODO may crash with 'fifinddo-info'):
641 \providecommand*{\cheading}[1]{\CLBrk\TagSurr{h#1}{\@align@c}}
642 %% |\begin{centerpar}| %% 2012/05/15
643 % \newenvironment*{centerpar}{<p \@align@c>}{</p>}
644 %% ... fails with tables in `texmap' ... TODO 2012/09/06
645 %% |\imagesource{<graphic-file>}|: %% 2012/09/07
646 \newcommand*{\imagesource}[1]{<img src="#1">}
647 \newcommand*{\deflag}{\imagesource{flag_de.gif}} %% 2012/09/08
648 \newcommand*{\ukflag}{\imagesource{flag_uk.gif}} %% 2012/09/08
649 %% 2012/09/26:
650 \newcommand*{\wikilangflagref}[3]{%
651 \wikilangref{#1}{#3}{\imagesource{flag_#2.gif}}}
652 \newcommand*{\wikideflagref}{\wikilangflagref{de}{de}}
653 \newcommand*{\wikienflagref}{\wikilangflagref{en}{uk}}
654 %% 2012/10/04:
655 \newcommand*{\wikideenflagref}[2]{%
656 \wikideflagref{#1}~\wikienflagref{#2}}
657 \newcommand*{\wikidebookref}{\wikilangbooksref{de}}
658 \newcommand*{\wikienbookref}{\wikilangbooksref{en}}
659 \newcommand*{\wikideenbookref}[2]{%
660 \wikidebookref{#1}{\deflag}~\wikienbookref{#2}{\ukflag}}
661 \renewcommand*{\acro}{\SimpleTagSurr{abbr}} %% 2012/09/18
662 %%
663 \endinput