forked from jgm/lunamark
-
Notifications
You must be signed in to change notification settings - Fork 31
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 support for universal (cross-format) themes #373
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Witiko
added
plaintex
Related to the plain TeX interface and implementation
latex
Related to the LaTeX interface and implementation
context
Related to the ConTeXt interface and implementation
technical debt
Related to code smells and refactoring
expl3
Related to the high-level programming language expl3
optex
Related to the OpTeX interface and implementation
themes
Related to Markdown themes
labels
Nov 22, 2023
Witiko
force-pushed
the
feat/universal-themes
branch
7 times, most recently
from
November 22, 2023 15:11
e194dc5
to
8253bb4
Compare
Witiko
force-pushed
the
feat/universal-themes
branch
from
November 22, 2023 15:21
8253bb4
to
47c3f8a
Compare
This fixes the typesetting of level four headings with attributes for LaTeX document classes without the `\chapter` command such as `article` and level five headings for LaTeX document classes with the `\chapter` command such as `book`.
Witiko
force-pushed
the
feat/universal-themes
branch
from
December 14, 2023 16:19
7e132cd
to
cd52d47
Compare
Witiko
force-pushed
the
feat/universal-themes
branch
2 times, most recently
from
December 15, 2023 20:14
3838560
to
245b83d
Compare
Witiko
force-pushed
the
feat/universal-themes
branch
from
December 15, 2023 20:59
245b83d
to
99fde6f
Compare
Witiko
force-pushed
the
feat/universal-themes
branch
from
December 29, 2023 22:27
4c1d0bf
to
2ccbd9b
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
context
Related to the ConTeXt interface and implementation
expl3
Related to the high-level programming language expl3
latex
Related to the LaTeX interface and implementation
optex
Related to the OpTeX interface and implementation
plaintex
Related to the plain TeX interface and implementation
technical debt
Related to code smells and refactoring
themes
Related to Markdown themes
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Closes #276.
Tasks
import
/theme
from LaTeX (Section 2.3.2.3 of the technical documentation) to plain TeX (Section 2.2.2.5).import
/theme
was moved in commit 3261f9f from this PR.import
/theme
were moved to the plain TeX interface in commit 8253bb4 from this PR.\@@_load_theme:nn
not only in LaTeX (Section 3.3.2.1 of the technical documentation), but also in plain TeX (new Section 3.2.2).witiko/tilde
from LaTeX (Section 2.3.2.3 of the technical documentation) to plain TeX (new Section 2.2.2.5).snippet
/import
from LaTeX (Section 2.3.2.4 of the technical documentation) to plain TeX (new Section 2.2.2.6).code
from LaTeX (Section 3.3.3 of the technical documentation) to plain TeX (Section 2.2.6).\markdownSuper
, which loads the plain TeX theme from the LaTeX theme.The macro
\markdownSuper
was documented in commit 3261f9f from this PR.\markdownSuper
, which is a super confusing name, to\markdownLoadPlainTeXTheme
.witiko/markdown/defaults
.plain-setup.tex
and the LaTeX themewitiko/markdown/test
into plain TeX theme with the same name.Create stub ConTeXt and LaTeX themes that use
\markdownLoadPlainTeXTheme
to load the plain TeX theme.Here are some further remarks:
*.sty
file exists and load a*.tex
file if it exists or emit an error otherwise.