Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handle DataKinds tick #45

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Handle DataKinds tick #45

wants to merge 2 commits into from

Conversation

phadej
Copy link
Contributor

@phadej phadej commented Sep 5, 2016

First two commits are related to now deprecated \tt and \bf which break hard with some config. edit: cherry-picked
https://www.tug.org/pipermail/tex-live/2016-July/038990.html

The second, tries to be more strict while parsing characters, so DataKinds could be parsed:

With

%format ':  = "\mathbin{{}^\backprime{}\!\!:}" 
%format '[  = "{}^\backprime["

I get something like
screen shot 2016-09-05 at 12 01 20

Not super pretty, but at least not b0rked.

@asr
Copy link

asr commented Sep 25, 2017

I got the following error when installing upstream

$ cabal install
...
! Class scrartcl Error: undefined old font command `\bf'.

See the scrartcl class documentation for explanation.
Type  H <return>  for immediate help.
 ...                                              
                                                  
l.333 
      
? 

It seems this PR fix this problem, so could you merge it, please.

@kosmikus
Copy link
Owner

@phadej I cherry-picked the bf/tt changes to make a new release that builds with current TeX installations. Thanks.

@phadej
Copy link
Contributor Author

phadej commented Dec 15, 2017

rebased on top of current master.

EDIT I'm 100% sure I saw some paper with a \backprime in DataKinds code. I wonder if they used lhs2TeX or not... (but I don't remember what paper it was)

@phadej phadej changed the title Fixes Handle DataKinds tick Mar 4, 2019
- family is a keyword in Haskell, though in very special place only
- tick square bracket '[ is a special char too
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants