diff options
author | Karl Berry <karl@freefriends.org> | 2011-10-16 22:25:43 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2011-10-16 22:25:43 +0000 |
commit | aa467adcb6fa142686fa83b549b69a1d51e49d34 (patch) | |
tree | 51cb8d6573ad4861f701f87a538e6afa8a3cddbb /Master/texmf-dist/source/latex/morehype | |
parent | e37d3f4634ed187dba355c4ce6e005f86c7376f4 (diff) |
morehype (16oct11)
git-svn-id: svn://tug.org/texlive/trunk@24303 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/latex/morehype')
-rw-r--r-- | Master/texmf-dist/source/latex/morehype/blog.tex | 63 |
1 files changed, 55 insertions, 8 deletions
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 <digit>=2 so far), - \cmdboxitem|\begin{textblock}{width}| \ + \cmdboxitem|\begin{<textblock>}{<width>}| \ ``printing" the content of a `{textblock}' environment with maximum line width <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 |