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

Add initial minted support #223

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

rubdos
Copy link

@rubdos rubdos commented Apr 26, 2022

I'm using minted quite a lot. This hides the most commonly used macros. In the future, you'll probably see me contribute the \newmintedinline macro with a bit more sophisticated logic behind it.

@torik42 torik42 added the type: LaTeX Issues concerning supported or new LaTeX command or packages label Aug 21, 2022
@torik42
Copy link
Owner

torik42 commented Aug 21, 2022

Thank you for your contribution.

I assume that one uses the inline version like inline equations. Hence I would suggest to handle it similar and insert replacements like A-A-A.
With the current implementation one gets false negatives for missing spaces:

  1. Use functionfunction1 to …
  2. Use function function2to …
  3. This is a sentence.function2 is used to …

and false positives at sentence ends

  1. It is saved in variable var1.

To my knowledge, there is not yet an automatic replacement implemented, that cycles through replacements. It should be implemented with its own replacements and in a reusable way, such that it can also be used for other commands, e.g. #208. I can look into it after vacation. Feel free to update this PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: LaTeX Issues concerning supported or new LaTeX command or packages
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants