From 536550d4241f50c5143a2608896c62054392fb41 Mon Sep 17 00:00:00 2001 From: "Bradley M. Kuhn" Date: Fri, 7 Nov 2014 01:51:30 -0500 Subject: [PATCH] Rework PDF/HTML selection to the top bar instead. --- tex4ht.usr | 23 +++++++++-------------- webhacks.cfg | 9 +++++---- 2 files changed, 14 insertions(+), 18 deletions(-) diff --git a/tex4ht.usr b/tex4ht.usr index 482e09a..8ce20d7 100644 --- a/tex4ht.usr +++ b/tex4ht.usr @@ -1,21 +1,16 @@ -\newcommand{\startmymenu}{\HCode{ +\newcommand{\footermenu}{\HCode{ }}} + \newcommand{\monolith}{\Configure{@BODY}{\footermenu\HCode{}}} + \newcommand{\selectpropermenuitem}{\HCode{
  • HTML
  • \Hnewline +
  • HTML (1 page)
  • \Hnewline}} \else - \newcommand{\monolith}{\Configure{next+}{\startmymenu\selectmulti\finishmymenu\HCode{\Hnewline}}} + \newcommand{\selectpropermenuitem}{\HCode{
  • HTML
  • \Hnewline +
  • HTML (1 page)
  • \Hnewline}} + \newcommand{\monolith}{\Configure{next+}{\footermenu\HCode{\Hnewline}}} \fi diff --git a/webhacks.cfg b/webhacks.cfg index dfb35fe..268946d 100644 --- a/webhacks.cfg +++ b/webhacks.cfg @@ -40,12 +40,13 @@ \Hnewline \Hnewline \Hnewline - \Hnewline}} \monolith @@ -54,7 +55,7 @@ {\HCode{}} - {\startmymenu\selectmulti\finishmymenu\HCode{