summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/morehype/blogdemo/hellowor/mkhellow.tex
diff options
context:
space:
mode:
Diffstat (limited to 'macros/latex/contrib/morehype/blogdemo/hellowor/mkhellow.tex')
-rw-r--r--macros/latex/contrib/morehype/blogdemo/hellowor/mkhellow.tex20
1 files changed, 20 insertions, 0 deletions
diff --git a/macros/latex/contrib/morehype/blogdemo/hellowor/mkhellow.tex b/macros/latex/contrib/morehype/blogdemo/hellowor/mkhellow.tex
new file mode 100644
index 0000000000..ac9eac4d24
--- /dev/null
+++ b/macros/latex/contrib/morehype/blogdemo/hellowor/mkhellow.tex
@@ -0,0 +1,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