-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathfailures.do.txt
More file actions
executable file
·110 lines (72 loc) · 2.31 KB
/
failures.do.txt
File metadata and controls
executable file
·110 lines (72 loc) · 2.31 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
# Text with wrong doconce format
# TODO: fix this
A list followed by a code block works okay:
* Third point
* Fourth point
!bc cod
some verbatime stuff
!ec
=== Section heading before code is caught by the syntax check ===
label{my} idx{failure}
!bc
more verbatime stuff
!ec
Next we see if backslashes are detected: \label{mylab}\idx{youridx}
And a reference to \cite{mybook}.
__Paragraph before code is bad.__
# But here it could be fooled by a comment
!bc
More verbatim stuff.
!ec
Can we successfully say `__call__` and `__add__` and avoid having them as
bad paragraphs?
Figure with just an image and no caption must be handled.
FIGURE: [testfigs/wave1D]
Figure with label, but no caption.
FIGURE: [testfigs/wave1D] label{myl1}
Figure with no comma between filename and options, and wrong path must
give error.
FIGURE: [testfigs/wave1D, width=800]
Figure with math only in the caption, which causes sphinx to use an
empty figure name, is problematic.
FIGURE: [testfigs/wave1D, width=800] $a=50$
Figure with hyperlink in caption creates problems with latex and --device=paper
because the link becomes a footnote inside the caption.
FIGURE: [testfigs/wave1D, width=800] "Google": "https://google.com".
# https://hplgit.github.io/INF5620/doc/pub/mov-wave/pulse2_in_two_media/movie.webm
Movie/figure with nonexistent URL must give error messages.
MOVIE: [https://hplgit.github.io/INF5620/doc/pub/mov-wave/pulse2_in_two_media/movie99x9.ogg, width=800] $a=50$
FIGURE: [https://hplgit.github.io/INF5620/doc/pub/fig-wave/pulse2_in_two_media99, width=800] $a=50$
Links with mix of verbatim and plain text is not good: "`myfile.py` file": "https://some.where.net/myfile.py".
More text...
# Comment before math is ok
!bt
\begin{align}
a &= b, label{eq1}\\
a &= b, label{eq2}
\end{align}
!et
# Comment before list
* A1
* A2
Normal text.
===== Normal section with exercise envirs are detected by syntax checks =====
!bhint
Here is a hint.
!ehint
Normal text.
!bsubex
Just a loner subexercise begin.
!bsol
Here is a solution.
!esol
Normal text.
===== Links to local files shall give warning =====
Try this "link": "../lib/doconce/doconce.py".
===== Failure of tables =====
|--------------------------------------|
| heading1 | heading2 |
|--l---|---l---|
|`%s`|`%e`|
|$a=b$|$\mbox{math}$|
|--------------------------------------|