mirror of https://github.com/CGAL/cgal
html bugfix: now for small displays, the terms "user manual"
and "reference manual" are properly aligned in the TOC
This commit is contained in:
parent
472a4193e1
commit
5a74125fd9
|
|
@ -491,16 +491,14 @@
|
||||||
\lcRawHtml{<a name="Chapter_}#C1\lcRawHtml{"></a>}}}
|
\lcRawHtml{<a name="Chapter_}#C1\lcRawHtml{"></a>}}}
|
||||||
\lciIfLessExpanded{\lciCountertocdepth}{0}{}{%
|
\lciIfLessExpanded{\lciCountertocdepth}{0}{}{%
|
||||||
\edef\lciOut{\lciOutputFilename}%
|
\edef\lciOut{\lciOutputFilename}%
|
||||||
\lciMirroredTocEntry{
|
\lciMirroredTocEntry{%
|
||||||
\lciTocOpenInner
|
|
||||||
% \lcRawHtml{##Chapter_}#C1 % omit anchor, we start at the page top
|
% \lcRawHtml{##Chapter_}#C1 % omit anchor, we start at the page top
|
||||||
\lcRawHtml{ <tr><td class="TocChapter" colspan="7">
|
\lcRawHtml{<span class="TocChapter">
|
||||||
<!-- =================================================== -->
|
|
||||||
<a class="TocLinkChapter" href="}\lcRawHtmlExpanded{\lciOut}% \lciLocalVariableChapterName
|
<a class="TocLinkChapter" href="}\lcRawHtmlExpanded{\lciOut}% \lciLocalVariableChapterName
|
||||||
\lcRawHtml{"
|
\lcRawHtml{">}
|
||||||
>}#C2\lcRawHtml{</a>
|
#C2
|
||||||
</td></tr>
|
\lcRawHtml{</a></span>}%
|
||||||
}%
|
\lcTocRight\lcTocLeft\lciTocOpenInner%
|
||||||
}
|
}
|
||||||
}}
|
}}
|
||||||
|
|
||||||
|
|
@ -510,12 +508,7 @@
|
||||||
\lciMirroredTocEntry{\lciTocOpenInner}
|
\lciMirroredTocEntry{\lciTocOpenInner}
|
||||||
\lciPushOutput{toc}%
|
\lciPushOutput{toc}%
|
||||||
\lcRawHtml{ <tr>}
|
\lcRawHtml{ <tr>}
|
||||||
\lciIfEqualExpanded{\lciTocOuterState}{Left}{\lciTocIndentWidth}{
|
\lciIfEqualExpanded{\lciTocOuterState}{Left}{\lciTocIndentWidth}{}
|
||||||
\lciIfEqualExpanded{\lciTocOuterState}{Right}{%
|
|
||||||
\lcRawHtml{ <tr><td class="TocChapter" colspan="7"> </td></tr>}
|
|
||||||
}{}
|
|
||||||
}
|
|
||||||
|
|
||||||
\lcRawHtml{ <td class="TocSection" width="35"> </td><td class="TocSection" colspan="5">
|
\lcRawHtml{ <td class="TocSection" width="35"> </td><td class="TocSection" colspan="5">
|
||||||
<a class="TocLinkSection" href="}\lcRawHtmlExpanded{\lciOut}%
|
<a class="TocLinkSection" href="}\lcRawHtmlExpanded{\lciOut}%
|
||||||
\lcRawHtml{"><i>}#1\lcRawHtml{</i></a>
|
\lcRawHtml{"><i>}#1\lcRawHtml{</i></a>
|
||||||
|
|
|
||||||
|
|
@ -55,7 +55,7 @@ td.TocTitle,
|
||||||
td.TocContents,
|
td.TocContents,
|
||||||
td.TocIndex,
|
td.TocIndex,
|
||||||
td.TocBibliography,
|
td.TocBibliography,
|
||||||
td.TocChapter { font-weight: bold; }
|
*.TocChapter { font-weight: bold; }
|
||||||
td.TocSection { }
|
td.TocSection { }
|
||||||
td.TocSubsection { }
|
td.TocSubsection { }
|
||||||
td.TocSubsubsection { }
|
td.TocSubsubsection { }
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue