From aa467adcb6fa142686fa83b549b69a1d51e49d34 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Sun, 16 Oct 2011 22:25:43 +0000 Subject: morehype (16oct11) git-svn-id: svn://tug.org/texlive/trunk@24303 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/doc/latex/morehype/README.txt | 48 ---- Master/texmf-dist/doc/latex/morehype/RELEASE.txt | 82 ------- Master/texmf-dist/doc/latex/morehype/RELEASEs.txt | 91 ++++++++ Master/texmf-dist/doc/latex/morehype/SRCFILEs.txt | 21 -- Master/texmf-dist/doc/latex/morehype/SrcFILEs.txt | 18 +- Master/texmf-dist/doc/latex/morehype/blog.pdf | Bin 521678 -> 537349 bytes .../doc/latex/morehype/demo/texblog/makehtml.tex | 2 +- .../doc/latex/morehype/demo/texblog/texblog.fdf | 257 --------------------- Master/texmf-dist/source/latex/morehype/blog.tex | 63 ++++- Master/texmf-dist/tex/latex/morehype/blog.sty | 76 ++++-- Master/texmf-dist/tex/latex/morehype/blogdot.cfg | 30 +++ Master/texmf-dist/tex/latex/morehype/blogdot.sty | 150 +++++++++--- Master/texmf-dist/tex/latex/morehype/lnavicol.sty | 5 +- Master/texmf-dist/tex/latex/morehype/texblog.fdf | 34 ++- 14 files changed, 386 insertions(+), 491 deletions(-) delete mode 100644 Master/texmf-dist/doc/latex/morehype/README.txt delete mode 100644 Master/texmf-dist/doc/latex/morehype/RELEASE.txt create mode 100644 Master/texmf-dist/doc/latex/morehype/RELEASEs.txt delete mode 100644 Master/texmf-dist/doc/latex/morehype/SRCFILEs.txt delete mode 100644 Master/texmf-dist/doc/latex/morehype/demo/texblog/texblog.fdf create mode 100644 Master/texmf-dist/tex/latex/morehype/blogdot.cfg diff --git a/Master/texmf-dist/doc/latex/morehype/README.txt b/Master/texmf-dist/doc/latex/morehype/README.txt deleted file mode 100644 index 6a21ed993fb..00000000000 --- a/Master/texmf-dist/doc/latex/morehype/README.txt +++ /dev/null @@ -1,48 +0,0 @@ - README for the `morehype' bundle - Some more hypertext tools - (C) Uwe Lueck 2011/02/10 - -The bundle consists of three packages: - - `texlinks.sty' shorthand macros for TeX-related external - hyperlinks with hyperref or `blog.sty' below - or ...? - - `hypertoc.sty' with hyperref, colorlinks=false rehabilitated - - struts in table of content macros - (and decent border colors in `makedoc.cfg') - - `blog.sty' fast generation of simple HTML by expanding - TeX macros (LaTeX names where possible), not - involving any of TeX's typesetting capabilities, - based on file processing with `fifinddo.sty' - (`nicetext' bundle) - -The packages are described in more detail in `blog.pdf', -`hypertoc.pdf', and `texlinks.pdf' (`doc' CTAN directory; -typeset using fifinddo.sty, makedoc.sty, niceverb.sty from the -`nicetext' bundle, http://ctan.org/pkg/nicetext, as of Jan 2011). - -`morehype' is author-maintained in the sense of LPPL below. - -The files listed in `SRCFILEs.txt' and the PDF files generated -from them can be redistributed and/or modified under the terms -of the LaTeX Project Public License; either version 1.3c of the -License, or any later version, see - - http://www.latex-project.org/lppl.txt - -We did our best to help you, but there is NO WARRANTY. - -Please report bugs, problems, and suggestions via - - http://www.contact-ednotes.sty.de.vu - -The most recent public version of the bundle is at - - http://mirror.ctan.org/macros/latex/contrib/morehype/ - -A TDS version morehype.tds.zip of the bundle is available at - - http://mirror.ctan.org/install/macros/latex/contrib/ - \ No newline at end of file diff --git a/Master/texmf-dist/doc/latex/morehype/RELEASE.txt b/Master/texmf-dist/doc/latex/morehype/RELEASE.txt deleted file mode 100644 index 7ec36ff4a69..00000000000 --- a/Master/texmf-dist/doc/latex/morehype/RELEASE.txt +++ /dev/null @@ -1,82 +0,0 @@ -r0.5 2011/09/02 blogdot.sty: HTML beamer presentations - + other morehype changes -============================================================ -`blogdot.sty' extends `blog.sty' in order to construct -"HTML slides." One "slide" is a 3x3 HTML table filling the -computer screen, the center cell is the "type area," the -margin cell below it is a link to the next "slide," and the -lower right-hand cell is a "restart" link. This is a -minimalistic, fast, straightforward approach to beamer -presentations of simple text, avoiding TeX's typesetting. -Font etc. sizes appropriate for slides a provided in -`blogdot.css'. Find details in `blog.pdf'. - -More changes of the `morehype' bundle: -- `blog.sty' v0.6: - - \item, \endenumerate, \enditemize start with , - this fixed links near the end of a blogdot presentation - (a quite "deep" .htm) with my Firefox - - "universal" attributes completed - - \figurespace (Unicode), \metavar (doc.sty's \meta), - \acronym, \bdquo, \dagger, \ddagger, \emptycell - - modified setup of "HTML environments" - - documentation fixes -- `blog.pdf' includes documentation of `lnavicol.sty' - (web pages with left-hand navigation column) -- `texlinks.sty' v0.41 provides \mirrorctanref, - \tugctanfileref, \mirrorctanfileref, \ltxcontrib - (see texlinks.pdf pp. 8f.) - -r0.41 2011/09/02 web pages with blog.sty -============================================================ -- `twocolpg.sty' renamed `lnavicol.sty' -- typo fixes in `blog.tex'/`blog.pdf' - -r0.4 2011/09/01 texlinks v0.4, - blog.sty v0.5 + support for two-column web pages -============================================================ - -A new "raw" macro file `twocolpg.sty' provides macros for -the web page style with a navigation column at the left of a -main content column with spanning header and footer - -towards a content management system for TeX addicts? -Templates (`demo') are provided, see Section `Examples' in -`blog.pdf'. - -`blog.sty' v0.5 has many more macros than v0.41, mainly -for symbols. Accented letters are near to complete, Greek -letters are complete. Documentation has been improved at -some places. I realized that ` ' allows line breaks -and therefore redefined \thinspace and \,, but this may be -difficult with certain browsers. - -`texlinks.sty' v0.4 adds HTTPS, references to CTAN -announcements, and references to the LaTeX Wikibook. -Wikipedia macros and parts of documentation have been -reworked. - -For details, always see the end of the .sty files. -Throughout, the \acro macro (known from TUGboat macros) -has been applied to the documentations. - -Moreover, the sample file `atari.fdf' for a little encoding -conversion has moved to the nicetext bundle, and the macro -it defines now is \TextCodes instead of \AtariCodes. - - -r0.3 2011/02/10 texlinks v0.3 [blog], \urlpkgfoot -============================================================ -\urlpkgfoot{PKG-ID} abbreviates \urlfoot{CtanPkgRef}{PKG-ID} -that is needed frequently. -Package option [blog] suppresses document definitions. -blog.sty is updated accordingly and at the occasion. -README points to morehype.tds.zip - -r0.2 2011/01/27 texlinks v0.2 \urlfoot -============================================================ -\urlfoot displays the URL that some shorthand generates -in a footnote. E.g., \ukfaqref{LABEL}{TEXT} generates -an URL that \urlfoot{ukfaqref}{LABEL} displays. - -r0.2a 2011/01/30 makehtml.tex+texmap.tex to `doc', -TDS with `source' diff --git a/Master/texmf-dist/doc/latex/morehype/RELEASEs.txt b/Master/texmf-dist/doc/latex/morehype/RELEASEs.txt new file mode 100644 index 00000000000..1b2a40cfb05 --- /dev/null +++ b/Master/texmf-dist/doc/latex/morehype/RELEASEs.txt @@ -0,0 +1,91 @@ +r0.51 2011/10/15 blogdot.sty: HTML beamer presentations + + more morehype changes +============================================================ +`blogdot.sty' extends `blog.sty' in order to construct +"HTML slides." One "slide" is a 3x3 HTML table filling the +computer screen, the center cell is the "type area," the +margin cell below it is a link to the next "slide," and the +lower right-hand cell is a "restart" link. This is a +minimalistic, fast, straightforward approach to beamer +presentations of simple text, avoiding TeX's typesetting. +Font etc. sizes appropriate for slides are provided in +`blogdot.css'. Find details in `blog.pdf'. +QUALIFICATION: may be fine on your laptop, difficult online, +works with Firefox, Opera, Chrome, rather not with MSIE. + +More changes of the `morehype' bundle: +- `blog.sty' v0.61: + - \item, \endenumerate, \enditemize start with , + this fixed links near the end of a blogdot presentation + (a quite "deep" .htm) with my Firefox + - "universal" attributes completed + - \figurespace (Unicode), \metavar (doc.sty's \meta), + \acronym, \bdquo, \dagger, \ddagger, \emptycell + - modified setup of "HTML environments" + - documentation fixes +- `blog.pdf' includes documentation of `lnavicol.sty' + (web pages with left-hand navigation column) +- `texlinks.sty' v0.41 provides \mirrorctanref, + \tugctanfileref, \mirrorctanfileref, \ltxcontrib + (see texlinks.pdf pp. 8f.) + + +r0.5 2011/10/10 blogdot.sty: HTML beamer presentations + + other morehype changes +============================================================ +about as r0.51, but with some mistakes, blogdot.sty v0.2 +instead of v0.3, blog.sty v0.6 instead of v0.61 + +r0.41 2011/09/02 web pages with blog.sty +============================================================ +- `twocolpg.sty' renamed `lnavicol.sty' +- typo fixes in `blog.tex'/`blog.pdf' + +r0.4 2011/09/01 texlinks v0.4, + blog.sty v0.5 + support for two-column web pages +============================================================ + +A new "raw" macro file `twocolpg.sty' provides macros for +the web page style with a navigation column at the left of a +main content column with spanning header and footer - +towards a content management system for TeX addicts? +Templates (`demo') are provided, see Section `Examples' in +`blog.pdf'. + +`blog.sty' v0.5 has many more macros than v0.41, mainly +for symbols. Accented letters are near to complete, Greek +letters are complete. Documentation has been improved at +some places. I realized that ` ' allows line breaks +and therefore redefined \thinspace and \,, but this may be +difficult with certain browsers. + +`texlinks.sty' v0.4 adds HTTPS, references to CTAN +announcements, and references to the LaTeX Wikibook. +Wikipedia macros and parts of documentation have been +reworked. + +For details, always see the end of the .sty files. +Throughout, the \acro macro (known from TUGboat macros) +has been applied to the documentations. + +Moreover, the sample file `atari.fdf' for a little encoding +conversion has moved to the nicetext bundle, and the macro +it defines now is \TextCodes instead of \AtariCodes. + + +r0.3 2011/02/10 texlinks v0.3 [blog], \urlpkgfoot +============================================================ +\urlpkgfoot{PKG-ID} abbreviates \urlfoot{CtanPkgRef}{PKG-ID} +that is needed frequently. +Package option [blog] suppresses document definitions. +blog.sty is updated accordingly and at the occasion. +README points to morehype.tds.zip + +r0.2 2011/01/27 texlinks v0.2 \urlfoot +============================================================ +\urlfoot displays the URL that some shorthand generates +in a footnote. E.g., \ukfaqref{LABEL}{TEXT} generates +an URL that \urlfoot{ukfaqref}{LABEL} displays. + +r0.2a 2011/01/30 makehtml.tex+texmap.tex to `doc', +TDS with `source' diff --git a/Master/texmf-dist/doc/latex/morehype/SRCFILEs.txt b/Master/texmf-dist/doc/latex/morehype/SRCFILEs.txt deleted file mode 100644 index 70262047674..00000000000 --- a/Master/texmf-dist/doc/latex/morehype/SRCFILEs.txt +++ /dev/null @@ -1,21 +0,0 @@ - - *File List* - blog.sty 2011/08/31 v0.5 simple fast HTML (UL) -hypertoc.sty 2011/01/23 v0.1 pretty TOC links (UL) -texlinks.sty 2011/08/27 v0.4 TeX-related links (UL) -lnavicol.sty 2011/09/02 left navigation col. with blog.sty - lang-de.fdf 2011/05/12 German settings for blog.sty - lang-en.fdf 2011/01/25 English settings for blog.sty - blog.tex 2011/09/02 documenting blog.sty -hypertoc.tex 2011/01/27 documenting hypertoc.sty -texlinks.tex 2011/08/27 documenting texlinks.sty - README.tex 2011/02/14 make README.pdf -niceverb.sty 2011/08/20 v0.43 minimize doc markup (UL) - makedoc.cfg 2011/08/22 documentation settings -mdoccorr.cfg 2011/01/27 local typographical corrections with makedoc.sty -srcfiles.tex 2011/09/02 collect file infos - *********** - - List made at 2011/09/02, 18:39 - from script file srcfiles.tex - diff --git a/Master/texmf-dist/doc/latex/morehype/SrcFILEs.txt b/Master/texmf-dist/doc/latex/morehype/SrcFILEs.txt index 6ee33594801..c203cd6fc6b 100644 --- a/Master/texmf-dist/doc/latex/morehype/SrcFILEs.txt +++ b/Master/texmf-dist/doc/latex/morehype/SrcFILEs.txt @@ -1,25 +1,25 @@ *File List* - makedoc.sty 2011/08/22 v0.41a TeX input from *.sty (UL) + makedoc.sty 2011/10/12 v0.41b TeX input from *.sty (UL) niceverb.sty 2011/09/09 v0.44 minimize doc markup (UL) makedoc.cfg 2011/08/22 documentation settings -mdoccorr.cfg 2011/09/13 local typographical corrections with makedoc.sty +mdoccorr.cfg 2011/10/13 local typographical corrections with makedoc.sty srcfiles.tex 2011/10/10 file infos -> SrcFILEs.txt - blog.tex 2011/10/10 documenting blog.sty + blog.tex 2011/10/15 documenting blog.sty hypertoc.tex 2011/01/27 documenting hypertoc.sty texlinks.tex 2011/10/10 documenting texlinks.sty README.tex 2011/02/14 make README.pdf lang-de.fdf 2011/09/24 German settings for blog.sty lang-en.fdf 2011/01/25 English settings for blog.sty - blog.sty 2011/10/10 v0.5 simple fast HTML (UL) + blog.sty 2011/10/15 v0.61 simple fast HTML (UL) hypertoc.sty 2011/01/23 v0.1 pretty TOC links (UL) texlinks.sty 2011/10/10 v0.41 TeX-related links (UL) -lnavicol.sty 2011/10/10 left navigation column with blog.sty - blogdot.sty 2011/10/10 v0.2 HTML presentations (UL) - blogdot.cfg 2011/10/04 local blogdot.sty config - texblog.fdf 2011/10/08 extra blog settings +lnavicol.sty 2011/10/13 left navigation column with blog.sty + blogdot.sty 2011/10/15 v0.3 HTML presentations (UL) + blogdot.cfg 2011/10/14 local blogdot.sty config + texblog.fdf 2011/10/13 extra blog settings *********** - List made at 2011/10/10, 12:16 + List made at 2011/10/15, 20:00 from script file srcfiles.tex diff --git a/Master/texmf-dist/doc/latex/morehype/blog.pdf b/Master/texmf-dist/doc/latex/morehype/blog.pdf index 7b451832596..67d9a1cddc1 100644 Binary files a/Master/texmf-dist/doc/latex/morehype/blog.pdf and b/Master/texmf-dist/doc/latex/morehype/blog.pdf differ diff --git a/Master/texmf-dist/doc/latex/morehype/demo/texblog/makehtml.tex b/Master/texmf-dist/doc/latex/morehype/demo/texblog/makehtml.tex index e7fdcd7e868..74ed9b39a03 100644 --- a/Master/texmf-dist/doc/latex/morehype/demo/texblog/makehtml.tex +++ b/Master/texmf-dist/doc/latex/morehype/demo/texblog/makehtml.tex @@ -1,4 +1,4 @@ -\def \GenDate {2011/10/09} +\def \GenDate {2011/10/15} \ProvidesFile{makehtml.tex}[\GenDate\space HTML driver] \RequirePackage{blog,texlinks} \input{atari.fdf}\input{lang-en.fdf} diff --git a/Master/texmf-dist/doc/latex/morehype/demo/texblog/texblog.fdf b/Master/texmf-dist/doc/latex/morehype/demo/texblog/texblog.fdf deleted file mode 100644 index 90a42f8d01d..00000000000 --- a/Master/texmf-dist/doc/latex/morehype/demo/texblog/texblog.fdf +++ /dev/null @@ -1,257 +0,0 @@ -\ProvidesFile{texblog.fdf}[2011/08/31 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}} -\newcommand*{\texstylesheet}{\stylesheet{all}{plain}} -%% 2011/04/24: -\newcommand*{\TeXtopofpage}{%% 2011/06/19: - \topofpageline{\code{uwe_lueck} \code{>} }{\texmapName}} -\newcommand*{\texmapName}{texmap} -%% 2011/05/17: -\newcommand*{\reloadTeXtopofpage}[2]{% - \TeXtopofpage{\pardash\fileref\htmljob{\meta{#1}}}\pardash#2} -\newcommand*{\deTeXtopofpage}{\reloadTeXtopofpage{neu~laden}} -\newcommand*{\enTeXtopofpage}{\reloadTeXtopofpage{reload}} -\newcommand*{\textopofpage}{\TeXtopofpage{}} -% \newcommand*{\enreloadthis}{% %% 2011/05/14 -% \pardash\fileref{\htmljob}{reload}} -%% 2011/06/19: -\newcommand*{\topofpageline}[3]{% - \hanc{top-of-page}{% - \begin{small}% - #1% - \ifx\htmljob#2\else - \Fileref{#2} \code{>} \fi - \file\htmljob#3% - \end{small}}} -\newcommand*{\privtopofpage}[1]{% - \topofpageline{}{\privmapName}% - {\depardash\fileref{\htmljob}{\textit{neu~laden}}% - \depardash#1}} -\newcommand*{\privmapName}{privmap} - -%% body colors (started 2010/09/15): -\renewcommand*{\body}{} -\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 -% \newcommand*{\bodybgcolor}{\#f8f8ff} %% CSS ghostwhite 2011/07/31 -% \newcommand*{\bodybgcolor}{\#f0ffff} %% CSS azure 2011/08/01 -% \newcommand*{\bodybgcolor}{\#fdf5e6} %% CSS oldlace 2011/08/01 -% \newcommand*{\bodybgcolor}{\#fffafa} %% CSS snow 2011/07/31 -% \newcommand*{\bodybgcolor}{\#fafad2} %% CSS lightgol... 2011/07/31 -% \newcommand*{\bodybgcolor}{\#fffaf0} %% CSS floralwhite 2011/07/31 -% \newcommand*{\bodybgcolor}{\#ffffe0} %% CSS lightyellow 2011/07/31 -% \newcommand*{\bodybgcolor}{\#fbfff0} %% 2011/07/31 -% \newcommand*{\bodybgcolor}{\#fdffee} %% 2011/07/31 -% \newcommand*{\bodybgcolor}{\#fefedd} %% 2011/07/31 -% \newcommand*{\bodybgcolor}{\#fcfffc} %% 2011/07/31 -% \newcommand*{\bodybgcolor}{\#fbffff} %% 2011/07/30 -% \newcommand*{\bodybgcolor}{\#fffded} %% 2011/06/29 -% \newcommand*{\bodybgcolor}{\#fcffef} %% 2011/06/28 -% \newcommand*{\bodybgcolor}{\#ffffef} %% 2011/06/27 -% \newcommand*{\bodybgcolor}{\#ffffff} -% \newcommand*{\bodybgcolor}{\#ffffdd} %% 2010/11/17 -% \newcommand*{\bodybgcolor}{\#faffe7} %% 2010/11/17 -% \newcommand*{\bodybgcolor}{\#fcffe7} %% 2010/11/23 -% \newcommand*{\bodybgcolor}{\#fbfff0} %% 2010/11/23 -% \newcommand*{\bodybgcolor}{\#fbfffe} %% 2010/11/23 - -%% internal navigation: -\renewcommand*{\autref}[1]{\ancref{#1}{\code{#1}}} %% 2011/05/16 -% \renewcommand*{\autref}[1]{\ancref{#1}{\code{#1}}} %% 2011/05/16 -% \renewcommand*{\autref}[1]{\ancref{\lowercase{#1}}{#1}} - %% <- does not expand 2011/05/10 -\newcommand*{\Autref}[1]{\ancref{#1}{#1}} %% 2011/08/16 -%% click to move to top of window: %% 2011/07/25 -\newcommand*{\ancandref}[1]{\hancref{#1}{\##1}} %% 2011/07/04 -% \newcommand*{\lineanc}[1]{\TagSurr a{\@name{#1}}} -\newcommand*{\lineanc} [1]{\hanc{#1}{}} %% 2011/07/20 -%% TODO: one anchor element with more -%% than one name!? %% 2011/08/31 - -\newcommand*{\entotopofpage}{% - \rightpar{\ancref{top-of-page}{[\textit{\to~top~of~page}~]}}} -\newcommand*{\detotopofpage}{% - \rightpar{\ancref{top-of-page}{[\textit{\to Seitenanfang}\,]}}} -\newcommand*{\nextview}[1]{% %% corr. 2010/09/15 - \rightpar{\ancref{#1}{[\to}|% - \ancref{top-of-page}{~\uparrow~]}}} -\newcommand*{\Nextview}[1]{% %% 2011/05/12 - \nextview{#1}\hanc{#1}{}} -\newcommand*{\nextruleview}[1]{% %% 2010/09/15 - \nextview{#1}\hrule\hanc{#1}{}} -\newcommand*{\NRV}{\nextruleview} %% 2011/03/15 -%% Diary date sections: -\newcommand*{\datepar}[1]{% -% \endgraf\hanc{#1}{\latexdatepar#1\latexdatepar}}%% 2011/08/12: - \vspace{3} %%% 2011/08/16 \\% - \lineanc{\isodateplus#1\isodateplus}% - \lineanc{#1}% - \heading4{\isodateplus#1\isodateplus}} -%% #5 allows modifications like time, `b', `f.': -% \def\latexdatepar#1/#2/#3#4#5\latexdatepar{% -% \endgraf\heading4{#1-#2-#3#4#5}} -\def\isodateplus#1/#2/#3#4#5\isodateplus{% %% 2011/08/15 - #1-#2-#3#4#5} -\def\isodate#1/#2/#3#4{#1-#2-#3#4} -\newcommand*{\Isodate}{\expandafter\isodate} %% 2011/08/21 -\newcommand*{\isodateref}[1]{% %% 2011/08/19 - \ancref{#1}{\isodateplus#1\isodateplus}} -%% "kw" is "Kalenderwoche" (English term?) -\newcommand*{\kwsec}[1]{% %% 2011/08/24 -% \heading4{% - \endgraf - \vspace{9}\endgraf - \strong{% - \hanc{kw#1}% - {KW#1\quad\ancref{kw#1}{\gets}}}% -% \endgraf -} -\newcommand*{\kwrule}[1]{% %% 2011/08/27 - \nextview{kw#1}\hrule - \hanc{kw#1}{\SimpleTagSurr{big}{KW#1}}% -} -%% 2011/08/18 [private - 2011/08/26]: -\newcommand*{\geldpref}{\ancref{geld}{\euro}} -\newcommand*{\jobspref}{\autref{jobs}} - -%% internal/external 2011/08/17f.: -% \newcommand*{\emailpref}{\ancref{email}{E-M@il}} -\newcommand*{\emailpref}{% - \ancref{email}{@\,}|\httpref{web.de/fm}{\,fm}} -\newcommand*{\ausflwpref}{% - \autref{ausfl-w}\pardash\wetterwpref -%% 2011/08/22: - \pardash\vrnpref} -\newcommand*{\vrnpref}{% - \httpref{www.vrn.de/vrn/einfach-ankommen/fahrplanauskunft/}% - {VRN}} - -\renewcommand*{\vspace}[1]{% %% from "writings" 2011/08/16 - \startTable{\@height{#1}% - \@border{0}\@cellpadding{0}\@cellspacing{0}}% - \starttr\endtr\endTable} -%% page bottom: -\newcommand*{\enlastrev}{% - \rightpar{% -% \textit{Last~revised~\GenDate\ -% \textit{Last~generated~\GenDate\ - \textit{Last~generated~\Isodate\GenDate\ %% 2011/08/21 - \copyright~\href{contact.html}{% %% \href rm. `en' 2011/08/18 - Uwe~L\"uck}}}} %% \uml -> u 2011/03/04 -\newcommand*{\delastrev}{% - \rightpar{% -% \textit{Zuletzt neu erzeugt~\GenDate\ - \textit{Zuletzt neu erzeugt~\Isodate\GenDate\ %% 2011/08/21 - \copyright~\href{kontakt.html}{% %% \href, filename 2011/08/18 - Uwe~L\"uck}}}} %% \uml -> u 2011/03/04 -\newcommand*{\Hrule}{\totopofpage\hrule} -\newcommand*{\fivebreaks}{\\\\\\\\\\} %% TODO \vspace - -%% external navigation: -\newcommand*{\htext}{.htm} -\newcommand*{\Fileref}[1]{\fileref{#1}{\file{#1}}} %% 2010/09/10 -\newcommand*{\urlhref}[1]{\href{#1}{\urlfmt{#1}}} %% 2011/08/19 -\newcommand*{\siehewiki}[1]{% %% 2011/05/06 - \to\wikideref{#1}{\textit{Wikipedia}}} -\newcommand*{\wormsmusref}[1]{% %% 2011/04/30 - \httpref{www.worms.de/deutsch/kultur/museen/#1}} -%% 2011/08/18: -\newcommand*{\facebookpref}{% - \httpref{de-de.facebook.com}{facebook}} -\newcommand*{\wetterwpref}{% -% \hanc{wetter}{\mystrong{Wetter:}} -% \Endash \httpref{www.wetteronline.de/Rheinland-Pfalz/Worms.htm% -% }{\code{www.wetteronline.de}} -% \Endash \httpref{m.wetter.net/1686/Worms}{\code{m.wetter.net}} -% \Endash \httpref{www.wetteronline.de/dldlsat.htm% -% }{Satellitenbild} - \httpref{www.wetteronline.de/Rheinland-Pfalz/Worms.htm}{% - \code{wol} }| - \httpref{m.wetter.net/1686/Worms}{\code{mww} }| - \httpref{www.wetteronline.de/dldlsat.htm}{\code{sat}} -} -%% 2011/08/19: -\newcommand*{\webdesignref}[1]{% - \httpref{www.webdesign-bu.de/uwe_lueck/#1}} -\newcommand*{\webdesignurlref}[1]{% - \webdesignref{#1}% - {\urlfmt{www.webdesign-bu.de/uwe_lueck/#1}}} -%% TeX links: -\newcommand*{\CPR}{\ctanpkgref} %% 2011/03/15 -\newcommand*{\THPR}{\texhaxpref} %% 2011/03/15 -\newcommand*{\THpref}[1]{\texhaxpref{#1}{texhax}} %% 2011/03/24 -\newcommand*{\TOPref}[1]{\bytopicref{#1}{JF\##1}} %% 2011/04/22 -\newcommand*{\todobytopic}[1]{% %% 2011/04/22 - \myalert{\to\ \TOPref{#1}}} -\newcommand*{\UKFAQref}[1]{\ukfaqref{#1}{UK~FAQ}} %% 2011/01/03 - -%% font switching (logical): -\renewcommand*{\textsf}{% %% 2011/05/12 - \TagSurr{span}% - {style="font-size:82\%; - font-family:sans-serif"}} -\providecommand*{\file}{\code} %% provide 2011/03/07 -\newenvironment*{itquote}{\quote}{\endquote} -\newcommand*{\mystrong}{\textcolor{\#aa0000}} -\providecommand*{\myalert}{\textcolor{red}} -\newcommand*{\prl}[1]{#1} %% prg lang, corr. 2010/12/15 -\providecommand*{\pkg}{\pkgnamefmt} %% 2011/03/05 -\newcommand*{\privpkgnamefmt}[1]{% %% 2011/05/14 - \textcolor{\#006600}{\textsf{#1}}} -\newcommand*{\meta}{\textit} %% 2011/05/16 -% \newcommand*{\acro}[1]{\small#1\endsmall} %% 2011/06/19 -\newcommand*{\acro}[1]{#1} %% 2011/06/19 - -%% involving font switching for special purposes: %% 2011/07/25 -\newcommand*{\src}[1]{\STS{sup}{[#1]}} %% 2010/09/12 -\newcommand*{\idx}[1]{% %% 2010/11/23: - \textcolor{green}{\code{\lt#1\gt}}} -\providecommand*{\cb}[1]{\code{{#1}}} %% 2011/03/13 -\newcommand*{\itqtd}[1]{\textit{\dqtd{#1}}} %% 2011/05/03 -\newcommand*{\ancstrong}[2]{\hanc{#1}{\strong{#2}}} %% 2011/05/05 -% \newcommand*{\answer}[1]{[\textcolor{\#006600}{#1}]} -\newcommand*{\answer}[1]{\textcolor{\#006600}{[#1]}}%% 2011/07/19 -\newcommand*{\Answer}[1]{\answer{\,#1\,}} %% 2011/08/25 -\newcommand*{\planh}[1]{\answer{#1\,h}} %% 2011/08/18 -\newcommand*{\TODO}{\myalert{TODO}} %% 2011/05/07 - -%% dashes: -% \newcommand*{\enpardash}{\,\emdash\,} %% 2011/05/12 -\newcommand*{\enpardash}{\thinsp\Enpardash} %% 2011/07/28 -\newcommand*{\Enpardash}{\emdash\thinsp} %% 2011/07/28 -% \newcommand*{\depardash}{~\endash\ } %% 2011/05/12 -\newcommand*{\depardash}{\ \Endash} %% 2011/07/28 -\newcommand*{\Endash}{\endash\ } %% starting new line (German) - %% 2011/05/26 -\newcommand*{\enpardashed}[1]{% %% 2011/07/28 - \thinsp\emdash\,#1\,\Enpardash} -\newcommand*{\depardashed}[1]{% %% 2011/07/28 - \ \endash~#1~\Endash} -\def\endashed#1{\endash~#1~\endash} %% 2011/08/20 - -%% 2010/11/13 TODO -- catcodes.sty!?: -{\catcode`\"\active \gdef\catchdq#1"{\dqtd{#1}}} %% 2010/11/13 -\newcommand*{\Euro}{~\euro} %% mod. 2011/05/25 -%% avoiding spaces at code line breaks: -\newcommand*{\bcmt}{} %% 2011/05/02 -\newcommand*{\nix}[1]{} %% join lines without space 2011/07/24 -\newcommand*{\onehtmlline}[1]{#1} %% 2011/08/25 - -%% enumeration styles: -\makeatletter %% 2011/08/01 - \newenvironment{enumtype}[1]{
    } -\makeatother -\newenvironment{enumerate-a}{\enumtype a}% %% 2011/08/15 - {\endenumtype} -\newenvironment{enumerate-i}{\enumtype i}% %% 2011/08/17 - {\endenumtype} - -\newenvironment{done}{}{} %% 2011/08/15 -\newcommand*{\Dots}{~\dots\ } %% 2011/08/24 - -\endinput diff --git a/Master/texmf-dist/source/latex/morehype/blog.tex b/Master/texmf-dist/source/latex/morehype/blog.tex index 9b070325ef2..4e2663dda0e 100644 --- a/Master/texmf-dist/source/latex/morehype/blog.tex +++ b/Master/texmf-dist/source/latex/morehype/blog.tex @@ -1,4 +1,4 @@ -\ProvidesFile{blog.tex}[2011/10/10 documenting blog.sty] +\ProvidesFile{blog.tex}[2011/10/15 documenting blog.sty] \title{\textsf{blog.sty}\\---\\% Generating \HTML\ Quickly with \TeX\thanks{This document describes version @@ -9,10 +9,14 @@ \renewcommand\mdSectionLevelOne{\string\subsection} \renewcommand\mdSectionLevelTwo{\string\subsubsection} \MakeJobDoc{17}{\SectionLevelTwoParseInput} - \MakeCloseDoc{lnavicol} - \MakeCloseDoc{blogdot} +% \ProcessLineMessage{\message{.}} + \renewcommand\mdJobName{lnavicol} + \MakeJobDoc{17}{\SectionLevelTwoParseInput} + \renewcommand\mdJobName{blogdot} + \MakeJobDoc{17}{\SectionLevelTwoParseInput} } \documentclass[fleqn]{article}%% TODO paper dimensions!? +\sfcode`-=1001 %% 2011/10/15 \input{makedoc.cfg} %% shared formatting settings \ReadPackageInfos{blog} %% \tagcode seems to be a quite recent pdfTeX primitive, @@ -48,6 +52,9 @@ for generating \HTML\ code and entirely \emph{ignores} \TeX's typesetting capabilities.%%%---What about % such a ``small" \TeX\ with macros only and % \emph{no} typesetting capabilities ...!? +---'lnavicol.sty' adds a more \strong{professional} look +(towards CMS?), and 'blogdot.sty' uses 'blog.sty' +for \HTML\ \strong{beamer} presentations. \end{abstract} \tableofcontents @@ -190,7 +197,7 @@ Sec.~\ref{sec:example-lnavicol}. \ResetCodeLineNumbers \input{lnavicol.doc} -\section{Beamer Presentations with the 'blogdot' Package} +\section{Beamer Presentations with 'blogdot.sty'} \subsection{Overview} 'blogdot.sty' extends 'blog.sty' in order to construct ``\HTML\ slides." One ``slide" is a 3$\times$3 table such that @@ -205,7 +212,7 @@ Six \strong{size parameters} listed in Sec.~\ref{sec:dot-size} must be adjusted to the screen in `blogdot.cfg' (or in a file with project-specific definitions). -We deliver a file `blogdot.css' containing \strong{\acro{CSS}} font size +We deliver a file |blogdot.css| containing \strong{\acro{CSS}} font size declarations that have been used so far; you may find better ones or ones that work better with your screen size, or you may need to add style declarations for additional \HTML\ elements. @@ -247,7 +254,7 @@ horizontically (cf.~Sec.~\ref{sec:dot-type}): ``printing" a heading centered horizontically---even on slides whose remaining content is aligned \emph{flush left} (I have only used =2 so far), - \cmdboxitem|\begin{textblock}{width}| \ + \cmdboxitem|\begin{}{}| \ ``printing" the content of a `{textblock}' environment with maximum line width flush left, while that ``block" as a whole may be centered @@ -259,12 +266,12 @@ horizontically (cf.~Sec.~\ref{sec:dot-type}): \end{description} The so far single \strong{example} of a presentation prepared using 'blogdot' -is `dantev45.htm', a sketch of applying 'fifinddo' to package +is |dantev45.htm|, a sketch of applying 'fifinddo' to package documentation and \HTML\ generation. A ``driver" file is needed for generating the \HTML\ code for the presentation from a `.tex' source by analogy to generating any \HTML\ file using 'blog.sty'. For the latter purpose, I have named my driver files `makehtml.tex'. -For `dantev45.htm', I have called that file `makedot.tex', +For `dantev45.htm', I have called that file |makedot.tex|, the main difference to `makehtml.tex' is loading `blogdot.sty' in place of `blog.sty'. @@ -302,6 +309,43 @@ while generating \HTML\ with 'blog.sty' needs a fraction of a second;\ \ needed for slides is somewhat more straightforward with \HTML\ than with \TeX. +%% 2011/10/11, 2011/10/15: +\strong{Limitations:} \ +First I was happy about how it worked on my netbook, +but then I realized how difficult it is to present the ``slides" ``online." +Screen sizes (centering) are one problem. +(Without the ``restart" idea, this might be much easier.) +Another problem is that the ``hidden links" don't work with +\Wikienref{Internet Explorer} as they work with +\Wikienref{Firefox}, \Wikienref{Google Chrome}, and +\Wikiendisambref{Opera}{web browser}. +% I am now working at an easy choice of ``recompiling options." +And finally, in internet shops some +\HTML\ entities/symbols were not supported. +In any case I (again) became aware of the fact +that \HTML\ is not as \strong{``portable"} as \acro{PDF}. + +Some \strong{workarounds} are described in Sec.~\ref{sec:cfgs}. +|\FillBlogDotTypeArea| has two effects: \ (i)~providing an additional +link to the \emph{next} slide for MSIE, \ (ii)~\emph{widening} +and centering the \emph{type area} on larger screens +than the one which the presentation originally was made for. \ +An optional argument of |\TryBlogDotCFG| is offered for a `.cfg' file +overriding the original settings for the presentation. +Using it, I learnt that for ``portability," some manual line breaks +(`\\', \xmltagcode{br}) should be replaced by ``ties" between the +words \emph{after} the intended line break +(when the line break is too ugly in a wider type area). +For keeping the original type area width on wider screens +(for certain ``slides", perhaps when line breaks really are wanted + to be preserved), the |{textblock}| environment may be used. +Better \HTML\ and \acro{CSS} expertise may eventually +lead to better solutions. + +The \strong{name} \qtd{blogdot} is a ``pun" on the name of the +\ctanpkgref{powerdot} package (which in turn refers to +``\Wikienref{PowerPoint}"). + \subsection{File Header} \ResetCodeLineNumbers \input{blogdot.doc} @@ -324,3 +368,6 @@ with morehype RELEASE r0.4 2011/10/07f. blogdot 2011/10/09 lnavicol 2011/10/10 tuning; reasons for blogdot +2011/10/11 limitations of blogdot, corrected makedoc code +2011/10/15 more on limitations of blogdot; + abstract on lnavicol and blogdot diff --git a/Master/texmf-dist/tex/latex/morehype/blog.sty b/Master/texmf-dist/tex/latex/morehype/blog.sty index 5ff71be95e2..bcf0bc0d0ac 100644 --- a/Master/texmf-dist/tex/latex/morehype/blog.sty +++ b/Master/texmf-dist/tex/latex/morehype/blog.sty @@ -1,5 +1,5 @@ \NeedsTeXFormat{LaTeX2e}[1994/12/01] %% \newcommand* etc. -\ProvidesPackage{blog}[2011/10/10 v0.5 simple fast HTML (UL)] +\ProvidesPackage{blog}[2011/10/15 v0.61 simple fast HTML (UL)] %% copyright (C) 2010 2011 Uwe Lueck, %% http://www.contact-ednotes.sty.de.vu %% -- author-maintained in the sense of LPPL below. @@ -401,8 +401,11 @@ %% The indent could be increased for nested lists %% if we supported assignments with `\begin' and `\end'. %% 2011/10/04 including \xmltagcode{}, -%% repairs more links in \acro{DANTE} talk: -\renewcommand*{\item}{\indenti
  1. } +%% repairs more links in \acro{DANTE} talk +%% (missing again 2011/10/11!?): +\renewcommand*{\item}{% + \indenti
  2. \CLBrk %% 2011/10/11 + \indenti
  3. } %% \LaTeX's |{description}| environment redefines the %% label format for the optional argument of `\item'. %% Again, \emph{we} cannot do this here @@ -485,12 +488,17 @@ %% 'blog.sty' currently (even 2011/01/24) implements my style %% \emph{not} to open a new browser window or tab for \emph{local} %% files but to open a new one for \emph{remote} files, i.e., -%% when a file is addressed by a full URL. For the latter case, -%% there is \[|\httpref{}{}|\] making -%% a link to `http://': -% \newcommand*{\httpref}[1]{\href{http://#1}} -\newcommand*{\httpref}[1]{% %% 2010/04/11 - \TagSurr a{\@href{http://#1" target="_blank}}} +%% when a file is addressed by a full URL. +%% This may change (as with 'blogdot.sty', 2011/10/12, +%% or more generally with local non-\HTML\ files), +%% so let us have a backbone +%% |\hnewref{}{}{}| +%% makes a link to : +\newcommand*{\hnewref}[2]{% + \TagSurr a{\@href{#1#2" target="_blank}}} +%% So \[|\httpref{}{}|\] +%% makes a link to \urlfmt{http://}: +\newcommand*{\httpref}{\hnewref{http://}} %% With v0.4, macros based on `\httpref' are moved to 'texlinks.sty': \RequirePackage[blog]{texlinks}[2011/02/10] %% Former |\urlref| appears as |\urlhttpref| there ... @@ -503,9 +511,7 @@ %% |\NormalHTTPref| of `\httpref': \@ifdefinable \NormalHTTPref {\let\NormalHTTPref\httpref} %% |\httpsref| is the analogue of `\httpref' for `https://': -\newcommand*{\httpsref}[1]{% %% 2011/06/27 - \TagSurr a{\@href{https://#1" target="_blank}}} -%% +\newcommand*{\httpsref}{\hnewref{https://}} %% %% == Characters/Symbols == %% `Symbols' until 2011/09/25 %% === Basic Preliminaries === @@ -824,9 +830,14 @@ \newcommand*{\@frame@groups}{\@frame{groups}} \newenvironment{allrulestable}[2] {\startTable{\@cellpadding{#1} \@width{#2} - \@frame@box rules="all"}\CLBrk - \indenti} - {\indenti\CLBrk\endTable} + \@frame@box\ rules="all"}\CLBrk %% \ 2011/10/12 + \indenti\tbody} %% <- tbody 2011/10/13 -> + {\indenti\endtbody\CLBrk\endTable} +%% \xmltagcode{tbody}...\xmltagcode{/tbody} seemed to be +%% better with `\HVspace' for 'blogdot.sty', %% 2011/10/13 +%% so it gets a macro: +\useHTMLelement{tbody}{tbody} +%% %% === Rows === %% I first thought it would be good for readability if %% some \HTML\ comments explain nesting or briefly describe @@ -886,6 +897,34 @@ \newcommand*{\FillRow}[2]{\indentiii\startTd{\@colspan{#1} #2}\endTd} \newcommand*{\fillrow}[1]{\FillRow{#1}{}} \newcommand*{\fillrowcolor}[2]{\FillRow{#1}{\@bgcolor{#2}}} +%% === Skipping Tricks === +%% %% 2011/10/13 +%% |\HVspace{}{}{}| may change, +%% needed for 'blogdot.sty' but also for |\vspace{}| +%% with 'texblog'. It is now here so I will be careful +%% when I want to change something. \xmltagcode{tbody} +%% improved the function of `\HVspace' constructions +%% as link text with 'blogdot.sty'. +\newcommand*{\HVspace}[3]{% + \CLBrk + \startTable{\@width{#2} \@height{#3} + \@border{0} + \@cellpadding{0} \@cellspacing{0}}% + \tbody + \CLBrk %% 2011/10/14 + \tablerow{HVspace}% %% 2011/10/13 +%% <- inserting text at top for 'blogdot' attempts---that +%% finally did not help anything (2011/10/15) -> + \simplecell{#1}% + \endtablerow %% 2011/10/13 + \CLBrk %% 2011/10/14 + \endtbody + \endTable + \CLBrk} +%% |\hvspace{}{}| ...: +\newcommand*{\hvspace}{\HVspace{}} +%% |\vspace{}| ... (TODO: `{0}'!?): +\renewcommand*{\vspace}[1]{\hvspace{}{#1}} %% %% == Misc == %% |\comment{}| produces a one-line \HTML\ comment. @@ -1014,10 +1053,15 @@ v0.6 2011/09/08 doc. uses \HTML, \lq/\rq with ˆ, 2011/09/27 "universal" attributes completed, reworked doc. 2011/09/30 end lists with
  4. 2011/10/01 \dagger, \ddagger - 2011/10/04 \item includes + 2011/10/04 \item includes [2011/10/11: ???] 2011/10/05 {style}; doc. \acronym -> \acro, \pagebreak, rm. \description; {center} accesses
    , \useHTMLenvironment replaces \declareHTMLelement and \renderHTMLelement, message "generating" 2011/10/07 \emptycell 2011/10/10 doc.: page breaks, $$->\[/\] +part of MOREHYPE RELEASE r0.5 +v0.61 2011/10/11 in \item again, \Provides... v wrong + 2011/10/12 \hnewref, `\ ' in allrulestable + 2011/10/14 \CLBrk's + 2011/10/15 doc. note on \HVspace/blogdot diff --git a/Master/texmf-dist/tex/latex/morehype/blogdot.cfg b/Master/texmf-dist/tex/latex/morehype/blogdot.cfg new file mode 100644 index 00000000000..1970295d15a --- /dev/null +++ b/Master/texmf-dist/tex/latex/morehype/blogdot.cfg @@ -0,0 +1,30 @@ +\ProvidesFile{blogdot.cfg}[2011/10/14 local blogdot.sty config] +%% (U.L.:) For my 1024$\times$600 screen +%% (with Mozilla Firefox~3.6.22 for Ubuntu canonical~-~1.0), +%% the following choice of `\leftpagemargin' worked best +%% for my goal of 640px type area width. +%% (Finally it turned out that I needed more.) +%% When I increased it, actually the left margin shrunk. +%% I am not an HTML expert. I also tried increasing +%% body width (and "center" value of @align), in vain. +\renewcommand*{\leftpagemargin}{176} +% \renewcommand*{\rightpagemargin}{\leftpagemargin} +% \renewcommand*{\upperpagemargin}{80} +%% I prepared my presentation for a screen of +%% 600px height and tried to confine myself to a +%% type area height of 440px; a lower margin of 504px would hide +%% the next "page"/"slide" even on a screen 1024px high: +% \renewcommand*{\lowerpagemargin}{504} +% \renewcommand*{\typeareawidth}{640} +% \renewcommand*{\typeareaheight}{440} +% \ShowBlogDotBorders +% \ShowBlogDotFrame +%% Overall background color: +% \renewcommand*{\bodybgcolor}{\#ffffff} +%% Language choices: +% \input{lang-de.fdf} +% \input{lang-en.fdf} +%% ... `blogdot.cfg' may be a good idea for general settings; +%% recompiling the presentation of a given document source +%% `.tex' may better be controlled in a file `.cfg' ... +\endinput diff --git a/Master/texmf-dist/tex/latex/morehype/blogdot.sty b/Master/texmf-dist/tex/latex/morehype/blogdot.sty index 08f4779a099..699cb64805a 100644 --- a/Master/texmf-dist/tex/latex/morehype/blogdot.sty +++ b/Master/texmf-dist/tex/latex/morehype/blogdot.sty @@ -1,5 +1,5 @@ \NeedsTeXFormat{LaTeX2e}[1994/12/01] %% \newcommand* etc. -\ProvidesPackage{blogdot}[2011/10/10 v0.2 HTML presentations (UL)] +\ProvidesPackage{blogdot}[2011/10/15 v0.3 HTML presentations (UL)] %% copyright (C) 2011 Uwe Lueck, %% http://www.contact-ednotes.sty.de.vu %% -- author-maintained in the sense of LPPL below. @@ -30,11 +30,14 @@ %% \end{quote} %% mean. %% The choices are what I thought should work best -%% on my 1024$\times$600 screen; but I had to optimize -%% the left and right margins experimentally -%% (with Mozilla Firefox~3.6.22 for Ubuntu canonical~-~1.0); -%% see `blogdot.cfg': -\newcommand*{\leftpagemargin}{192} +%% on my 1024$\times$600 screen (in fullscreen mode); +%% but I had to optimize the left and right margins experimentally +%% (with Mozilla Firefox~3.6.22 for Ubuntu canonical~-~1.0). +%% It seems to be best when the horizontal parameters +%% together with what the brouswer adds +%% (scroll bar, probably 32px with me) +%% sum up to the screen width. +\newcommand*{\leftpagemargin}{176} \newcommand*{\rightpagemargin}{\leftpagemargin} %% So |\rightpagemargin| ultimately is the same as %% |\leftpagemargin| as long as you don't redefine it, @@ -58,6 +61,16 @@ % \renewcommand*{\body}{% % \CLBrk % } +%% |\CommentBlogDotWholeWidth| procuces no \HTML\ code ... +\global\let\BlogDotWholeWidth\@empty +%% ... unless calculated with |\SumBlogDotWidth|: +\newcommand*{\SumBlogDotWidth}{{% + \count@\typeareawidth + \advance\count@ \leftpagemargin + \advance\count@\rightpagemargin + \typeout{ * blogdot slide width = \the\count@\space*}% + \xdef\CommentBlogDotWholeWidth{% + \comment{ slide width = \the\count@\ }}}} %% %% == (Backbone for) Starting a ``Slide" == %% \label{sec:dot-start} @@ -65,7 +78,8 @@ \newcommand*{\startscreenpage}[2]{%% 0 2011/09/25!?: \startTable{% \@cellpadding{0} \@cellspacing{0}% - \maybe@showmargins + \maybe@blogdot@borders %% 2011/10/12 + \maybe@blogdot@frame %% 2011/10/14 }% \CLBrk %% 2011/10/03 \starttr @@ -88,17 +102,9 @@ %% Final cell of first row determines right margin width: \startTd{\@width{\leftpagemargin}}\endTd \endtr -% \tablerow{#1}% \starttr \emptycell\startTd{\@height{\typeareaheight}#1}% } -%% |\ShowBlogDotMargins| shows borders of the page margins: -%% %% 2011/10/03 -\let\maybe@showmargins\@empty -\newcommand*{\ShowBlogDotMargins}{% - \def\maybe@showmargins{\@frame@box rules="all"}} -%% However, the rules seem to affect horizontal positions ... -%% %% |\titlescreenpage| (`\STARTscreenpage' TODO?) %% 2011/10/03 %% opens the title page (I thought). To get it to your screen, %% (make and) click a link like @@ -115,20 +121,26 @@ %% The corner at its right is a link to the anchor to whose name %% |\BlogDotRestart| expands. \newcommand*{\screenbottom}[1]{% + \ifFillBlogDotTypeArea +

    \ancref{#1}{\BlogDotFillText}% + \fi \endTd\emptycell \endtr \CLBrk - \starttr + \tablerow{bottom margin}% %% 2011/10/13 \emptycell \CLBrk - \simplecell{\ancref{#1}% - {\hvspace{\typeareawidth}% - {\lowerpagemargin}}}% + \startTd{\@align@c}% + \ancref{#1}{\HVspace{\BlogDotBottomFill}% +%% <- seems to be useless now (2011/10/15). + {\typeareawidth}% + {\lowerpagemargin}}% + \endTd \CLBrk \simplecell{\ancref{\BlogDotRestart}% {\hvspace{\rightpagemargin}% {\lowerpagemargin}}}% - \endtr + \endtablerow \CLBrk \endTable } @@ -163,7 +175,7 @@ %% this way too difficult, and you may prefer to declare this %% right in the \HTML\ code. That's what I do! I use %% |\cheading{}{}| for this purpose. -\newcommand*{\cheading}[1]{\TagSurr{h#1}{\@align@c}} +\newcommand*{\cheading}[1]{\CLBrk\TagSurr{h#1}{\@align@c}} %% |\begin{textblock}{}| opens a |{textblock}| %% environment. The latter will contain text that will be flush left %% in a narrower text area---of width ---than the one @@ -179,22 +191,102 @@ {\startTable{\@width{#1}}\starttr\startTd{}} {\endTd\endtr\endTable} %% -%% == Test for `blogdot.cfg' == -\InputIfFileExists{blogdot.cfg}{% - \typeout{ - * Using local settings from \string`blogdot.cfg\string' *}% -}{} -%% == The End == -\endinput +%% == Debugging and `.cfg's == +%% \label{sec:cfgs} +%% |\ShowBlogDotBorders| shows borders of the page margins +%% and may be undone by |\DontShowBlogDotBorders|: +\newcommand*{\ShowBlogDotBorders}{% + \def\maybe@blogdot@borders{rules="all"}} +\newcommand*{\DontShowBlogDotBorders}{% + \let\maybe@blogdot@borders\@empty} +\DontShowBlogDotBorders +%% %% 2011/10/14: +%% |\ShowBlogDotFrame| shows borders of the page margins +%% and may be undone by |\DontShowBlogDotFrame|: +\newcommand*{\ShowBlogDotFrame}{% + \def\maybe@blogdot@frame{\@frame@box}} +\newcommand*{\DontShowBlogDotFrame}{% + \let\maybe@blogdot@frame\@empty} +\DontShowBlogDotFrame +%% However, the rules seem to affect horizontal positions ... +%% +%% |\BlogDotFillText| is a dirty trick ... seems to widen +%% %% doc. extended 2011/10/13 +%% the type area and this way centers the text on wider screens +%% than the one used originally. Of course, this can corrupt +%% intended line breaks. +\newcommand*{\BlogDotFillText}{% %% 2011/10/11 + \center + \BlogDotFillTextColor{% %% 2011/10/12 +% X\\X %% insufficient + X X X X X X X X X X X X X X X X X X X X + X X X X X X X X X X X X X X X X X X X X + X X X X X X X X X X + X X X X X X X X X X +% X X X X X X X X X X X X X X X X X X X X + } + \endcenter +} +%% |\FillBlogDotTypeArea| fills `\BlogDotFillText' into the +%% type area, also as a link to the next slide. This may widen +%% the type area so that the text is centered on wider screens +%% than the one the \HTML\ page was made for. The link may serve +%% as an alternative to the bottom margin link +%% (which sometimes fails). It can be undone +%% by |\DontFillBlogDotTypeArea|: +\newcommand*{\FillBlogDotTypeArea}{% + \let\ifFillBlogDotTypeArea\iftrue + \typeout{ * blogdot filling type area *}} %% 2011/10/13 +\newcommand*{\DontFillBlogDotTypeArea}{% + \let\ifFillBlogDotTypeArea\iffalse} +\DontFillBlogDotTypeArea +%% |\FillBlogDotBottom| fills `\BlogDotFillText' into the +%% center bottom cell. I tried this before `\FillBlogDotTypeArea' +%% and I am not sure ... \ It can be undone by +%% |\DontFillBlogDotBottom|: +\newcommand*{\FillBlogDotBottom}{% + \let\BlogDotBottomFill\BlogDotFillText} +%% ... actually, it doesn't seem to make a difference! +%% (2011/10/13) +\newcommand*{\DontFillBlogDotBottom}{\let\BlogDotBottomFill\@empty} +\DontFillBlogDotBottom +%% |\DontShowBlogDotFillText| makes `\BlogDotFillText' invisible,\\ +%% |\ShowBlogDotFillText| makes it visible: +\newcommand*{\DontShowBlogDotFillText}{% + \def\BlogDotFillTextColor{\textcolor{\bodybgcolor}}} +\newcommand*{\ShowBlogDotFillText}{% + \def\BlogDotFillTextColor{\textcolor{red}}} +\DontShowBlogDotFillText +%% |\TryBlogDotCFG| looks for `blogdot.cfg', +%% |\TryBlogDotCFG[]| +%% looks for `.cfg' +%% (for recompiling a certain file): +\newcommand*{\TryBlogDotCFG}[1][blogdot]{% + \InputIfFileExists{#1.cfg}{% + \typeout{ + * Using local settings from \string`#1.cfg\string' *}% + }{}% +} +\TryBlogDotCFG %% -%% == VERSION HISTORY == +%% == The End and HISTORY == +\endinput +%% VERSION HISTORY v0.1 2011/09/21f. started 2011/09/25 spacing/padding off 2011/09/27 \CLBrk 2011/09/30 \BlogDotRestart + used for DANTE meeting v0.2 2011/10/03 four possibly independent page margin parameters; \hvspace moves to texblog.fdf 2011/10/04 renewed \body commented out 2011/10/07 documentation 2011/10/08 added some labels 2011/10/10 v etc. in \ProvidesPackage + part of morehype RELEASE r0.5 +v0.3 2011/10/11 \HVspace, \BlogDotFillText + 2011/10/12 commands for \BlogDotFillText + 2011/10/13 more doc. on "debugging"; + \ifFillBlogDotTypeArea, \tablerow, messages + 2011/10/14 \maybe@blogdot@frame + 2011/10/15 doc. note: \HVspace useless diff --git a/Master/texmf-dist/tex/latex/morehype/lnavicol.sty b/Master/texmf-dist/tex/latex/morehype/lnavicol.sty index 6648814f3bc..f8a4cb399c3 100644 --- a/Master/texmf-dist/tex/latex/morehype/lnavicol.sty +++ b/Master/texmf-dist/tex/latex/morehype/lnavicol.sty @@ -1,4 +1,4 @@ -\ProvidesPackage{lnavicol}[2011/10/10 +\ProvidesPackage{lnavicol}[2011/10/13 left navigation column with blog.sty] %% %% Copyright (C) 2011 Uwe Lueck, @@ -81,7 +81,7 @@ %% with style settings