dginev / ar5iv

A web service offering HTML5 articles from arXiv.org as converted with latexml
https://ar5iv.org
MIT License
782 stars 20 forks source link

Improve article 2102.07870 #53

Open luckywood opened 2 years ago

luckywood commented 2 years ago

conversion problem in Appendix D probably due to malformed:ltx:listing.

Appendix D Implementation details D.1 Creating a MomentumNet with a MLP

\parimport torch import torch.nn as nn from momentumnet import MomentumNet \parfunction = nn.Sequential(nn.Linear(2, 16), nn.Tanh(), nn.Linear(16, 2)) \par% preprint.tex Line 1625 mom_net = MomentumNet([function, ], gamma=0.9, n_iters=15) \par


Error:malformed:ltx:listing isn't allowed in
 at preprint.tex; line 1594 col 11 - line 1606 col 15
 Currently in ..................
 In Core::Document[@0x55d46db0b670] /dev/shm/ROyaWzqXoB/preprint.tex; from line 1594 col 11 to line 1606 col 15
dginev commented 1 year ago

The article has now improved, likely due to getting updated to the latest (third) version.

We have a different problem however - the frontmatter is doubled and has an Appenfix artifact: https://ar5iv.labs.arxiv.org/html/2102.07870

dginev commented 1 year ago

The appendix artifact is due to:

\icmltitle{Appendix}
\appendix

as \icmltitle being mapped to \title in the current binding of icml_support.sty.ltxml