{"action":"created","issue":{"url":"https://api.github.com/repos/KWARC/sTeX/issues/39","labels_url":"https://api.github.com/repos/KWARC/sTeX/issues/39/labels{/name}","comments_url":"https://api.github.com/repos/KWARC/sTeX/issues/39/comments","events_url":"https://api.github.com/repos/KWARC/sTeX/issues/39/events","html_url":"https://github.com/KWARC/sTeX/issues/39","id":48692063,"number":39,"title":"listings warning","user":{"login":"kohlhase","id":4037538,"avatar_url":"https://avatars.githubusercontent.com/u/4037538?v=3","gravatar_id":"","url":"https://api.github.com/users/kohlhase","html_url":"https://github.com/kohlhase","followers_url":"https://api.github.com/users/kohlhase/followers","following_url":"https://api.github.com/users/kohlhase/following{/other_user}","gists_url":"https://api.github.com/users/kohlhase/gists{/gist_id}","starred_url":"https://api.github.com/users/kohlhase/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kohlhase/subscriptions","organizations_url":"https://api.github.com/users/kohlhase/orgs","repos_url":"https://api.github.com/users/kohlhase/repos","events_url":"https://api.github.com/users/kohlhase/events{/privacy}","received_events_url":"https://api.github.com/users/kohlhase/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/KWARC/sTeX/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":{"login":"angerhang","id":7655454,"avatar_url":"https://avatars.githubusercontent.com/u/7655454?v=3","gravatar_id":"","url":"https://api.github.com/users/angerhang","html_url":"https://github.com/angerhang","followers_url":"https://api.github.com/users/angerhang/followers","following_url":"https://api.github.com/users/angerhang/following{/other_user}","gists_url":"https://api.github.com/users/angerhang/gists{/gist_id}","starred_url":"https://api.github.com/users/angerhang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/angerhang/subscriptions","organizations_url":"https://api.github.com/users/angerhang/orgs","repos_url":"https://api.github.com/users/angerhang/repos","events_url":"https://api.github.com/users/angerhang/events{/privacy}","received_events_url":"https://api.github.com/users/angerhang/received_events","type":"User","site_admin":false},"milestone":null,"comments":9,"created_at":"2014-11-13T21:08:39Z","updated_at":"2015-04-06T18:41:50Z","closed_at":null,"body":"In the KWARC branch of LaTeXML I get the warning \r\n```\r\n(Loading /Users/kohlhase/localmh/ext/perl5lib/lib/perl5/LaTeXML/Package/listings.sty.ltxml...\r\nWarning:expected:<number> Missing number, treated as zero.\r\n\t/Users/kohlhase/localmh/ext/perl5lib/lib/perl5/LaTeXML/Package/listings.sty.ltxml line 1256\r\n\twhile processing \\lstset\r\n\tNext token is T_CS[\\linewidth]\r\n\tIn Core::Gullet[@0x7d5040d0] /Users/kohlhase/localmh/ext/perl5lib/lib/perl5/LaTeXML/Package/listings.sty.ltxml line 1256\r\n\t <= \\lstset RequiredKeyVals:LST <= Core::Stomach[@0x7d5063a0] <= Core::Gullet[@0x7d5040d0] <= ...\r\n\r\n(Processing definitions /usr/local/texlive/2014/texmf-dist/tex/latex/listings/listings.cfg...\r\n(Loading /Users/kohlhase/localmh/ext/perl5lib/lib/perl5/LaTeXML/Package/LaTeX.pool.ltxml... 0.28 sec)[#25] 0.31 sec) 1.87 sec)\r\n```\r\nwhich is a bit annoying. It seems to me that the cause is that we preload ```lststex.sty.ltxml``` in ```stex-module.opt``` without preloading ```LaTeX.pool.ltxml```, which defines ```linewidth```. I am not quite sure why ```LaTeX.pool.ltxml``` is loaded exactly at this time, since ```stex-module.opt``` has the preloads sectino \r\n```\r\npreload = amsmath\r\npreload = amssymb\r\npreload = eurosym\r\npreload = wasysym\r\npreload = multirow\r\npreload = paralist\r\npreload = lststex\r\npreload = lstomdoc\r\npreload = ded\r\npreload = calbf\r\npreload = hwexam\r\npreload = url\r\npreload = wrapfig\r\npreload = colortbl\r\npreload = [show]ed\r\npreload = cmath\r\n```\r\nI am not sure what to do here, would preloading ```LaTeX.pool.ltxml``` earlier fix the problem without harming? "},"comment":{"url":"https://api.github.com/repos/KWARC/sTeX/issues/comments/90191948","html_url":"https://github.com/KWARC/sTeX/issues/39#issuecomment-90191948","issue_url":"https://api.github.com/repos/KWARC/sTeX/issues/39","id":90191948,"user":{"login":"kohlhase","id":4037538,"avatar_url":"https://avatars.githubusercontent.com/u/4037538?v=3","gravatar_id":"","url":"https://api.github.com/users/kohlhase","html_url":"https://github.com/kohlhase","followers_url":"https://api.github.com/users/kohlhase/followers","following_url":"https://api.github.com/users/kohlhase/following{/other_user}","gists_url":"https://api.github.com/users/kohlhase/gists{/gist_id}","starred_url":"https://api.github.com/users/kohlhase/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kohlhase/subscriptions","organizations_url":"https://api.github.com/users/kohlhase/orgs","repos_url":"https://api.github.com/users/kohlhase/repos","events_url":"https://api.github.com/users/kohlhase/events{/privacy}","received_events_url":"https://api.github.com/users/kohlhase/received_events","type":"User","site_admin":false},"created_at":"2015-04-06T18:41:50Z","updated_at":"2015-04-06T18:41:50Z","body":"I think we should have the generic ```stex-module``` preload ```[book]omdoc.cls```. \r\nWe should have two more profiles then: ```mikoslides-module``` and ```smglom-module```, where the first preloads ```[notes]mikoslides.cls``` and all its dependencies and the second one also ```smglom.sty``` and so on. \r\n"}}