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

update xsl rule for moderncv personal position/title #2380

Merged
merged 1 commit into from
Aug 12, 2024

Conversation

dginev
Copy link
Collaborator

@dginev dginev commented Jul 17, 2024

A bit of a minor tweak that makes the moderncv.cls output capable of handling a simple plain-text position (originating in the \title macro). The previous version was expecting a multiline construct in a \vbox, which is a bit too specific.

Funny story how I stumbled on it...

@dginev
Copy link
Collaborator Author

dginev commented Jul 17, 2024

Also, this could be refactored to a dedicated rule specific to ltx:contact[@role='position'], let me know if that's preferable to the xsl:if test.

@brucemiller
Copy link
Owner

seems reasonable, although there may be a more general approach (later).

@brucemiller brucemiller merged commit 89babc5 into brucemiller:master Aug 12, 2024
13 checks passed
@brucemiller brucemiller deleted the update-cv-rule branch August 12, 2024 13:48
teepeemm pushed a commit to teepeemm/LaTeXML that referenced this pull request Oct 29, 2024
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.

2 participants