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

Comments

Projects
None yet
2 participants
@dginev
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 dginev added this to the LaTeXML-0.8.4 milestone Mar 1, 2018

@dginev

This comment has been minimized.

Collaborator

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 from svmult.sty dual heading numbering to svmult.sty: version update + dual heading numbering Mar 1, 2018

@brucemiller

This comment has been minimized.

Owner

brucemiller commented Apr 7, 2018

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!!

@brucemiller brucemiller closed this Apr 7, 2018

@dginev dginev modified the milestones: LaTeXML-0.8.4, LaTeXML-0.8.3 Apr 16, 2018

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