You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I do not enclose the URL, it appears in the LaTeX file (not surrounded with \url{}, as expected).
When I do enclose the URL with pointy brackets, i.e. <http://openclipart.org/detail/22566/lego-smiley----happy-by-pitr>, I would expect that the URL appears in the LaTeX output surrounded with \url{}.
Instead, the URL disappears -- it is simply not there in the LaTeX file. How so?
The text was updated successfully, but these errors were encountered:
As you can see if you do pandoc -t native, this is being
parsed as a raw HTML tag (which disappears in LaTeX).
Why, you might wonder? Because http://openclipart.org/detail/22566/lego-smiley----happy-by-pitr
doesn't pass pandoc's URL parser. This parser is designed to
work with plain URLs in text (since they are autolinked in
reST and markdown with the autolink_bare_urls extension.
It is designed to stop parsing when it hits something that
looks like punctuation at the end of the URL. For example,
someone might write:
See google's webpage---http://google.com---for more.
Here we don't want to include ---for more in the URL.
Of course, when the URL is enclosed in angle brackets, as it
is in your example, the situation is different, and the parser should
behave differently. I'll look into changing it.
+++ Roland [Feb 26 13 08:36 ]:
Seen with pandoc-1.10.1 under Win7 when compiling txt -> LaTeX:
Seen with pandoc-1.10.1 under Win7 when compiling txt -> LaTeX:
I experience an odd problem with the URL http://openclipart.org/detail/22566/lego-smiley----happy-by-pitr (note the four '-' signs).
When I do not enclose the URL, it appears in the LaTeX file (not surrounded with \url{}, as expected).
When I do enclose the URL with pointy brackets, i.e.
<http://openclipart.org/detail/22566/lego-smiley----happy-by-pitr>
, I would expect that the URL appears in the LaTeX output surrounded with \url{}.Instead, the URL disappears -- it is simply not there in the LaTeX file. How so?
The text was updated successfully, but these errors were encountered: