Skip to content

Handle DataKinds tick#45

Open
phadej wants to merge 2 commits into
kosmikus:masterfrom
phadej:fixes
Open

Handle DataKinds tick#45
phadej wants to merge 2 commits into
kosmikus:masterfrom
phadej:fixes

Conversation

@phadej

@phadej phadej commented Sep 5, 2016

Copy link
Copy Markdown
Contributor

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

asr commented Sep 25, 2017

Copy link
Copy Markdown

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
Copy Markdown
Owner

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

@phadej

phadej commented Dec 15, 2017

Copy link
Copy Markdown
Contributor Author

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