summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/morehype/blogdemo
diff options
context:
space:
mode:
Diffstat (limited to 'macros/latex/contrib/morehype/blogdemo')
-rw-r--r--macros/latex/contrib/morehype/blogdemo/hellowor/hellowor.htm12
-rw-r--r--macros/latex/contrib/morehype/blogdemo/hellowor/hellowor.tex6
-rw-r--r--macros/latex/contrib/morehype/blogdemo/hellowor/mkhellow.tex20
-rw-r--r--macros/latex/contrib/morehype/blogdemo/writings/makehtml.tex45
-rw-r--r--macros/latex/contrib/morehype/blogdemo/writings/schreibt.tex27
-rw-r--r--macros/latex/contrib/morehype/blogdemo/writings/writings.fdf130
6 files changed, 240 insertions, 0 deletions
diff --git a/macros/latex/contrib/morehype/blogdemo/hellowor/hellowor.htm b/macros/latex/contrib/morehype/blogdemo/hellowor/hellowor.htm
new file mode 100644
index 0000000000..72193c042f
--- /dev/null
+++ b/macros/latex/contrib/morehype/blogdemo/hellowor/hellowor.htm
@@ -0,0 +1,12 @@
+<!DOCTYPE html>
+<!-- generated from
+
+ hellowor.tex, 2012/11/29 hello world source,
+
+ with blog.sty, 2012-11-30 -->
+<html><head>
+ <title>Hello world!</title>
+</head><body>
+Hello <a href="http://en.wikipedia.org/wiki/world" target="_blank">world</a>!
+</body></html>
+
diff --git a/macros/latex/contrib/morehype/blogdemo/hellowor/hellowor.tex b/macros/latex/contrib/morehype/blogdemo/hellowor/hellowor.tex
new file mode 100644
index 0000000000..1f7453ba6a
--- /dev/null
+++ b/macros/latex/contrib/morehype/blogdemo/hellowor/hellowor.tex
@@ -0,0 +1,6 @@
+\ProvidesFile{hellowor.tex}[2012/11/30 hello world source]
+\head
+\title{Hello world!}
+\body
+Hello [[world]]!
+\finish
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
diff --git a/macros/latex/contrib/morehype/blogdemo/writings/makehtml.tex b/macros/latex/contrib/morehype/blogdemo/writings/makehtml.tex
new file mode 100644
index 0000000000..e321fd9b9f
--- /dev/null
+++ b/macros/latex/contrib/morehype/blogdemo/writings/makehtml.tex
@@ -0,0 +1,45 @@
+\def \GenDate {2012/08/02} %%% {2012/06/07} {2011/11/01}
+\ProvidesFile{makehtml.tex}
+ [\GenDate\space TeX engine for "writings"]
+%% reworked 2012/03/13:
+\RequirePackage[autopars]{blog}[2011/11/20] %% auto 2012/08/02
+\BlogInterceptEnvironments*
+\RequirePackage{texlinks,lnavicol}
+\input{atari_ht.fdf} %% 2012/06/07
+\input{writings.fdf}
+\NoBlogLigs %% 2012/03/14 TODO remove HTML comments
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\input{jobname}
+% \def \htmljob
+% {_sitemap}
+% {index} \BlogAutoPars
+% {schreibt} \uselangcode{de} \BlogAutoPars %% mod. 2012/02/04
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% {about} \BlogAutoPars
+% {contact} % \tighttrue
+% {kontakt} \uselangcode{de} % \tighttrue
+% {tutor} \uselangcode{de} \BlogAutoPars \deeptrue
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% {writings} \BlogAutoPars \deeptrue
+% {repres} \BlogAutoPars \deeptrue
+% {critedl} \BlogAutoPars \deeptrue
+% {ednworks} \BlogAutoPars
+% {public} \BlogAutoPars \deeptrue
+% {texproj} \BlogAutoPars % \deeptrue
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+\ResultFile{\htmljob\htmakeext}
+\WriteResult\writdoctype %% TODO
+% \BlogCopyFile[\TextCodes %% \BlogIntercept:
+\BlogProcessFile[\TextCodes %% 2012/03/13
+ \MakeActiveDef\"{\catchdq}% %% TODO attributes!?
+ ]{\htmljob.tex}
+\WriteResult{\PAGEFOOT}
+\WriteResult{\indentii\rainermaster}
+\WriteResult{\indentii\\}
+\WriteResult{\indentii\ueberseeport} %% TODO BlogLigs!?
+\WriteResult{\PAGEEND}
+\ifdeep \WriteResult{\indenti\vspace{280}} \fi
+\WriteResult{\finish}
+\CloseResultFile
+\stop
diff --git a/macros/latex/contrib/morehype/blogdemo/writings/schreibt.tex b/macros/latex/contrib/morehype/blogdemo/writings/schreibt.tex
new file mode 100644
index 0000000000..5784f9ce74
--- /dev/null
+++ b/macros/latex/contrib/morehype/blogdemo/writings/schreibt.tex
@@ -0,0 +1,27 @@
+\ProvidesFile{schreibt.tex}[2011/08/19 f. schreibt.html]
+\head \charset{ISO-8859-1}
+ \writrobots
+ \writstylesheets
+\title{\Uwe\ schreibt} \body \writtopofpage
+\PAGEHEAD
+ \headuseskiptitle{%
+ \timecontimgref{writings}{0}{Zeit-Logo}{Russells Zeit}%
+ }{10}{\Uwe\ \dqtd{schreibt}}
+\PAGENAVI
+ \fileitem{writings}{Intervallordnungen (Mathematik~etc.)}
+ \fileitem{public}{Publikationen}
+ \hrule
+ \fileitem{critedltx}{Softwarepakete f\"ur kritische Editionen}
+ \fileitem{texproj}{TeX-Projekte} %%% Makro-Projekte}
+ \hrule
+ \fileitem{tutor}{Mathe-Tutor}
+ \indentii\item\href{texmap.htm}{Notizen}
+ \hrule
+ \deFIabout \deFIkontakt
+\PAGEMAIN
+\strong{Wissenschaft:}\enspace Diese Seiten entstanden zuerst
+zur Pr„sentation zweier ETC.
+
+\rightpar{\textit{Worms-Pfeddersheim, den 19.~August 2011,\\\Uwe}}
+% \rightpar{\textit{Mnchen, den 31.~Juli 2011,\\\Uwe}}
+ %% <- TODO VERSION
diff --git a/macros/latex/contrib/morehype/blogdemo/writings/writings.fdf b/macros/latex/contrib/morehype/blogdemo/writings/writings.fdf
new file mode 100644
index 0000000000..ec37c22874
--- /dev/null
+++ b/macros/latex/contrib/morehype/blogdemo/writings/writings.fdf
@@ -0,0 +1,130 @@
+\ProvidesFile{writings.fdf}[2012/03/13 writings blog settings]
+\input{texblog.fdf}
+\renewcommand*{\htext}{.html} %% vs. texblog.fdf 2011/08/31
+% \newcommand*{\htmakeext}{.htm} %% rm. 2011/10/09
+%% PAGE STYLE SETTINGs:
+\renewcommand*{\bodybgcolor}{\#5c8a5c} %% 2012/03/13
+ %% <- TODO or leave for .css
+\newcommand*{\pagebgcolor}{\#f5f5f5} %% CSS whitesmoke
+% \@bgcolor{\#fafafa} %% needs adjusting logos
+\makeatletter %% 2011/09/01
+ \newcommand*{\pagespacing}{\@cellpadding{4} \@cellspacing{7}}
+\makeatother
+\newcommand*{\pagenavicolwidth}{125}
+\newcommand*{\pagemaincolwidth}{584}
+\newcommand*{\pagewholewidth} {792}
+
+%% writings FIRST FILE LINEs
+%% (TODO: from makehtml.tex without macros, then remove ...):
+\newcommand*{\writdoctype}{%
+ <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">}
+\newcommand*{\writrobots}{\robots{index,follow,noarchive}}
+\newcommand*{\writstylesheets}{% %% order 2011/04/28b
+ \stylesheet{all}{style_ns}^^J\stylesheet{screen}{style}}
+\newcommand*{\writtopofpage}{\hanc{top}{}}
+
+%% font switching:
+\providecommand*{\pkg}{\pkgnamefmt} %% 2011/03/05
+%% 2011/07/31:
+% \newcommand*{\mystrong}{\textcolor{\#aa0000}}
+% \newcommand*{\mystrong}{\textcolor{\#008000}}
+% \newcommand*{\mystrong}[1]{\textbf{\textcolor{\#006600}{#1}}}
+% \newcommand*{\mystrong}{\textcolor{\#882200}}
+% \newcommand*{\mystrong}{\textcolor{\#008800}}
+% \newcommand*{\mystrong}{\textcolor{\#118811}} %% 2011/08/01
+\renewcommand*{\mystrong}[1]{% %% vs. texblog.fdf 2011/08/31
+ \textbf{\textcolor{\#008800}{#1}}}
+\newcommand*{\privrem}[1]{\textcolor{\#117711}{[\,#1\,]}}
+
+%% writings head macros:
+\newcommand*{\timecontimgref}{%
+ \inclgrfref{254}{94}{timecont.gif}}
+\newcommand*{\nothingimgref} {%
+ \inclgrfref{250}{49}{nothing250.png}}
+\newcommand*{\usednotimgref} {%
+ \inclgrfref{300}{29}{usednot300.png}}
+\newcommand*{\detimefimg}{%
+ \timecontimgref{schreibt}{0}{Zeit-Logo}%
+ {Russells Zeit | zu U.L.s Homepage}}
+\newcommand*{\enusednotfimg}{%
+ \usednotimgref{index}{0}{ednotes logo}{to U.L.'s home page}}
+\newcommand*{\ennothingfimg}{%
+ \nothingimgref{index}{0}{ednotes sample}%
+ {ednotes sample | to U.L.'s home page}}
+\newcommand*{\entimefimg}{%
+ \timecontimgref{index}{0}{time logo}%
+ {Russell's time | go to U.L.'s home page}}
+
+%% writings navigation macros:
+\newcommand*{\fileitem}{\indentii\item\fileref}
+\newcommand*{\deFIschreibt}{%
+ \fileitem{schreibt}{%
+% U.L.s Schriften~\endash\
+ U.L. schreibt~\endash\
+ \strong{Homepage}}}
+\newcommand*{\deFIabout}{%
+ \fileitem{about}%
+ {\strong{About}
+ myself\quad\simpleinclgrf{flag_uk.gif}}}
+\newcommand*{\deFIkontakt}{%
+ \fileitem{kontakt}{\strong{Kontakt}}}
+\newcommand*{\enFIindex}{%
+ \fileitem{index}{U.L.'s writings~\endash\ \strong{home}}}
+\newcommand*{\enFIabout}{%
+ \fileitem{about}{\strong{About} myself}}
+\newcommand*{\enFIcontact}{%
+ \fileitem{contact}{\strong{Contact} me}}
+\newcommand*{\enFIcontacten}{%
+ \fileitem{contacten}%
+ {\strong{Contact} maintainers of \pkg{ednotes}}}
+\newcommand*{\enFIcritedltx}{%
+ \fileitem{critedltx}{Packages for
+% \strong{critical editions}}}
+ critical editions}}
+\newcommand*{\enFIednworks}{%
+ \fileitem{ednworks}{\pkg{ednotes} works}}
+\newcommand*{\enFIotherltx}{%
+ \fileitem{texproj}{Other \LaTeX\ packages}}
+\newcommand*{\enFIpublic}{\fileitem{public}{Published}}
+\newcommand*{\enFIrepres}{%
+ \fileitem{repres}{%
+ \enqtd{Representing Interval Orders
+ by Arbitrary Real Intervals}}}
+\newcommand*{\enFItexproj}{%
+ \fileitem{texproj}{\strong{\TeX} macro projects}}
+\newcommand*{\enFIwritings}{%
+ \fileitem{writings}{Scientific writings}}
+\newcommand*{\enFIschreibt}{%
+ \item\fileref{schreibt}{\strong{deutsch}%
+% \quad\simpleinclgrf{de-flk.gif}}}
+ \quad\simpleinclgrf{flag_de.gif}}}
+
+%% links to top of page:
+\renewcommand*{\NRV}[1]{%
+ \rightpar{\ancref{#1}{[\to}|%
+%% top name differs to texblog.fdf 2011/08/31:
+ \ancref{top}{~\uparrow~]}}%
+ \hrule \hanc{#1}{}\\}
+
+%% page bottom:
+\newcommand*{\Uwe}{Uwe L\"uck} %% UWE LšCK
+\newcommand*{\UweNbsp}{Uwe~L\"uck} %% UWE~LšCK
+\newcommand*{\enLastRev}[1]{%
+ \rightpar{%
+ \textit{Last~revised~#1,\\%
+ \copyright~\fileref{contact}{\Uwe}}}}
+%% stattdessen texblog.fdf 2011/08/31:
+% \newcommand*{\delastrev}{%
+% \rightpar{%
+% \textit{Letzte \"Anderung~\GenDate\
+% \copyright~\fileref{kontakt.}{\Uwe}}}}
+
+\newcommand*{\rainermaster}{%
+ Webmaster:
+ \httpref{www.webdesign-bu.de}{Rainer L\"uck}, Gernsbach}
+\newcommand*{\ueberseeport}{%
+ Supported by: A~la~Siesta
+ \httpref{www.alasiesta.com}{H\"angematten} und Kunsthandwerk,
+ Berlin/\httpref{www.uebersee.biz}{Wismar}}
+
+\endinput