Skip to content
Snippets Groups Projects
Commit 79a39d2c authored by Ian Lynagh's avatar Ian Lynagh
Browse files

Fix a bug in the unlitter

If we see a birdtrack while we are in latex mode, then we stay in latex
mode - don't change into bird mode!
parent 6603684c
No related branches found
No related tags found
No related merge requests found
...@@ -119,7 +119,7 @@ reclassify = blank -- begin in blank state ...@@ -119,7 +119,7 @@ reclassify = blank -- begin in blank state
latex [] = [] latex [] = []
latex (EndCode :ls) = Blank "" : comment ls latex (EndCode :ls) = Blank "" : comment ls
latex (BeginCode :_ ) = [Error "\\begin{code} in code section"] latex (BeginCode :_ ) = [Error "\\begin{code} in code section"]
latex (BirdTrack l:ls) = Ordinary ('>':l) : bird ls latex (BirdTrack l:ls) = Ordinary ('>':l) : latex ls
latex ( l:ls) = l : latex ls latex ( l:ls) = l : latex ls
blank [] = [] blank [] = []
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment