2014-11-06 17:34:18 +00:00
|
|
|
\Preamble{xhtml}
|
|
|
|
\begin{document}
|
2014-11-07 02:45:05 +00:00
|
|
|
|
|
|
|
%% Note: if you install locally, you'll be missing some of the files, marked
|
|
|
|
%% below as ``on copyleft.org, not here''. That's because they're part of the
|
|
|
|
%% copyleft.org wiki when we install HTML. You're still going to be able to
|
|
|
|
%% view the HTML, but it won't look as ``pretty'' and won't have fully
|
|
|
|
%% branding with copyleft.org stuff (which is probably as it should be). The
|
|
|
|
%% main thing that will probably annoy is is footnotes won't work.
|
|
|
|
|
|
|
|
%% Begin: on copyleft.org, not here.
|
2014-11-07 02:32:47 +00:00
|
|
|
\Configure{@HEAD}{\HCode{<link rel="shortcut icon" type="image/x-icon" href="/favicon.ico" /> }}
|
2014-11-07 02:45:05 +00:00
|
|
|
\Configure{@HEAD}{\HCode{<link rel="stylesheet" type="text/css" href="/bootstrap.css" /> \Hnewline}}
|
|
|
|
\Configure{@HEAD}{\HCode{<link rel="stylesheet" type="text/css" href="/local.css" /> \Hnewline}}
|
|
|
|
%% End: on copyleft.org, not here.
|
|
|
|
|
|
|
|
\Configure{@HEAD}{\HCode{<link rel="stylesheet" type="text/css" href="css/footnote-hack.css" /> \Hnewline}}
|
|
|
|
\Configure{@HEAD}{\HCode{<link rel="stylesheet" type="text/css" href="css/guide.css" /> \Hnewline}}
|
|
|
|
|
|
|
|
%% Begin: on copyleft.org, not here.
|
|
|
|
\Configure{@HEAD}{\HCode{<script type="text/javascript" src="/bootstrap.js"></script>\Hnewline}}
|
|
|
|
\Configure{@HEAD}{\HCode{<script type="text/javascript" src="/jquery-1.10.2.js"></script>\Hnewline}}
|
|
|
|
\Configure{@HEAD}{\HCode{<script type="text/javascript" src="/jquery-ui-1.11.2.js"></script>\Hnewline}}
|
|
|
|
%% End: on copyleft.org, not here.
|
|
|
|
|
|
|
|
|
2014-11-06 17:34:18 +00:00
|
|
|
\Configure{@HEAD}{\HCode{<script type="text/javascript" src="js/comprehensive-gpl-guide-js.js"></script>\Hnewline}}
|
|
|
|
\Configure{@HEAD}{\HCode{<script type="text/javascript" src="js/tex4ht-footnote-hack.js"></script>\Hnewline}}
|
2014-11-07 02:45:05 +00:00
|
|
|
|
|
|
|
|
|
|
|
%% This stuff below uses bootstrap to get a navigation bar.
|
2014-11-07 03:03:43 +00:00
|
|
|
\Configure{@BODY}{\HCode{<header class="navbar navbar-default navbar-fixed-top copyleft-navbar">\Hnewline
|
|
|
|
<div class="container">\Hnewline
|
|
|
|
<div class="navbar-header">\Hnewline
|
|
|
|
<button class="navbar-toggle" data-target=".copyleft-navbar-collapse" data-toggle="collapse" type="button">\Hnewline
|
|
|
|
<span class="sr-only">Toggle navigation</span>\Hnewline
|
|
|
|
<span class="icon-bar"></span>\Hnewline
|
|
|
|
<span class="icon-bar"></span>\Hnewline
|
|
|
|
<span class="icon-bar"></span>\Hnewline
|
|
|
|
</button>\Hnewline
|
2014-11-07 03:20:23 +00:00
|
|
|
<svg width="245" height="50" style="margin: 5px"><image xlink:href="/copyleftorg-green-stylized.svg" src="/copyleftorg-green-stylized.png" width="245" height="50"></image></svg>\Hnewline
|
2014-11-07 03:03:43 +00:00
|
|
|
</div>\Hnewline
|
|
|
|
<nav class="collapse navbar-collapse copyleft-navbar-collapse" role="navigation">\Hnewline
|
|
|
|
<ul class="nav navbar-nav navbar-right">\Hnewline
|
|
|
|
<li><a href="/">Wiki</a></li>\Hnewline
|
|
|
|
<li class="active"><a href="/guide/">Tutorial and Guide</a></li>\Hnewline
|
|
|
|
</ul></nav></div></header>\Hnewline
|
2014-11-07 02:45:05 +00:00
|
|
|
}}
|
2014-11-07 03:03:43 +00:00
|
|
|
|
|
|
|
|
2014-11-07 03:25:21 +00:00
|
|
|
\Configure{crosslinks}{\HCode{<li>}}{\HCode{</li>}}{next-section}{prev-at-top}{prev-at-bottom}{jump-to-top}{jump-to-bottom}{up-section}
|
2014-11-07 03:20:30 +00:00
|
|
|
\Configure{crosslinks+}
|
|
|
|
{\IgnorePar\HCode{<nav class="collapse navbar-collapse copyleft-navbar-collapse" role="navigation">\Hnewline
|
2014-11-07 03:25:21 +00:00
|
|
|
<ul class="nav navbar-nav navbar-center">}}
|
2014-11-07 03:20:30 +00:00
|
|
|
{\HCode{</ul></nav>}\par\ShowPar}
|
|
|
|
{\IgnorePar\EndP\HCode{<div class="container">\Hnewline
|
|
|
|
<header class="navbar navbar-default navbar-fixed-bottom copyleft-navbar">\Hnewline
|
|
|
|
<p class="navbar-text navbar-left">License:\Hnewline
|
2014-11-07 04:00:50 +00:00
|
|
|
<a rel="license" href="http://creativecommons.org/licenses/by-sa/4.0/">CC By SA 4.0 International</a></p>\Hnewline
|
2014-11-07 03:20:30 +00:00
|
|
|
<nav class="collapse navbar-collapse copyleft-navbar-collapse" role="navigation">
|
|
|
|
<ul class="nav navbar-nav navbar-right">}\Hnewline}
|
|
|
|
{\HCode{</ul></nav></header></div>}\par\ShowPar}
|
|
|
|
|
2014-11-07 04:00:50 +00:00
|
|
|
|
|
|
|
\Configure{next}{next-section}
|
|
|
|
\Configure{next+}
|
|
|
|
{\HCode{<div class="container">\Hnewline
|
|
|
|
<header class="navbar navbar-default navbar-fixed-bottom copyleft-navbar">\Hnewline
|
|
|
|
<p class="navbar-text navbar-left">License:\Hnewline
|
|
|
|
<a rel="license" href="http://creativecommons.org/licenses/by-sa/4.0/">CC By SA 4.0 International</a></p>\Hnewline
|
|
|
|
<nav class="collapse navbar-collapse copyleft-navbar-collapse" role="navigation">
|
|
|
|
<ul class="nav navbar-nav navbar-right">\Hnewline}}
|
|
|
|
{\HCode{</ul></nav></header></div>}}
|
|
|
|
\EndPreamble
|