Pass all fields through latex filter by default.

This commit is contained in:
Justin Hsu 2018-07-02 14:13:33 -04:00
parent 9f782cd9cb
commit fac8dcc24c
1 changed files with 2 additions and 3 deletions

View File

@ -53,9 +53,8 @@ bibEntryContext = Context $ \key _ item ->
Just val -> return $ StringField $ case key of Just val -> return $ StringField $ case key of
k k
| k == "author" -> formatAuthors val | k == "author" -> formatAuthors val
| k == "month" -> expandMonth val | k == "month" -> expandMonth val
| k `elem` [ "title", "booktitle", "journal", "note" ] -> latexToHtml val | otherwise -> latexToHtml val
| otherwise -> val
Nothing -> empty Nothing -> empty
-------------------------------------------------------------------------------- --------------------------------------------------------------------------------