parent
ff55530c03
commit
65ca95eeea
2 changed files with 10 additions and 1 deletions
|
@ -328,7 +328,8 @@ blockListToTexinfo (x:xs) = do
|
||||||
lines' <- mapM makeMenuLine menu
|
lines' <- mapM makeMenuLine menu
|
||||||
let menu' = if null lines'
|
let menu' = if null lines'
|
||||||
then empty
|
then empty
|
||||||
else text "@menu" $$
|
else blankline $$
|
||||||
|
text "@menu" $$
|
||||||
vcat lines' $$
|
vcat lines' $$
|
||||||
text "@end menu"
|
text "@end menu"
|
||||||
after' <- blockListToTexinfo after
|
after' <- blockListToTexinfo after
|
||||||
|
|
|
@ -27,6 +27,7 @@ markdown test suite.
|
||||||
@ifnottex
|
@ifnottex
|
||||||
------------------------------------------------------------------------
|
------------------------------------------------------------------------
|
||||||
@end ifnottex
|
@end ifnottex
|
||||||
|
|
||||||
@menu
|
@menu
|
||||||
* Headers::
|
* Headers::
|
||||||
* Level 1::
|
* Level 1::
|
||||||
|
@ -48,6 +49,7 @@ markdown test suite.
|
||||||
@node Headers
|
@node Headers
|
||||||
@chapter Headers
|
@chapter Headers
|
||||||
@anchor{#headers}
|
@anchor{#headers}
|
||||||
|
|
||||||
@menu
|
@menu
|
||||||
* Level 2 with an embedded link::
|
* Level 2 with an embedded link::
|
||||||
@end menu
|
@end menu
|
||||||
|
@ -55,6 +57,7 @@ markdown test suite.
|
||||||
@node Level 2 with an embedded link
|
@node Level 2 with an embedded link
|
||||||
@section Level 2 with an @uref{/url,embedded link}
|
@section Level 2 with an @uref{/url,embedded link}
|
||||||
@anchor{#level-2-with-an-embedded-link}
|
@anchor{#level-2-with-an-embedded-link}
|
||||||
|
|
||||||
@menu
|
@menu
|
||||||
* Level 3 with emphasis::
|
* Level 3 with emphasis::
|
||||||
@end menu
|
@end menu
|
||||||
|
@ -62,6 +65,7 @@ markdown test suite.
|
||||||
@node Level 3 with emphasis
|
@node Level 3 with emphasis
|
||||||
@subsection Level 3 with @emph{emphasis}
|
@subsection Level 3 with @emph{emphasis}
|
||||||
@anchor{#level-3-with-emphasis}
|
@anchor{#level-3-with-emphasis}
|
||||||
|
|
||||||
@menu
|
@menu
|
||||||
* Level 4::
|
* Level 4::
|
||||||
@end menu
|
@end menu
|
||||||
|
@ -74,6 +78,7 @@ Level 5
|
||||||
@node Level 1
|
@node Level 1
|
||||||
@chapter Level 1
|
@chapter Level 1
|
||||||
@anchor{#level-1}
|
@anchor{#level-1}
|
||||||
|
|
||||||
@menu
|
@menu
|
||||||
* Level 2 with emphasis::
|
* Level 2 with emphasis::
|
||||||
* Level 2::
|
* Level 2::
|
||||||
|
@ -82,6 +87,7 @@ Level 5
|
||||||
@node Level 2 with emphasis
|
@node Level 2 with emphasis
|
||||||
@section Level 2 with @emph{emphasis}
|
@section Level 2 with @emph{emphasis}
|
||||||
@anchor{#level-2-with-emphasis}
|
@anchor{#level-2-with-emphasis}
|
||||||
|
|
||||||
@menu
|
@menu
|
||||||
* Level 3::
|
* Level 3::
|
||||||
@end menu
|
@end menu
|
||||||
|
@ -203,6 +209,7 @@ These should not be escaped: \$ \\ \> \[ \{
|
||||||
@node Lists
|
@node Lists
|
||||||
@chapter Lists
|
@chapter Lists
|
||||||
@anchor{#lists}
|
@anchor{#lists}
|
||||||
|
|
||||||
@menu
|
@menu
|
||||||
* Unordered::
|
* Unordered::
|
||||||
* Ordered::
|
* Ordered::
|
||||||
|
@ -886,6 +893,7 @@ Minus: -
|
||||||
@node Links
|
@node Links
|
||||||
@chapter Links
|
@chapter Links
|
||||||
@anchor{#links}
|
@anchor{#links}
|
||||||
|
|
||||||
@menu
|
@menu
|
||||||
* Explicit::
|
* Explicit::
|
||||||
* Reference::
|
* Reference::
|
||||||
|
|
Loading…
Reference in a new issue