aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2021-09-21 10:16:45 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2021-09-21 10:42:24 -0700
commit5f7e7f539a02818d0a94309b15d648d51d1eaee6 (patch)
tree1f46ff3968ba0f67215ac66c26bb442d14d6a2d0
parenta1ca51c979849b5a29f54cd4eea49ca3d49cb4c9 (diff)
downloadpandoc-5f7e7f539a02818d0a94309b15d648d51d1eaee6.tar.gz
Add missing `%` on command tests.
This prevented `--accept` from working properly.
-rw-r--r--test/command/1279.md2
-rw-r--r--test/command/1592.md2
-rw-r--r--test/command/2103.md2
-rw-r--r--test/command/3236.md2
-rw-r--r--test/command/3324.md2
-rw-r--r--test/command/3475.md8
-rw-r--r--test/command/3518.md2
-rw-r--r--test/command/3706.md4
-rw-r--r--test/command/3880.md2
-rw-r--r--test/command/3983.md6
-rw-r--r--test/command/3989.md2
-rw-r--r--test/command/4007.md6
-rw-r--r--test/command/4012.md2
-rw-r--r--test/command/4016.md2
-rw-r--r--test/command/4019.md2
-rw-r--r--test/command/4068.md2
-rw-r--r--test/command/4119.md2
-rw-r--r--test/command/4306.md2
-rw-r--r--test/command/4528.md1
-rw-r--r--test/command/4553.md4
-rw-r--r--test/command/4667.md2
-rw-r--r--test/command/4805-beamer-columns-alignment.md2
-rw-r--r--test/command/4833.md4
-rw-r--r--test/command/4842.md2
-rw-r--r--test/command/5050.md2
-rw-r--r--test/command/5080.md4
-rw-r--r--test/command/5128.md2
-rw-r--r--test/command/5182.md2
-rw-r--r--test/command/6658.md2
-rw-r--r--test/command/6836.md2
-rw-r--r--test/command/7216.md2
-rw-r--r--test/command/7529.md2
-rw-r--r--test/command/987.md2
-rw-r--r--test/command/ascii.md14
-rw-r--r--test/command/latex-command-comment.md2
35 files changed, 51 insertions, 52 deletions
diff --git a/test/command/1279.md b/test/command/1279.md
index d3572f245..522e399cf 100644
--- a/test/command/1279.md
+++ b/test/command/1279.md
@@ -1,5 +1,5 @@
```
-pandoc -s -t markdown
+% pandoc -s -t markdown
---
author: 'John Doe[^1]'
date: 2014
diff --git a/test/command/1592.md b/test/command/1592.md
index 0f6151063..fb66f738a 100644
--- a/test/command/1592.md
+++ b/test/command/1592.md
@@ -41,7 +41,7 @@
```
```
-pandoc -f native -t markdown
+% pandoc -f native -t markdown
[Para [SmallCaps [Str "hi"]]]
^D
[hi]{.smallcaps}
diff --git a/test/command/2103.md b/test/command/2103.md
index 14a522a5e..e5220def6 100644
--- a/test/command/2103.md
+++ b/test/command/2103.md
@@ -1,5 +1,5 @@
```
-pandoc -t latex
+% pandoc -t latex
| A happy pandoc user said "fix this bug please
| or I'll go crazy!"
^D
diff --git a/test/command/3236.md b/test/command/3236.md
index 1d1a9b2c3..2fcbb11f1 100644
--- a/test/command/3236.md
+++ b/test/command/3236.md
@@ -1,5 +1,5 @@
```
-pandoc -f latex -t native
+% pandoc -f latex -t native
\newcommand{\mycolor}{red}
\includegraphics[width=17cm]{\mycolor /header}
diff --git a/test/command/3324.md b/test/command/3324.md
index 9e9228ed1..45405fee5 100644
--- a/test/command/3324.md
+++ b/test/command/3324.md
@@ -1,5 +1,5 @@
```
-pandoc -t latex
+% pandoc -t latex
Signatures
\
diff --git a/test/command/3475.md b/test/command/3475.md
index afba4ea3c..41a738f67 100644
--- a/test/command/3475.md
+++ b/test/command/3475.md
@@ -1,7 +1,7 @@
RST implicit internal links to headers:
```
-pandoc -f rst
+% pandoc -f rst
Years
-----
@@ -12,7 +12,7 @@ Years_
```
```
-pandoc -f rst
+% pandoc -f rst
Years_
Years
@@ -23,7 +23,7 @@ Years
```
```
-pandoc -f rst
+% pandoc -f rst
Years and years
---------------
@@ -34,7 +34,7 @@ Years and years
```
```
-pandoc -f rst
+% pandoc -f rst
Years and *years*
-----------------
diff --git a/test/command/3518.md b/test/command/3518.md
index ec3322192..a4ba7a3a0 100644
--- a/test/command/3518.md
+++ b/test/command/3518.md
@@ -1,5 +1,5 @@
```
-pandoc -f latex -t plain
+% pandoc -f latex -t plain
$\alpha^2 \cdot \alpha^{2+3} \equiv \alpha^7$
^D
α² ⋅ α² ⁺ ³ ≡ α⁷
diff --git a/test/command/3706.md b/test/command/3706.md
index b6c2c6db1..361ff04f1 100644
--- a/test/command/3706.md
+++ b/test/command/3706.md
@@ -1,7 +1,7 @@
Results marker can be hidden in block attributes (#3706)
```
-pandoc -f org -t native
+% pandoc -f org -t native
#+begin_src r :exports results :colnames yes
data.frame(Id = 1:3, Desc = rep("La",3))
#+end_src
@@ -48,7 +48,7 @@ pandoc -f org -t native
```
```
-pandoc -f org -t native
+% pandoc -f org -t native
#+begin_src R :exports none :colnames yes
data.frame(Id = 1:2, Desc = rep("La",2))
#+end_src
diff --git a/test/command/3880.md b/test/command/3880.md
index b8edaf08f..700b44991 100644
--- a/test/command/3880.md
+++ b/test/command/3880.md
@@ -1,5 +1,5 @@
```
-pandoc -f rst -t native
+% pandoc -f rst -t native
.. include:: command/3880.txt
^D
[Para [Str "hi"]]
diff --git a/test/command/3983.md b/test/command/3983.md
index 5d83941e7..c2fbec32f 100644
--- a/test/command/3983.md
+++ b/test/command/3983.md
@@ -1,5 +1,5 @@
```
-pandoc -f latex+raw_tex -t native
+% pandoc -f latex+raw_tex -t native
\def\filename@area{foo:bar:baz}
\makeatletter
\graphicspath\expandafter{\expandafter{\filename@area}}%
@@ -10,7 +10,7 @@ pandoc -f latex+raw_tex -t native
```
```
-pandoc -f latex+raw_tex -t native
+% pandoc -f latex+raw_tex -t native
\makeatletter
\newcommand\urlfootnote@[1]{\footnote{\url@{#1}}}
\DeclareRobustCommand{\urlfootnote}{\hyper@normalise\urlfootnote@}
@@ -21,7 +21,7 @@ pandoc -f latex+raw_tex -t native
```
```
-pandoc -f latex+raw_tex -t native
+% pandoc -f latex+raw_tex -t native
\def\foo{bar}
\expandafter\bam\foo
^D
diff --git a/test/command/3989.md b/test/command/3989.md
index bf078b2e4..e0caaf50e 100644
--- a/test/command/3989.md
+++ b/test/command/3989.md
@@ -1,5 +1,5 @@
```
-pandoc -f markdown -t native
+% pandoc -f markdown -t native
<span title="1st line of text <br> 2nd line of text">foo</span>
<span title="1st line of text <br> 2nd line of text">foo</span>
^D
diff --git a/test/command/4007.md b/test/command/4007.md
index c6064e0f2..c18ea9366 100644
--- a/test/command/4007.md
+++ b/test/command/4007.md
@@ -1,5 +1,5 @@
```
-pandoc -f latex -t native
+% pandoc -f latex -t native
\newcommand\arrow\to
$a\arrow b$
^D
@@ -7,7 +7,7 @@ $a\arrow b$
```
```
-pandoc -f latex -t native
+% pandoc -f latex -t native
\newcommand\pfeil[1]{\to #1}
$a\pfeil b$
^D
@@ -15,7 +15,7 @@ $a\pfeil b$
```
```
-pandoc -f latex -t native
+% pandoc -f latex -t native
\newcommand\fleche{\to}
$a\fleche b$
^D
diff --git a/test/command/4012.md b/test/command/4012.md
index 602c23219..9e32692d6 100644
--- a/test/command/4012.md
+++ b/test/command/4012.md
@@ -1,5 +1,5 @@
```
-pandoc -f markdown-implicit_figures
+% pandoc -f markdown-implicit_figures
![image]
[image]: http://example.com/image.jpg {height=35mm}
diff --git a/test/command/4016.md b/test/command/4016.md
index 577ac1b09..8683c0056 100644
--- a/test/command/4016.md
+++ b/test/command/4016.md
@@ -1,5 +1,5 @@
```
-pandoc -t beamer
+% pandoc -t beamer
# Level 2 blocks
<div class="columns">
diff --git a/test/command/4019.md b/test/command/4019.md
index ab13f0233..641905b54 100644
--- a/test/command/4019.md
+++ b/test/command/4019.md
@@ -1,5 +1,5 @@
```
-pandoc --wrap=preserve
+% pandoc --wrap=preserve
This <!-- x > 0 --> works!
This <!-- x > 0 --> fails?
^D
diff --git a/test/command/4068.md b/test/command/4068.md
index 7b43a7084..ddd1aaee4 100644
--- a/test/command/4068.md
+++ b/test/command/4068.md
@@ -1,5 +1,5 @@
```
-pandoc -f mediawiki -t native
+% pandoc -f mediawiki -t native
[https://domain.com/script.php?a=1&b=2&c=&d=4 open productname bugs]
[http://domain.com?a=. open productname bugs]
diff --git a/test/command/4119.md b/test/command/4119.md
index c4efac30f..0f7da5fe0 100644
--- a/test/command/4119.md
+++ b/test/command/4119.md
@@ -1,5 +1,5 @@
```
-pandoc -t native
+% pandoc -t native
| col1 | col2 |
| ---- | ---- |
| 1 | 2 |
diff --git a/test/command/4306.md b/test/command/4306.md
index f1267eb9b..82abd8005 100644
--- a/test/command/4306.md
+++ b/test/command/4306.md
@@ -1,5 +1,5 @@
```
-pandoc -f latex -t native
+% pandoc -f latex -t native
\documentclass{article}
\usepackage{hyperref}
\begin{document}
diff --git a/test/command/4528.md b/test/command/4528.md
index a34af33c5..9b917f808 100644
--- a/test/command/4528.md
+++ b/test/command/4528.md
@@ -15,7 +15,6 @@ This has \textsc{small caps} in it.
^D
This has <span class="smallcaps">small caps</span> in it.
```
-```
```
% pandoc --wrap=none -f latex -t markdown_strict+raw_html
diff --git a/test/command/4553.md b/test/command/4553.md
index e5122d4d9..c179a3567 100644
--- a/test/command/4553.md
+++ b/test/command/4553.md
@@ -1,5 +1,5 @@
```
-pandoc -f latex -t native
+% pandoc -f latex -t native
foo \include{command/bar}
^D
[Para [Str "foo"]
@@ -7,7 +7,7 @@ foo \include{command/bar}
```
```
-pandoc -f latex -t native
+% pandoc -f latex -t native
foo \input{command/bar}
^D
[Para [Str "foo",Space,Emph [Str "hi",Space,Str "there"]]]
diff --git a/test/command/4667.md b/test/command/4667.md
index 1fff3708d..a4ea0a5f4 100644
--- a/test/command/4667.md
+++ b/test/command/4667.md
@@ -1,5 +1,5 @@
```
-pandoc -t latex
+% pandoc -t latex
---
header-includes:
- \newcommand{\blandscape}{\begin{landscape}}
diff --git a/test/command/4805-beamer-columns-alignment.md b/test/command/4805-beamer-columns-alignment.md
index bd1be0f20..d890730a8 100644
--- a/test/command/4805-beamer-columns-alignment.md
+++ b/test/command/4805-beamer-columns-alignment.md
@@ -1,5 +1,5 @@
```
-pandoc -t beamer
+% pandoc -t beamer
:::: { .columns }
::: { .column align=center }
:::
diff --git a/test/command/4833.md b/test/command/4833.md
index 42001ec74..838fe1463 100644
--- a/test/command/4833.md
+++ b/test/command/4833.md
@@ -1,5 +1,5 @@
```
-pandoc -f native -t rst
+% pandoc -f native -t rst
[Div ("",["warning"],[])
[Div ("",["title"],[])
[Para [Str "Warning"]]
@@ -10,7 +10,7 @@ pandoc -f native -t rst
Hi
```
```
-pandoc -f native -t rst
+% pandoc -f native -t rst
[Div ("",["unknown"],[])
[Para [Str "Hi"]]]
^D
diff --git a/test/command/4842.md b/test/command/4842.md
index a311739b7..0403c4d11 100644
--- a/test/command/4842.md
+++ b/test/command/4842.md
@@ -1,5 +1,5 @@
```
-pandoc -f latex -t native
+% pandoc -f latex -t native
\l
^D
[Para [Str "\322"]]
diff --git a/test/command/5050.md b/test/command/5050.md
index 9c8fa1655..735156105 100644
--- a/test/command/5050.md
+++ b/test/command/5050.md
@@ -1,5 +1,5 @@
```
-pandoc -t rst
+% pandoc -t rst
<unknown>
x
^D
diff --git a/test/command/5080.md b/test/command/5080.md
index c9e9a2971..2dfd0683a 100644
--- a/test/command/5080.md
+++ b/test/command/5080.md
@@ -1,12 +1,12 @@
```
-pandoc -t asciidoc
+% pandoc -t asciidoc
[foo *bar*]{.small .red key=val}
^D
[.small .red]#foo _bar_#
```
```
-pandoc -f html -t asciidoc
+% pandoc -f html -t asciidoc
<small>SMALL</small>
^D
[.small]#SMALL#
diff --git a/test/command/5128.md b/test/command/5128.md
index 35866547e..261cea507 100644
--- a/test/command/5128.md
+++ b/test/command/5128.md
@@ -1,5 +1,5 @@
```
-pandoc -f org -t rst --columns=78
+% pandoc -f org -t rst --columns=78
| Option | Meaning |
|--------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| =<= | Left alignment, additional characters are added to the right (default for string). |
diff --git a/test/command/5182.md b/test/command/5182.md
index dc30a12ce..e11dd29f0 100644
--- a/test/command/5182.md
+++ b/test/command/5182.md
@@ -1,5 +1,5 @@
```
-pandoc -f rst -t native
+% pandoc -f rst -t native
.. include:: command/5182.txt
^D
[CodeBlock ("",["python","numberLines"],[]) "def func(x):\n return y"]
diff --git a/test/command/6658.md b/test/command/6658.md
index 96700c8fe..c4e5dbf3a 100644
--- a/test/command/6658.md
+++ b/test/command/6658.md
@@ -1,5 +1,5 @@
```
-pandoc -f latex -t html
+% pandoc -f latex -t html
\num{12345,67890}
\num{1+-2i}
diff --git a/test/command/6836.md b/test/command/6836.md
index c35048045..733318b69 100644
--- a/test/command/6836.md
+++ b/test/command/6836.md
@@ -1,5 +1,5 @@
```
-pandoc -t native
+% pandoc -t native
[@buchanan]
(@foo)
diff --git a/test/command/7216.md b/test/command/7216.md
index cab3b9689..2fb99c7b5 100644
--- a/test/command/7216.md
+++ b/test/command/7216.md
@@ -1,5 +1,5 @@
```
-pandoc -t latex
+% pandoc -t latex
"This is some text in quotes. Another paragraph by the same speaker follows. The first paragraph should have no close quote.
"The second paragraph should have open and close quotes."
diff --git a/test/command/7529.md b/test/command/7529.md
index f0c443d73..9515258e9 100644
--- a/test/command/7529.md
+++ b/test/command/7529.md
@@ -1,5 +1,5 @@
```
-pandoc -f html -t asciidoc
+% pandoc -f html -t asciidoc
<a href="https://example.com/show.cgi?id=hi--there--everyone">https://example.com/show.cgi?id=hi--there--everyone</a>
^D
link:++https://example.com/show.cgi?id=hi--there--everyone++[]
diff --git a/test/command/987.md b/test/command/987.md
index f632231ef..fc75d2c56 100644
--- a/test/command/987.md
+++ b/test/command/987.md
@@ -1,5 +1,5 @@
```
-pandoc -f latex -t markdown
+% pandoc -f latex -t markdown
\documentclass{article}
\newenvironment{flubble}{FOO}{BAR}
\begin{document}
diff --git a/test/command/ascii.md b/test/command/ascii.md
index 0826d7414..a328ed863 100644
--- a/test/command/ascii.md
+++ b/test/command/ascii.md
@@ -1,19 +1,19 @@
```
-pandoc -t html --ascii
+% pandoc -t html --ascii
äéıå
^D
<p>&#xE4;&#xE9;&#x131;&#xE5;</p>
```
```
-pandoc -t latex --ascii
+% pandoc -t latex --ascii
äéıå
^D
\"{a}\'{e}\i\r{a}
```
```
-pandoc -t man --ascii
+% pandoc -t man --ascii
äéıå
^D
.PP
@@ -21,7 +21,7 @@ pandoc -t man --ascii
```
```
-pandoc -t ms --ascii
+% pandoc -t ms --ascii
äéıå
^D
.LP
@@ -29,7 +29,7 @@ pandoc -t ms --ascii
```
```
-pandoc -t docbook --ascii
+% pandoc -t docbook --ascii
äéıå
^D
<para>
@@ -38,14 +38,14 @@ pandoc -t docbook --ascii
```
```
-pandoc -t jats --ascii
+% pandoc -t jats --ascii
äéıå
^D
<p>&#xE4;&#xE9;&#x131;&#xE5;</p>
```
```
-pandoc -t markdown-smart --ascii
+% pandoc -t markdown-smart --ascii
"äéıå"
^D
&ldquo;&auml;&eacute;&imath;&aring;&rdquo;
diff --git a/test/command/latex-command-comment.md b/test/command/latex-command-comment.md
index 640277f15..af679afba 100644
--- a/test/command/latex-command-comment.md
+++ b/test/command/latex-command-comment.md
@@ -1,5 +1,5 @@
```
-pandoc -f latex -t native
+% pandoc -f latex -t native
\emph%
{hi}
^D