ConTeXt writer: Don't add cr at end of inline footnote.
This commit is contained in:
parent
15250859c3
commit
8dcc67a993
2 changed files with 6 additions and 8 deletions
|
@ -284,4 +284,4 @@ inlineToConTeXt (Image _ (src, _)) = do
|
|||
inlineToConTeXt (Note contents) = do
|
||||
contents' <- blockListToConTeXt contents
|
||||
return $ text "\\footnote{" <>
|
||||
nest 2 contents' <> char '}' <> cr
|
||||
nest 2 contents' <> char '}'
|
||||
|
|
|
@ -866,9 +866,8 @@ Here is a movie {\externalfigure[movie.jpg]} icon.
|
|||
|
||||
Here is a footnote reference,\footnote{Here is the footnote. It can go
|
||||
anywhere after the footnote reference. It need not be placed at the end of
|
||||
the document.}
|
||||
and another.\footnote{Here's the long note. This one contains multiple
|
||||
blocks.
|
||||
the document.} and another.\footnote{Here's the long note. This one contains
|
||||
multiple blocks.
|
||||
|
||||
Subsequent blocks are indented to show that they belong to the footnote (as
|
||||
with list items).
|
||||
|
@ -878,10 +877,9 @@ Here is a footnote reference,\footnote{Here is the footnote. It can go
|
|||
\stoptyping
|
||||
|
||||
If you want, you can indent every line, but you can also be lazy and just
|
||||
indent the first line of each block.}
|
||||
This should {\em not} be a footnote reference, because it contains a
|
||||
space.{[}\letterhat{}my note{]} Here is an inline note.\footnote{This is
|
||||
{\em easier} to type. Inline notes may contain
|
||||
indent the first line of each block.} This should {\em not} be a footnote
|
||||
reference, because it contains a space.{[}\letterhat{}my note{]} Here is an
|
||||
inline note.\footnote{This is {\em easier} to type. Inline notes may contain
|
||||
\useURL[31][http://google.com][][links]\from[31] and \type{]} verbatim
|
||||
characters, as well as {[}bracketed text{]}.}
|
||||
|
||||
|
|
Loading…
Reference in a new issue