{"action":"created","issue":{"url":"https://api.github.com/repos/mathjax/mathjax-v3/issues/135","repository_url":"https://api.github.com/repos/mathjax/mathjax-v3","labels_url":"https://api.github.com/repos/mathjax/mathjax-v3/issues/135/labels{/name}","comments_url":"https://api.github.com/repos/mathjax/mathjax-v3/issues/135/comments","events_url":"https://api.github.com/repos/mathjax/mathjax-v3/issues/135/events","html_url":"https://github.com/mathjax/mathjax-v3/issues/135","id":342323484,"node_id":"MDU6SXNzdWUzNDIzMjM0ODQ=","number":135,"title":"[TeX input] processing within \\text{}","user":{"login":"pkra","id":426686,"node_id":"MDQ6VXNlcjQyNjY4Ng==","avatar_url":"https://avatars3.githubusercontent.com/u/426686?v=4","gravatar_id":"","url":"https://api.github.com/users/pkra","html_url":"https://github.com/pkra","followers_url":"https://api.github.com/users/pkra/followers","following_url":"https://api.github.com/users/pkra/following{/other_user}","gists_url":"https://api.github.com/users/pkra/gists{/gist_id}","starred_url":"https://api.github.com/users/pkra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pkra/subscriptions","organizations_url":"https://api.github.com/users/pkra/orgs","repos_url":"https://api.github.com/users/pkra/repos","events_url":"https://api.github.com/users/pkra/events{/privacy}","received_events_url":"https://api.github.com/users/pkra/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2018-07-18T13:15:14Z","updated_at":"2018-09-03T17:37:44Z","closed_at":null,"author_association":"MEMBER","body":"From a quick test, it seems that v3 keeps v2's behavior and only allows `$`, `\\ref`, `\\eqref` within text mode (`\\text`, `\\mbox` etc).\r\n\r\nIt would be very helpful to revisit this and make it to some degree configurable.\r\n\r\nMy particular use case is linking. I need a custom macro for linking that goes beyond what `ref` and `eqref` can provide; and I need to support this macro in both modes."},"comment":{"url":"https://api.github.com/repos/mathjax/mathjax-v3/issues/comments/418167337","html_url":"https://github.com/mathjax/mathjax-v3/issues/135#issuecomment-418167337","issue_url":"https://api.github.com/repos/mathjax/mathjax-v3/issues/135","id":418167337,"node_id":"MDEyOklzc3VlQ29tbWVudDQxODE2NzMzNw==","user":{"login":"dpvc","id":432782,"node_id":"MDQ6VXNlcjQzMjc4Mg==","avatar_url":"https://avatars2.githubusercontent.com/u/432782?v=4","gravatar_id":"","url":"https://api.github.com/users/dpvc","html_url":"https://github.com/dpvc","followers_url":"https://api.github.com/users/dpvc/followers","following_url":"https://api.github.com/users/dpvc/following{/other_user}","gists_url":"https://api.github.com/users/dpvc/gists{/gist_id}","starred_url":"https://api.github.com/users/dpvc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dpvc/subscriptions","organizations_url":"https://api.github.com/users/dpvc/orgs","repos_url":"https://api.github.com/users/dpvc/repos","events_url":"https://api.github.com/users/dpvc/events{/privacy}","received_events_url":"https://api.github.com/users/dpvc/received_events","type":"User","site_admin":false},"created_at":"2018-09-03T17:37:44Z","updated_at":"2018-09-03T17:37:44Z","author_association":"MEMBER","body":"I have put together an [extension for v2](https://github.com/dpvc/MathJax/blob/text-macros/unpacked/extensions/TeX/text-macros.js) that allows the processing to (some) text-mode macros.  Volker hasn't seen it yet, and I don't know how well it will fit in with the v3 architecture, but I'm sure something like it could be done.  Perhaps that is a sufficient solution?"}}
{"actor":{"display_login":"dpvc"}}