| Conditions | 1 |
| Total Lines | 27 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 2 | ||
| Bugs | 0 | Features | 0 |
| 1 | # This Python file uses the following encoding: utf-8 |
||
| 44 | def test_referencing_latex(): |
||
| 45 | verify_conversion( |
||
| 46 | ''' |
||
| 47 | Title |
||
| 48 | ===== |
||
| 49 | |||
| 50 | Exercise -.#first |
||
| 51 | |||
| 52 | Exercise (Title) -.#second |
||
| 53 | |||
| 54 | See [%D %d %T %t %g %s %n # %c %p](#exercise:first) |
||
| 55 | |||
| 56 | See [%D %d %T %t %g %s %n # %c %p](#exercise:second) |
||
| 57 | ''', |
||
| 58 | ''' |
||
| 59 | Title |
||
| 60 | ===== |
||
| 61 | |||
| 62 | \\phantomsection\\addcontentsline{exercise}{exercise}{\\protect\\numberline {1.1}{\\ignorespaces {Exercise}}}[\\label{exercise:first}**Exercise 1**]{#exercise:first .pandoc-numbering-text .exercise} |
||
| 63 | |||
| 64 | \\phantomsection\\addcontentsline{exercise}{exercise}{\\protect\\numberline {1.2}{\\ignorespaces {Title}}}[\\label{exercise:second}**Exercise 2** *(Title)*]{#exercise:second .pandoc-numbering-text .exercise} |
||
| 65 | |||
| 66 | See [Exercise exercise 1.1 1 1 1 2 \pageref{exercise:first}](#exercise:first) |
||
| 67 | |||
| 68 | See [Exercise exercise Title title 1.2 1 2 2 2 \pageref{exercise:second}](#exercise:second) |
||
| 69 | ''', |
||
| 70 | 'latex' |
||
| 71 | ) |
||
| 72 |