forked from jgm/lunamark
-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
227 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,127 @@ | ||
\def\markdownOptionFancyLists{true} | ||
<<< | ||
This test ensures that the Lua `fancyLists` option correctly propagates | ||
through the plain TeX interface and that the `startNumber` and `tightLists` | ||
options are enabled by default. | ||
|
||
Fancy list (*roman, lower*) | ||
|
||
iv. item | ||
|
||
v. item | ||
|
||
Fancy list (*roman, upper, tight*) | ||
|
||
IV. item | ||
V. item | ||
|
||
Fancy list (*alpha, lower*) | ||
|
||
d. item | ||
|
||
e. item | ||
|
||
Fancy list (*alpha, upper, tight*) | ||
|
||
D. item | ||
E. item | ||
|
||
Fancy list (*paren*) | ||
|
||
4) item | ||
|
||
5) item | ||
>>> | ||
documentBegin | ||
codeSpan: fancyLists | ||
codeSpan: startNumber | ||
codeSpan: tightLists | ||
interblockSeparator | ||
emphasis: roman, lower | ||
interblockSeparator | ||
BEGIN fancyOlBegin | ||
- numstyle: LowerRoman | ||
- numdelim: Period | ||
END fancyOlBegin | ||
BEGIN fancyOlItemWithNumber | ||
- numstyle: LowerRoman | ||
- numdelim: Period | ||
- number: 4 | ||
END fancyOlItemWithNumber | ||
fancyOlItemEnd | ||
BEGIN fancyOlItemWithNumber | ||
- numstyle: LowerRoman | ||
- numdelim: Period | ||
- number: 5 | ||
END fancyOlItemWithNumber | ||
fancyOlItemEnd | ||
fancyOlEnd | ||
interblockSeparator | ||
emphasis: roman, upper, tight | ||
interblockSeparator | ||
BEGIN fancyOlBeginTight | ||
- numstyle: UpperRoman | ||
- numdelim: Period | ||
END fancyOlBeginTight | ||
BEGIN fancyOlItemWithNumber | ||
- numstyle: UpperRoman | ||
- numdelim: Period | ||
- number: 4 | ||
END fancyOlItemWithNumber | ||
fancyOlItemEnd | ||
fancyOlEndTight | ||
interblockSeparator | ||
emphasis: alpha, lower | ||
interblockSeparator | ||
BEGIN fancyOlBegin | ||
- numstyle: LowerAlpha | ||
- numdelim: Period | ||
END fancyOlBegin | ||
BEGIN fancyOlItemWithNumber | ||
- numstyle: LowerAlpha | ||
- numdelim: Period | ||
- number: 4 | ||
END fancyOlItemWithNumber | ||
fancyOlItemEnd | ||
BEGIN fancyOlItemWithNumber | ||
- numstyle: LowerAlpha | ||
- numdelim: Period | ||
- number: 5 | ||
END fancyOlItemWithNumber | ||
fancyOlItemEnd | ||
fancyOlEnd | ||
interblockSeparator | ||
emphasis: alpha, upper, tight | ||
interblockSeparator | ||
BEGIN fancyOlBeginTight | ||
- numstyle: UpperAlpha | ||
- numdelim: Period | ||
END fancyOlBeginTight | ||
BEGIN fancyOlItemWithNumber | ||
- numstyle: UpperAlpha | ||
- numdelim: Period | ||
- number: 4 | ||
END fancyOlItemWithNumber | ||
fancyOlItemEnd | ||
fancyOlEndTight | ||
interblockSeparator | ||
emphasis: paren | ||
interblockSeparator | ||
BEGIN fancyOlBegin | ||
- numstyle: Decimal | ||
- numdelim: OneParen | ||
END fancyOlBegin | ||
BEGIN fancyOlItemWithNumber | ||
- numstyle: Decimal | ||
- numdelim: OneParen | ||
- number: 4 | ||
END fancyOlItemWithNumber | ||
fancyOlItemEnd | ||
BEGIN fancyOlItemWithNumber | ||
- numstyle: Decimal | ||
- numdelim: OneParen | ||
- number: 5 | ||
END fancyOlItemWithNumber | ||
fancyOlItemEnd | ||
fancyOlEnd | ||
documentEnd |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
<<< | ||
This test ensures that the Lua `fancyLists` option is disabled by default. | ||
|
||
Fancy list (*roman, lower*) | ||
|
||
i. item | ||
i. item | ||
|
||
Fancy list (*roman, upper*) | ||
|
||
I. item | ||
I. item | ||
|
||
Fancy list (*alpha, lower*) | ||
|
||
a. item | ||
a. item | ||
|
||
Fancy list (*alpha, upper*) | ||
|
||
A. item | ||
A. item | ||
|
||
Fancy list (*paren*) | ||
|
||
1) item | ||
1) item | ||
>>> | ||
documentBegin | ||
codeSpan: fancyLists | ||
interblockSeparator | ||
emphasis: roman, lower | ||
interblockSeparator | ||
interblockSeparator | ||
emphasis: roman, upper | ||
interblockSeparator | ||
interblockSeparator | ||
emphasis: alpha, lower | ||
interblockSeparator | ||
interblockSeparator | ||
emphasis: alpha, upper | ||
interblockSeparator | ||
interblockSeparator | ||
emphasis: paren | ||
interblockSeparator | ||
documentEnd |