diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/morehype/texblog.fdf')
-rw-r--r-- | Master/texmf-dist/tex/latex/morehype/texblog.fdf | 494 |
1 files changed, 239 insertions, 255 deletions
diff --git a/Master/texmf-dist/tex/latex/morehype/texblog.fdf b/Master/texmf-dist/tex/latex/morehype/texblog.fdf index da4d60253f4..57cddc96973 100644 --- a/Master/texmf-dist/tex/latex/morehype/texblog.fdf +++ b/Master/texmf-dist/tex/latex/morehype/texblog.fdf @@ -1,18 +1,25 @@ -\ProvidesFile{texblog.fdf}[2012/05/15 extra blog settings] +\ProvidesFile{texblog.fdf}[2012/11/29 extra blog settings] %% %% macros I use for my note pages %% -- Uwe Lueck, www.contact-ednotes.sty.de.vu %% %% page head: \newcommand*{\texrobots}{\robots{index,follow,noarchive}} +%% TODO: all \newcommand*{\texstylesheet}{\stylesheet{all}{plain}} +%% 2012/09/06: +\newcommand*{\texmetadata}{% + \metanamecontent{author}{Uwe L\"uck}\CLBrk + \metanamecontent{date}{\isotoday}\CLBrk + \texrobots} %% 2011/04/24: -\newcommand*{\TeXtopofpage}{%% 2011/06/19: - \topofpageline{\code{uwe_lueck} \code{>} }{\texmapName}} +\newcommand*{\TeXtopofpage}{%% 2011/06/19, \gt 2012/09/08: + \topofpageline{\code{uwe_lueck} \code{\gt} }{\texmapName}} \newcommand*{\texmapName}{texmap} -%% 2011/05/17: +%% 2011/05/17, \pubfilename 2012/09/19: +\newcommand*{\pubfilename}{\htmljob} \newcommand*{\reloadTeXtopofpage}[2]{% - \TeXtopofpage{\pardash\fileref\htmljob{\meta{#1}}% + \TeXtopofpage{\pardash\fileref\pubfilename{\meta{#1}}% \pardash#2}} %% mv. brace here 2011/12/20 \newcommand*{\deTeXtopofpage}{\reloadTeXtopofpage{neu~laden}} \newcommand*{\enTeXtopofpage}{\reloadTeXtopofpage{reload}} @@ -21,33 +28,40 @@ % \pardash\fileref{\htmljob}{reload}} %% 2011/06/19: \newcommand*{\topofpageline}[3]{% - \hanc{top-of-page}{% +% \hanc{top-of-page}{% \CLBrk\indenti %% 2011/10/12 \begin{small}% + \hanc{top-of-page}{% %% 2012/09/08 #1% + }% %% 2012/09/08 \ifx\htmljob#2\else \CLBrk\indenti - \Fileref{#2} \code{>} \fi + \Fileref{#2} \code{\gt} \fi %% \gt 2012/09/08 \file\htmljob#3% \end{small}% - \CLBrk}% %% 2011/10/12 +% \CLBrk}% %% 2011/10/12 + \CLBrk %% 2012/09/08 } \newcommand*{\privtopofpage}[1]{% \topofpageline{}{\privmapName}% {\depardash\fileref{\htmljob}{\textit{neu~laden}}% \depardash#1}} \newcommand*{\privmapName}{privmap} - +%% \makeatletter %% 2011/10/12 \@ifpackageloaded{blogexec}{% %% 2012/03/14 \newenvironment*{noblog}{}{} %% 2012/03/04 from ... -\MakeBlogBeginRun{noblog}{\let\WriteResult\@gobble} +\MakeBlogBeginRun{noblog}{% + \BlogInterceptEnvironments %% 2012/06/22 + \let\WriteResult\@gobble} }{} %% body colors (started 2010/09/15): +\let\simplebody\body \renewcommand*{\body}{% % </head><body \@bgcolor{\bodybgcolor}>} %% \@bgcolor 2011/10/03 </head>% - <body \@style{background-color:\bodybgcolor}>} %% 2011/11/09 + <body\@style{background-color:\bodybgcolor}>} %% 2011/11/09 + %% <- no space 2012/09/08 \newcommand*{\bodybgcolor}{\#fffff0} %% CSS ivory 2011/08/03 % \newcommand*{\bodybgcolor}{\#ffffe7} %% 2010/11/23 2011/06/29 % \newcommand*{\bodybgcolor}{\#f5f5dc} %% CSS beige 2011/07/31 @@ -146,17 +160,27 @@ \rightpar{\ancref{#1}{[\to}|% \ancref{top-of-page}{~\uparrow~]}}} \newcommand*{\Nextview}[1]{% %% 2011/05/12 - \nextview{#1}\hanc{#1}{}} + \nextview{#1}\\\lineanc{#1}} %% \\ 2012/11/21 \newcommand*{\nextruleview}[1]{% %% 2010/09/15 - \nextview{#1}\hrule\hanc{#1}{}} + \nextview{#1}\hrule\vspace{4}\lineanc{#1}} %% \vspace 2012/11/21 \newcommand*{\NRV}{\nextruleview} %% 2011/03/15 %% Diary date sections: -\newcommand*{\datepar}[1]{% +% \newcommand*{\datepar}[1]{% +%% <- 2012/10/24 -> +\newcommand*{\Datepar}[2]{% % \endgraf\hanc{#1}{\latexdatepar#1\latexdatepar}}%% 2011/08/12: - \vspace{3} %%% 2011/08/16 \\% - \lineanc{\isodateplus#1\isodateplus}% - \lineanc{#1}% - \heading4{\isodateplus#1\isodateplus}} +% \vspace{3} %%% 2011/08/16 \\% + \vspace{12} %% 2012/09/13 + %% TODO CSS!? <- 2012/09/13 -> +% \heading4{% + \lineanc{\isodateplus#1\isodateplus}% + \lineanc{#1}% + %% mod. 2012/10/24: + \heading4{\noligs{\isodateplus#1\isodateplus + \ifx\@nnil#2\@nnil\else + \pardash\ParseLigs{#2}\fi}}} +% \isodateplus#1\isodateplus}} +\newcommand*{\datepar}[1]{\Datepar{#1}{}} %% #5 allows modifications like time, `b', `f.': % \def\latexdatepar#1/#2/#3#4#5\latexdatepar{% % \endgraf\heading4{#1-#2-#3#4#5}} @@ -180,11 +204,18 @@ \nextview{kw#1}\hrule \hanc{kw#1}{\SimpleTagSurr{big}{KW#1}}% } +%% 2012/10/26: +\newcommand*{\zeitref}[2]{\ancref{#1-#2}{#2}} +\newcommand*{\zeitanc}[2]{\hanc{#1-#2}{#2}} %% 2011/08/18 [private - 2011/08/26]: \newcommand*{\geldpref}{\ancref{geld}{\euro}} \newcommand*{\jobspref}{\autref{jobs}} -%% bar of internal links -- dosepwit.sty %% 2011/12/23 / 2012/02/07 +%% offline links: %% 2012/09/18 +\newcommand*{\Offlineref}[1]{% + \hnewref{}{../../www-Kopien/#1}{\offlinetext}} +\newcommand*{\offlinetext}{\small~[0]\endsmall} %% 2012/09/22 +%% bar of internal links %% 2011/12/23 / 2012/02/07 \newcommand*{\internallinksbar}[1]{% % \samehtmlline{% %% irrelevant 2011/12/25 [\,\DoSeparateWithMore\ancref @@ -197,79 +228,26 @@ % \else#2#1{#3}% % \expandafter\do@separate@with\expandafter % #1\expandafter#2\fi} -%% More 2012/01/17: -% \newcommand*{\DoWithMore}[2]{% -% \ifx\StopDoing#2% -% \else#1#2\expandafter\DoWithMore\expandafter#1\fi} -% \newcommand*{\DoWithMore}{\d@with\@both} -\newcommand*{\d@with}[3]{% - \ifx\StopDoing#3% - \else#1#2{#3}% - \expandafter\d@with\expandafter#1\expandafter#2\fi} -\newcommand{\@both}[2]{#1#2} -\renewcommand*{\DoWith}{\d@with\@empty} -% \newcommand*{\DoSeparateWith}[3]{#1{#3}\d@with#2#1} -% \newcommand{\DoSeparateWithMore}[3]{#1#3\d@sepwithm@re#1#2} -\newcommand*{\d@sepwithm@re}[3]{% - \ifx\StopDoing#3% - \else#2#1#3% - \expandafter\d@sepwithm@re\expandafter - #1\expandafter#2\fi} +%% More 2012/01/17 [`\Do...' moved to `domore.sty' 2012/08/07]: % \newcommand*{\make@ancref}[1]{\ancref#1} \newcommand*{\BlogVertNoBreakSep}{~|~} %% 2011/12/25 \newcommand*{\BlogVertSep} {~| } %% 2011/12/25 -\newcommand*{\ancrefslist}[1]{% %% 2011/12/28 - \DoSeparateWithMore\ancref\BlogVertSep %% 2012/01/17 +\newcommand*{\BlogVertLine} {~|\CLBrk} %% 2012/09/06 +\newcommand*{\ancrefs}[1]{% %% 2011/12/28 +% \DoSeparateWithMore\ancref\BlogVertSep %% 2012/01/17 + \DoSeparateWithMore\ancref\BlogVertLine %% 2012/01/17 #1\StopDoing} -\newcommand*{\autrefslist}[1]{% %% 2011/12/28 +\newcommand*{\ancrefslist}{} \let\ancrefslist\ancrefs %% 2012/08/02 TODO +\newcommand*{\varancrefs}[2]{% %% 2012/06/19 /08/07 + \DoSeparateWithMore\ancref{#1}#2\StopDoing} +\newcommand*{\autrefs}[1]{% %% 2011/12/28 \DoSeparateWith\autref\BlogVertSep #1\StopDoing} -%% 2012/01/17 later: -\renewcommand{\DoWith}[2]{% -% \ifx\StopDoing#2\expandafter\@gobble -% \else\expandafter\@firstofone\fi -% {#1{#2}\DoWith{#1}}} - \ifx\StopDoing#2\@empty %% for empty #2 2012/01/17!!! -% \else\after@fi#1{#2}\DoWith{#1}\fi} -% \newcommand*{\after@fi}{} \def\after@fi#1\fi{\fi#1} - \else\@reversetwo{#1{#2}\DoWith{#1}}\fi} -\newcommand{\@reversetwo}[2]{#2#1} -\newcommand{\DoWithMore}[1]{\DoWith{\@both{#1}}} -\newcommand*{\DoSeparateWith}[3]{#1{#3}\DoWith{#2#1}} -% \newcommand*{\DoSeparateWithMore}[3]{#1#3\DoWith{#2\@both{#1}}} -\newcommand*{\DoSeparateWithMore}[2]{\DoSeparateWith{\@both{#1}}{#2}} -\renewcommand*{\setdo}[1][1]{\renewcommand\do[#1]} -%% (/2012/01/17) +%% 2012/01/17 later [moved to `domore.sty' 2012/08/07]: +\RequirePackage{domore} %% 2012/01/18: %% accesses all possibilities: -% \newcommand*{\DoSeparateWithSetsPresentedAs}[4]{% -% \csname \expandafter\@gobble\string -% \DoSeparateWith #4\endcsname{% -% \ifx #3M\@empty %% TODO better #3 beginning of "More"!? -% \expandafter\@both -% \else \expandafter\@firstofone \fi {#1}}{#2}} -% % \show\DoSeparateWithSetsPresentedAs -% %% TODO: #1, #2 better #4 #3 for saving tokens!? -% %% but #1 was used for reducing "More". -% %% `\DoWithModes' -\newcommand*{\DoSeparateWithY}[3]{% - \DoSeparateWithZ{#1}{#2}#3\StopDoing} -\newcommand*{\DoSeparateWithX}[3]{% - \expandafter\@reversetwo\expandafter{% - #3\StopDoing}{\DoSeparateWithZ{#1}{#2}}} -\newcommand*{\DoWithModes}[3]{% - %% #1 X/Y/Z (presentation of list), #2 Sets, #3 Do - \csname \expandafter\@gobble\string - \DoSeparateWith #1\endcsname{% - \ifx #2M\@empty %% TODO better #2 beginning of "More"!? - \expandafter\@both - \else \expandafter\@firstofone \fi {#3}}} -%% basic: -\newcommand*{\DoSeparateWithZ}[3]{% - \ifx\StopDoing#3\@empty - \else\@reversetwo{#1{#3}\DoWithZ{#2#1}}\fi} -%% \DoWith: -% \else\@reversetwo{#1{#2}\DoWith{#1}}\fi} -\newcommand*{\DoWithZ}[2]{\DoSeparateWithZ{#1}{}{#2}} +%% 2012/08/07 moved to `domodes.sty' + \iffalse %% TEST doowith 2012/06/03 \let\DoWith\DoWithZ %% !!! % \renewcommand*{\DoSeparateWithMore}[2]{% %% !!? % \DoSeparateWithSetsPresentedAs{#1}{#2}{M}{Z}} @@ -281,6 +259,7 @@ %% argument. % \newcommand*{\AddAncRef}[1]{\ancref#1~| } %% 2011/12/28 % \newcommand*{\AddAutRef}[1]{\autref{#1}~| } %% 2011/12/28 + \fi \newcommand*{\topfilesbar}[1]{% %% 2011/12/26 |~% \DoSeparateWith \Fileref @@ -305,6 +284,16 @@ \newcommand*{\emailpref}{\ancref{email}{@\,}|\webdefmref{\,fm}} %% TODO mit \EXECUTE auslagern? +%% link in new code line TODO!? bad in parentheses: %% 2012/09/06 +% \renewcommand*{\href}[1]{\CLBrk\TagSurr a{\@href{#1}}} +% \renewcommand*{\hnewref}[2]{% +% \CLBrk\TagSurr a{\@href{#1#2" target="_blank}}} +%% 2012/09/08: +\newcommand*{\LinkLinesBroken}{% + \def\@href##1{\CLBrk\indenti href="##1"}} +\newcommand*{\LinkLinesNormal}{% + \def\@href##1{ href="##1"}} +%% %% page bottom: %% `\isotoday' moves to `blog.sty' 2011/11/20 \newcommand*{\genlastrev}[2]{% %% 2011/11/02 @@ -324,10 +313,21 @@ %% external navigation: \renewcommand*{\htmakeext}{.htm} %% 2011/10/05 \newcommand*{\Fileref}[1]{\fileref{#1}{\file{#1}}} %% 2010/09/10 +\newcommand*{\Fileancref}[2]{% %% 2012/09/11 + \fileancref{#1}{#2}{\file{#1\##2}}} %% 2012/09/11 \newcommand*{\urlhref}[1]{\href{#1}{\urlfmt{#1}}} %% 2011/08/19 +\newcommand*{\domainref}[2]{% %% 2012/06/08 + \httpref{#1/#2}{\urlfmt{#1}}} \newcommand*{\localfilenewref}{\hnewref{}} %% 2011/10/12 +%% Ubuntu-Wiki 2012/09/13: +\newcommand*{\ubuntuurl}{wiki.ubuntuusers.de} +\newcommand*{\ubunturef}{\httpbaseref\ubuntuurl} +\newcommand*{\ubuntucmd}[1]{\ubunturef{#1}{\code{#1}}} +\newcommand*{\Ubunturef}[1]{\ubunturef{#1}{#1}} \newcommand*{\siehewiki}[1]{% %% 2011/05/06 \to\wikideref{#1}{\textit{Wikipedia}}} +\newcommand*{\Wref}[1]{\wikiref{#1}{Wikipedia}} %% 2012/01/19 +%% Wikipedia piped links emulation moves to `texlinks.sty' 2012/11/28 %% 2011/11/23, 2012/01/06, 2012/03/11: \newcommand*{\wiktionarylangref}[1]{% \httpbaseref{#1.wiktionary.org/wiki}} @@ -345,7 +345,9 @@ \newcommand*{\wikiquotelangref}[1]{% \httpbaseref{#1.wikiquote.org/wiki}} \newcommand*{\Wikquenref}[1]{\wikiquotelangref{en}{#1}{#1}} -%% +%% 2012/11/15: +\newcommand*{\AAOwikiref}{% + \httpbaseref{vps8324694103.serverpool.info/aaowiki}} %% to do: \newcommand*{\wormsmusref}{% %% 2011/04/30, 2012/03/11 \httpbaseref{www.worms.de/deutsch/kultur/museen}} @@ -370,104 +372,25 @@ \newcommand*{\webdesignurlref}[1]{% \webdesignref{#1}% {\urlfmt{www.webdesign-bu.de/uwe_lueck/#1}}} -\newcommand*{\Wref}[1]{\wikiref{#1}{Wikipedia}} %% 2012/01/19 %% TeX links: % \newcommand*{\CPR}{\ctanpkgref} %% 2011/03/15, rm. 2011/11/06 -\newcommand*{\THPR}{\texhaxpref} %% 2011/03/15 -\newcommand*{\THpref}[1]{\texhaxpref{#1}{texhax}} %% 2011/03/24 -%% month page 2011/12/22, reworked for langcode 2012/01/17: -\newcommand*{\enmonthname}[1]{% - \ifcase #1\or - January\or February\or March\or April\or - May\or June\or July\or August\or - September\or October\or November\or December% - \fi} -%% <- TODO -> texlinks.sty or langcode.sty -\newcommand*{\texlistyearmonthref}[2]{\texlist@yearmonthref#1#2\@nil} -\def\texlist@yearmonthref#1#2-#3\@nil{#1{20#2-\enmonthname{#3}}} -\newcommand*{\texhaxyearmonthref}{\texlistyearmonthref\texhaxref} -\newcommand*{\ctanannyearmonthref}{\texlistyearmonthref\ctanannref} -\newcommand*{\demonthname}[1]{% - \ifcase #1\or - Januar\or Februar\or M\"arz\or April\or - Mai\or Juni\or Juli\or August\or - September\or Oktober\or November\or Dezember% - \fi} -\newcommand*{\texlanglistmonthref}[3]{\texlanglistm@nthref#1#2#3\@nil} -\def\texlanglistm@nthref#1#2#3-#4\@nil{% - #2{20#3-\enmonthname{#4}}{#1{#4}}} -\newcommand*{\detexlistmonthref}{\texlanglistmonthref\demonthname} -\newcommand*{\entexlistmonthref}{\texlanglistmonthref\enmonthname} -\newcommand*{\texlistmonthref} {\texlanglistmonthref\monthname} -% \newcommand*{\detexhaxmonthref} {\detexlistmonthref\texhaxref} -% \newcommand*{\entexhaxmonthref} {\entexlistmonthref\texhaxref} -\newcommand*{\texhaxmonthref} {\texlistmonthref\texhaxref} -% \newcommand*{\dectanannmonthref}{\detexlistmonthref\ctanannref} -% \newcommand*{\enctanannmonthref}{\entexlistmonthref\ctanannref} -\newcommand*{\ctanannmonthref} {\texlistmonthref\ctanannref} -%% <- TODO 2011/12/22 alle -> texlinks.sty -\newcommand*{\TOPref}[1]{\bytopicref{#1}{JF\##1}} %% 2011/04/22 +%% `\ctanpkgstyref' moves to `texlinks.sty' 2012/11/27 +\newcommand*{\THPR}{\texhaxpref} %% 2011/03/15 +\newcommand*{\THpref}[1]{\texhaxpref{#1}{texhax}} %% 2011/03/24 +%% month names move to `texlinks.sty' 2012/10/24 +\newcommand*{\TOPref}[1]{\bytopicref{#1}{JF\##1}} %% 2011/04/22 % \newcommand*{\todobytopic}[1]{% %% 2011/04/22, rm. 2011/11/08 % \myalert{\to\ \TOPref{#1}}} -\newcommand*{\UKFAQref}[1]{\ukfaqref{#1}{UK~FAQ}} %% 2011/01/03 - -%% BlogLIGs: -%% 2012/01/06f. [[...]] f. \Wikiref: -\FDpseudoTilde -% \Delimiters\(\) -% \catcode`\(=1 \catcode`\)=2 -% \MakeExpandableAllReplacer(blog[[)([[)(\protect\Wikiref{)(blog<-) - %% <- TODO echte `{' kann man so nicht einsetzen, vorverarb... -% \MakeExpandableAllReplacer(blog]])(]])(})(blog[[) -% \CopyFDconditionFromTo(blog]])(BlogLIGs) - %% fine: -% \MakeExpandableAllReplacer(blog[[)([[)(\protect\catchdbrk)(blog<-) -% \CopyFDconditionFromTo(blog[[)(BlogLIGs) - %% hacks fail: -% \MakeExpandableAllReplacer(blog[[)([[)(\protect\Wikiref{\iffalse}\fi) -% (blog<-) -% \MakeExpandableAllReplacer(blog]])(]])(\iffalse{\fi}) -% (blog[[) -% \MakeExpandableAllReplacer(blog[[)([[)(\protect\Wikiref{\protect\iffalse}\protect\fi) -% (blog<-) -% \MakeExpandableAllReplacer(blog]])(]])(\protect\iffalse{\protect\fi}) -% (blog[[) -% \MakeExpandableAllReplacer(blog[[)([[)(\protect\Wikiref{\protect\ifnum0=`}\protect\fi) -% (blog<-) -% \MakeExpandableAllReplacer(blog]])(]])(\protect\ifnum0=`{\protect\fi}) -% (blog[[) -% \MakeExpandableAllReplacer(blog[[)([[)(\protect\Wikiref{\ifnum0=`}\fi) -% (blog<-) -% \MakeExpandableAllReplacer(blog]])(]])(\ifnum0=`{\fi}) -% (blog[[) -% \CopyFDconditionFromTo(blog]])(BlogLIGs) -% \Delimiters\{\} -% \MakeOther\( \MakeOther\) -\MakeExpandableAllReplacer{blog[[}{[[}{\protect\catchdbrkt}{blog<-} -\def\catchdbrkt#1]]{\Wikiref{#1}} %% + t 2012/01/09 - %% <- TODO in blog.sty \wikilink!? %% <- 2012/01/09 -> -\MakeExpandableAllReplacer{blog**}{**} - {\protect\doublestar:}{blog[[} -\MakeExpandableAllReplacer{blog***}{***} - {\protect\triplestar:}{blog**} -% \CopyFDconditionFromTo{blog***}{BlogLIGs} -%% 2012/01/11: -\MakeActiveDef\'{\noexpand'} -\MakeExpandableAllReplacer{blog\string'\string'}{''} - {\protect\doubleapostr:}{blog***} -\MakeExpandableAllReplacer{blog\string'\string'\string'}{'''} - {\protect\tripleapostr:}{blog\string'\string'} -\MakeOther\' -\CopyFDconditionFromTo{blog'''}{BlogLIGs} -\newcommand*{\MakePairLaTeXcmd}[2]{% - \@ifdefinable#1{\def#1:##1#1:{#2{##1}}}} %% ":" for "..." 2012/01/30 -%% <- 2012/01/15 -> -\MakePairLaTeXcmd\doublestar\mystrong -\MakePairLaTeXcmd\triplestar\myalert -\MakePairLaTeXcmd\doubleapostr\textit -\MakePairLaTeXcmd\tripleapostr\textbf -%% TODO -> blog.sty or so %% 2012/02/07 +\newcommand*{\UKFAQref}[1]{\ukfaqref{#1}{UK~FAQ}} %% 2011/01/03 +%% SelfHTML: +\newcommand*{\selfhtmlurl}{de.selfhtml.org} +\newcommand*{\selfhtmlref}{\httpbaseref\selfhtmlurl} +\newcommand*{\selfhtmlrefref}[1]{% + \selfhtmlref{/html/referenz/#1.htm}} +\newcommand*{\selfhtmlcsseigref}{% %% 2012/09/23 + \httpbaseref{\selfhtmlurl/css/eigenschaften}} +%% BlogLIGs moves to `markblog.sty' 2012/11/28 %% rm. HVspace etc. 2011/10/13 %% font switching (logical): % \renewcommand*{\textsf}{% %% 2011/05/12 @@ -514,40 +437,19 @@ % \newcommand*{\PDF} {\acronym{PDF}} %% 2011/09/22 % \newcommand*{\CSS} {\acronym{CSS}} %% 2012/01/09 % \newcommand*{\PHP} {\acronym{PHP}} %% 2012/01/09 -\DoWith\newacronym{HTML}{PDF}{CSS}{PHP}\StopDoing %% 2012/02/07 - -%% use \ParseLigs: -%% 2012/01/08, eigentlich schon 2012/01/04, verloren ...: -% \let\blogtextcolor\textcolor -% \renewcommand*{\textcolor}[2]{\blogtextcolor{#1}{\ParseLigs{#2}}} -%% 2012/01/10: -\let\blogdedqtd\dedqtd -\renewcommand*{\dedqtd}[1]{\blogdedqtd{\ParseLigs{#1}}} -%% 2012/01/19: -\let\BlogTagSurr\TagSurr -\renewcommand*{\TagSurr}[3]{% - \BlogTagSurr{#1}{#2}{\ParseLigs{#3}}} -\let\BlogSimpleTagSurr\SimpleTagSurr -\renewcommand*{\SimpleTagSurr}[2]{% - \BlogSimpleTagSurr{#1}{\ParseLigs{#2}}} -\newcommand*{\noligs}{} \let\noligs\@firstofone %% !!! -\renewcommand*{\code}[1]{\STS{code}{\noligs{#1}}} -%% 2012/03/14, not optimal TODO: -\renewcommand*{\NoBlogLigs}{% - \def\BlogOutputJob{LEAVE}% - \let\deqtd\blogdeqtd - \let\TagSurr\BlogTagSurr - \let\SimpleTagSurr\BlogSimpleTagSurr - \FDnormalTilde - \MakeActiveDef\~{ }% %% TODO new blog cmd -} +\DoWith\newacronym{HTML}{PDF}{CSS}{PHP} + {WP} %% 2012/10/06 + \StopDoing %% 2012/02/07 +%% use \ParseLigs -- moves to `texblog.fdf' 2012/11/29 %% dashes: % \newcommand*{\enpardash}{\,\emdash\,} %% 2011/05/12 -\newcommand*{\enpardash}{\thinsp\Enpardash} %% 2011/07/28 +%% language-specific appear in `langcode.sty' +%% 2012/09/20 -> \renewcommand +\renewcommand*{\enpardash}{\thinsp\Enpardash} %% 2011/07/28 2012/09/20 \newcommand*{\Enpardash}{\emdash\thinsp} %% 2011/07/28 % \newcommand*{\depardash}{~\endash\ } %% 2011/05/12 -\newcommand*{\depardash}{\ \Endash} %% 2011/07/28 +\renewcommand*{\depardash}{\ \Endash} %% 2011/07/28 2012/09/20 \newcommand*{\Endash}{\endash\ } %% starting new line (German) %% 2011/05/26 \newcommand*{\enpardashed}[1]{% %% 2011/07/28 @@ -556,24 +458,8 @@ \ \endash~#1~\Endash} \def\endashed#1{\endash~#1~\endash} %% 2011/08/20 -%% language codes: %% 2012/01/07 -\newcommand*{\langcodedependent}{% %% 2012/01/07 - \langcodeextras\dqtd\qtd\pardash\lastrev\totopofpage - \monthname} %% 2012/01/17 -\let\enlangcodeextras\empty %% \empty 2012/01/17 -\newcommand*{\delangcodeextras}{\RequirePackage{dhua}} -\newcommand*{\uselangcode}[1]{% - \def\langcode{#1}% %% 2012/01/07: - \DoWithAllIn\langcodeadjust\langcodedependent - \langcodeextras} -\newcommand*{\langcodeadjust}[1]{% - \edef#1{\expandafter\noexpand - \csname\langcode - \expandafter\@gobble\string#1\endcsname}} -\uselangcode{en} -%% -%% 2010/11/13 TODO -- catcodes.sty!?: -{\catcode`\"\active \gdef\catchdq#1"{\dqtd{#1}}} %% 2010/11/13 +%% language codes move to `langcode.sty' 2012/09/17 +%% %% \catchdq moves to own package 2012/09/17 \newcommand*{\Euro}{\,\euro} %% mod. 2011/05/25 2011/09/08 \newcommand*{\degC}{\,\degrees C} %% 2011/09/20 %% avoiding spaces at code line breaks: @@ -602,45 +488,125 @@ {</code>\endquote} \MakeBlogBeginRun{codelines}{% \NoBlogLigs %% 2012/01/24 - \MakeActiveDef\"{\string"}\MakeActiveDef\'{\string'}% - \MakeActiveDef\<{\lt}\MakeActiveDef\>{\gt}% + \MakeActiveOther\"\MakeActiveOther\' %% actcodes 2012/08/28 + \MakeActiveLet\<\lt\MakeActiveLet\>\gt %% actcodes 2012/08/28 \let\/\\\let\\\BackslashChar} -%% table rows (before blogexec): %% 2011/09/24 / 2012/02/07 -\newcommand*{\rowoftwocells}[2]{% - \starttr - \simplecell{#1}\simplecell{#2}% - \endtr} +%% table rows (before blogexec): %% 2011/09/24 / 2012/02/07 +% \newcommand*{\rowoftwocells}[2]{% +% \starttr +% \simplecell{#1}\simplecell{#2}% +% \endtr} +%% back for ... 2012/07/03: \newcommand*{\rowofthreecells}[3]{% \starttr \simplecell{#1}\simplecell{#2}\simplecell{#3}% \endtr} -\newcommand*{\rowoffourcells}[4]{% - \starttr - \simplecell{#1}\simplecell{#2}% - \simplecell{#3}\simplecell{#4}% - \endtr} -\newcommand*{\rowoffivecells}[5]{% %% 2011/10/28 - \starttr - \simplecell{#1}\simplecell{#2}\simplecell{#3}% - \simplecell{#4}\simplecell{#5}% - \endtr} -\newcommand*{\rowofsixcells}[6]{% %% 2011/10/28 - \starttr - \simplecell{#1}\simplecell{#2}\simplecell{#3}% - \simplecell{#4}\simplecell{#5}\simplecell{#6}% - \endtr} - +% \newcommand*{\rowoffourcells}[4]{% +% \starttr +% \simplecell{#1}\simplecell{#2}% +% \simplecell{#3}\simplecell{#4}% +% \endtr} +% \newcommand*{\rowoffivecells}[5]{% %% 2011/10/28 +% \starttr +% \simplecell{#1}\simplecell{#2}\simplecell{#3}% +% \simplecell{#4}\simplecell{#5}% +% \endtr} +% \newcommand*{\rowofsixcells}[6]{% %% 2011/10/28 +% \starttr +% \simplecell{#1}\simplecell{#2}\simplecell{#3}% +% \simplecell{#4}\simplecell{#5}\simplecell{#6}% +% \endtr} +% +%% |\begin{stdhiddentablerows}| %% 2012/09/03 +\newenvironment*{stdhiddentablerows} + {\startTable{\@cellpadding\stdcellpadding + \@cellspacing{0px} + \@style{border-collapse:collapse}}% + \startTR} + {\endtablerow\endTable} +\MakeBlogBeginRun{stdhiddentablerows} + {\def\startTR{\tablerow{hidden}}% + \def\cr{\endtr\startTR}} %% |\begin{stdhiddentable}| %% 2012/05/15 \newenvironment*{stdhiddentable} - {\startTable{\@cellpadding\stdcellpadding}% - \starttr\StartTd} - {\endTd\endtr\endTable} +% {\startTable{\@cellpadding\stdcellpadding} +% % \@cellspacing\stdcellspacing} %% 2012/08/28 +% \startTR\StartTd} + {\stdhiddentablerows\StartTd} +% {\endTd\endtablerow\endTable} + {\endTd\endstdhiddentablerows} %% TODO colgroup alignment \MakeBlogBeginRun{stdhiddentable}{% - \MakeActiveDef\|{\endcell}\MakeActiveDef\&{\figurespace}} -%% TODO \MakeActiveLet + \def\startTR{\tablerow{hidden}}% %% 2012/08/23 + \MakeActiveLet\|\endcell\MakeActiveLet\&\figurespace} %% actcodes 2012/08/28 +% \newcommand*{\stdcellspacing}{6} %% undone 2012/08/29 %% +% %% |\begin{stdallrulestable*}| %% 2012/06/05 +% %% doesn't work with Firefox, +% %% w3schools.com/tags/att_col_align.asp; +% %% CSS seems to support +% %% alignment attributes for single cells only. +% \newenvironment{stdallrulestable*}[1]{% +% %% TODO what is shared with {stdallrulestable} +% \startTable{\@cellpadding{\stdcellpadding} \@width{} +% \@frame@box\ rules="all"}\CLBrk %% \ 2011/10/12 +% \ \STS{colgroup}{\DoWith\ColAlign#1\StopDoing}\CLBrk +% \ \tbody\CLBrk +% \TableRow{standard all-rules table}% +% {\@bgcolor{\stdtableheadcolor} +% \@style{\stdtableheadstyle}}\CLBrk +% \indentii\StartTd +% } +% {\endstdallrulestable} +% % {\endtbody\endTable} +% \newcommand*{\ColAlign}[1]{% +% \CLBrk\indenti<col \csname @align@#1\endcsname>} +% \MakeBlogBeginRun{stdallrulestable*}{% +% \MakeActiveDef\|{\endcell}\MakeActiveDef\&{\figurespace}} +% %% <- TODO or copy ntok(blogx.bstdallrulestable) +% +\newcommand*{\UseTabFigspVert}{% %% 2012/07/22 + \MakeActiveLet\&\figurespace\MakeActiveLet\|\endcell} %% actcodes 2012/08/28 +%% |\crspan{<cols>}| %% 2012/06/07 +\newcommand*{\crspan}[1]{% + \endTd\endtr\starttr\startTd{\@colspan{#1}}} +%% 2012/06/12: +%% |\Crspan{<total-cols>}{<cols>}| +\newcommand*{\Crspan}[2]{% + \endTd\endtr\starttr\fillrow{#1}\crspan{#2}} +%% table cell borders 2012/09/02 +\newcommand*{\cellborderthickness}{1px} +\newcommand*{\edge@csname}{\csname edge@} +% \edef\edge@csname{% +% \noexpand\csname\noexpand\expandafter +% \noexpand\StripEsc\withcsname\noexpand edge@\endcsname} +% \show\edge@csname +%% <- TODO save a lot of HTML/CSS code! +\def\do#1{\withcsname\def edge@#1\endcsname} +\do{b}{bottom} \do{l}{left} \do{r}{right} \do{t}{top} +% \withcsname\show edge@b\endcsname +\newcommand*{\border@edge}[1]{% + border-\edge@csname#1\endcsname-width:\cellborderthickness; + border-\edge@csname#1\endcsname-style:solid;} +\newcommand*{\stylecell}[2]{\startTd{\@style{#1}}#2\endTd} +\newcommand*{\edgeborderedcell}[1]{\stylecell{\border@edge#1}} +\newcommand*{\cornerborderedcell}[1]{\stylecell{\border@corner#1}} +\newcommand*{\border@corner}[2]{\border@edge#1\border@edge#2} +\newcommand*{\borderedcell}[1]{\csname edges@#1\endcsname} +\def\do#1{\withcsname\def edges@#1\endcsname} +\do b{\edgeborderedcell b} +\do l{\edgeborderedcell l} +\do r{\edgeborderedcell r} +\do t{\edgeborderedcell t} +%% TODO save more tokens?: +\do{bl}{\cornerborderedcell{bl}} +\do{br}{\cornerborderedcell{br}} +\do{lt}{\cornerborderedcell{lt}} +\do{rt}{\cornerborderedcell{rt}} +% \withcsname\show edges@rt\endcsname +\do{}{\simplecell} %% 2012/09/03 +%% % %% Another try at `\HVspace' with ... %% 2011/11/10 %% VERGEBLICH %% 2011/11/12 % \let\HVSP\HVspace %% 2011/11/11 @@ -655,6 +621,24 @@ %% (TODO may crash with 'fifinddo-info'): \providecommand*{\cheading}[1]{\CLBrk\TagSurr{h#1}{\@align@c}} %% |\begin{centerpar}| %% 2012/05/15 -\newenvironment*{centerpar}{<p \@align@c>}{</p>} +% \newenvironment*{centerpar}{<p \@align@c>}{</p>} +%% ... fails with tables in `texmap' ... TODO 2012/09/06 +%% |\imagesource{<graphic-file>}|: %% 2012/09/07 +\newcommand*{\imagesource}[1]{<img src="#1">} +\newcommand*{\deflag}{\imagesource{flag_de.gif}} %% 2012/09/08 +\newcommand*{\ukflag}{\imagesource{flag_uk.gif}} %% 2012/09/08 +%% 2012/09/26: +\newcommand*{\wikilangflagref}[3]{% + \wikilangref{#1}{#3}{\imagesource{flag_#2.gif}}} +\newcommand*{\wikideflagref}{\wikilangflagref{de}{de}} +\newcommand*{\wikienflagref}{\wikilangflagref{en}{uk}} +%% 2012/10/04: +\newcommand*{\wikideenflagref}[2]{% + \wikideflagref{#1}~\wikienflagref{#2}} +\newcommand*{\wikidebookref}{\wikilangbooksref{de}} +\newcommand*{\wikienbookref}{\wikilangbooksref{en}} +\newcommand*{\wikideenbookref}[2]{% + \wikidebookref{#1}{\deflag}~\wikienbookref{#2}{\ukflag}} +\renewcommand*{\acro}{\SimpleTagSurr{abbr}} %% 2012/09/18 %% \endinput |