{"action":"created","issue":{"url":"https://api.github.com/repos/KWARC/LaTeXML-Plugin-sTeX/issues/104","repository_url":"https://api.github.com/repos/KWARC/LaTeXML-Plugin-sTeX","labels_url":"https://api.github.com/repos/KWARC/LaTeXML-Plugin-sTeX/issues/104/labels{/name}","comments_url":"https://api.github.com/repos/KWARC/LaTeXML-Plugin-sTeX/issues/104/comments","events_url":"https://api.github.com/repos/KWARC/LaTeXML-Plugin-sTeX/issues/104/events","html_url":"https://github.com/KWARC/LaTeXML-Plugin-sTeX/issues/104","id":154420613,"number":104,"title":"implement gviewnl with only name and language","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/LaTeXML-Plugin-sTeX/labels/enhancement","name":"enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/KWARC/LaTeXML-Plugin-sTeX/labels/Priority","name":"Priority","color":"fbca04"}],"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":2,"created_at":"2016-05-12T08:02:50Z","updated_at":"2016-06-03T16:50:19Z","closed_at":null,"body":"In https://github.com/KWARC/sTeX/issues/222 we have re-designed the argument of *viewnl to only be name and language. This is implemented in the ```gviewnl``` branch of sTeX. \r\nI have started implementing this for the sTeX plugin on the corresponding ```gviewnl``` branch, but we need to get ```view``` and  ```mhview``` to record the same things we recorded in https://github.com/KWARC/sTeX/issues/222 \r\nassigning to @angerhang, please come by and discuss this with me. "},"comment":{"url":"https://api.github.com/repos/KWARC/LaTeXML-Plugin-sTeX/issues/comments/223632108","html_url":"https://github.com/KWARC/LaTeXML-Plugin-sTeX/issues/104#issuecomment-223632108","issue_url":"https://api.github.com/repos/KWARC/LaTeXML-Plugin-sTeX/issues/104","id":223632108,"user":{"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},"created_at":"2016-06-03T16:50:19Z","updated_at":"2016-06-03T16:50:19Z","body":"As a toy example,\r\n```tex\r\n\\begin{gviewnl}[creators=miko]{setcartprod}{en}\r\n\r\n\\end{gviewnl}\r\n```\r\nLaTeXML complains about two unexpected control sequences \r\n```\r\nError:unexpected:\\else Extra T_CS[\\else]\r\n\t/Users/Hang/lmh/localmh/MathHub/smglom/sets/source/setcartprod.en.tex#textrange(from=1;0,to=1;47)\r\n\talready saw \\else for T_CS[\\ifx] [3] at /Users/Hang/lmh/localmh/MathHub/smglom/sets/source/setcartprod.en.tex#textrange(from=1;0,to=1;47)\r\n\tNext token is T_CS[\\ifx]\r\n\tIn Core::Definition::Conditional[\\else] from TeX.pool.ltxml line 505\r\n\t <= Core::Gullet[@0x7fbcd505ca88] <= Core::Stomach[@0x7fbcd5061398] <= Core::Definition::Constructor[\\begin{... <= ...\r\n\r\nError:unexpected:\\fi Didn't expect a T_CS[\\fi] since we seem not to be in a conditional\r\n\t/Users/Hang/lmh/localmh/MathHub/smglom/sets/source/setcartprod.en.tex#textrange(from=1;0,to=1;47)\r\n\tNext token is T_CS[\\ignorespacesandpars]\r\n\tIn Core::Definition::Conditional[\\fi] from TeX.pool.ltxml line 507\r\n\t <= Core::Gullet[@0x7fbcd505ca88] <= Core::Stomach[@0x7fbcd5061398] <= Core::Definition::Constructor[\\begin{... <= ...\r\n```\r\nwhich results from the RawTeX implementation in `smultiling-mh` package\r\n```tex\r\n\\newenvironment{mhviewnl}[3][]{\\def\\@test{#1}%\r\n  \\metasetkeys{mhview}{#1}%\r\n  \\if@langfiles\\requiremodules{#2}{tex}\\else%\r\n    \\ifx\\mhview@loadsig\\@empty%\r\n    \\PackageError{smultiling-mh}%\r\n                          {Cannot load view signature}%\r\n                          {please specify the file name via the 'sigpath' and 'sigrepos' keys!}%\r\n    \\fi\r\n    \\ifx\\mhview@sigrepos\\@empty%\r\n    \\requiremodules{\\MathHub{\\mh@currentrepos/source/\\mhview@sigpath.tex}}\\else%\r\n    \\requiremodules{\\MathHub{\\mhview@sigrepos/source/\\mhview@sigpath.tex}}\\fi%\r\n  \\fi% if@langfiles\r\n  \\ifx\\@test\\@empty%\r\n  \\begin{mhview}[id=#2.#3,fromext=tex,toext=tex]{\\csuse{views@#2@from}}{\\csuse{views@#2@to}}\\else%\r\n  \\begin{mhview}[id=#2.#3,#1,fromext=tex,toext=tex]{\\csuse{views@#2@from}}{\\csuse{views@#2@to}}\\fi%\r\n  \\ignorespacesandpars}\r\n{\\end{mhview}\\ignorespacesandparsafterend}\r\n```\r\nThe first error occurs at the first else expression and the second error occurs at the last fi expression. I am not fluent in TeX, but just based on condition closure, this snippet should be working."}}
{"actor":{"display_login":"angerhang"}}