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

rudimentary support for \begin{enumerate}[start=4] (enumitem package) #337

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

Conversation

eudoxos
Copy link

@eudoxos eudoxos commented Mar 29, 2023

Please check this out, a sample document would be

\documentclass{article}
\usepackage{enumitem}
\begin{document}
	\begin{enumerate}[start=4]
		\item foo 
		\item bar
	\end{enumerate}
\end{document}

which renders (HTML5 only) correctly as

  1. foo
  2. bar

If you give it a green light, I would add unit tests, and support for some more enumitem options.

@eudoxos
Copy link
Author

eudoxos commented Mar 29, 2023

Where I need help: with \begin{enumitem}[label=\Roman*.,...], I need to get the label value before expansion, so that I can check whether it contains \Roman, \alph etc. Is it possible?

@eudoxos
Copy link
Author

eudoxos commented Mar 29, 2023

(The CI failure originates in this master commit: https://github.com/plastex/plastex/actions/runs/4247580725)

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.

None yet

1 participant