summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/morehype/blogdemo/hellowor/mkhellow.tex
blob: ac9eac4d246326389a292ef2467c7b72af30de56 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
\ProvidesFile{mkhellow.tex}[2012/11/30 blog demo]
\RequirePackage[ligs,mark]{blog}     %% general HTML generation
\BlogInterceptEnvironments*          %% ... using blogexec.sty
\UseBlogLigs                         %% smart markup
\RequirePackage{texlinks}            %% basic link shorthands
\RequirePackage{langcode}            %% \uselangcode...
\RequirePackage{catchdq}             %% " typographically
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% \input{jobname}                      %% call by "echo"
\newcommand{\htmljob}                %% choose filename base
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
{hellowor}                           %% "Hello world!"
% {hallow} \uselangcode{de}            %% "Hallo Welt!"
% {markblog}                           %% easy syntax overview
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\ResultFile{\htmljob.htm}
\BlogProcessFinalFile[%\TextCodes     %% encoding settings
                      \catchdqs]     %% " typographically 
                     {\htmljob.tex}
\stop                                %% stop LaTeX run