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

svmult.sty: version update + dual heading numbering #955

Closed
dginev opened this issue Mar 1, 2018 · 2 comments
Closed

svmult.sty: version update + dual heading numbering #955

dginev opened this issue Mar 1, 2018 · 2 comments

Comments

@dginev
Copy link
Collaborator

dginev commented Mar 1, 2018

Reported on an arXiv paper at arxiv-vanity/engrafo#231

On some reading of svmult.cls it comes down to that package supporting both the numart and book numbering schemes, i.e. starting with section or starting with chapter.

They need to be explicitly toggled by using \title or \title*. This is in fact recognized in the latexml binding:

# Oddly, they allow * on \title to affect numbering (* => numart, none => book)

The .cls file uses the usual heavy handed counter redefinitions based on this switch, which is gnarly to reimplement, but doable?

Another idea is to do something I've implemented in the past as a post-processing step after latexml, but this time as possibly a part of the crossref machinery in post-processing? Namely, to do a loop over all heading numbers and if they all have a leading zero, to trim that zero away. I recall there were some discussions that having a 0 chapter makes sense in some rare cases, but if the entire document is situated in the zero chapter, probably less so?

@dginev
Copy link
Collaborator Author

dginev commented Mar 1, 2018

Another tiny peculiarity that turns this paper into an error category instead of a warning category is that it is using a more recent version of svmult version 5.4 (25-Jun-07) which also natively defines \url (the cause of error).

Link to the up-to-date version:
https://raw.githubusercontent.com/Microsoft/AirSim/master/docs/paper/svmult.cls

It isn't helping that Springer are maintaining this style in-house, rather than using CTAN

@dginev dginev changed the title svmult.sty dual heading numbering svmult.sty: version update + dual heading numbering Mar 1, 2018
@brucemiller
Copy link
Owner

This one should basically be fixed, at least as regards svmult. The given document does give a validation error, due to the authors not using an \appendix command; Perhaps we'll have to revisit how the schema represents appendices in the future. For now, I'll call this one fixed! Thanks for the report!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants