{"action":"created","issue":{"url":"https://api.github.com/repos/SublimeText/LaTeXTools/issues/614","labels_url":"https://api.github.com/repos/SublimeText/LaTeXTools/issues/614/labels{/name}","comments_url":"https://api.github.com/repos/SublimeText/LaTeXTools/issues/614/comments","events_url":"https://api.github.com/repos/SublimeText/LaTeXTools/issues/614/events","html_url":"https://github.com/SublimeText/LaTeXTools/issues/614","id":120106645,"number":614,"title":"[Bug]reference for section","user":{"login":"Ricardo-May","id":12010098,"avatar_url":"https://avatars.githubusercontent.com/u/12010098?v=3","gravatar_id":"","url":"https://api.github.com/users/Ricardo-May","html_url":"https://github.com/Ricardo-May","followers_url":"https://api.github.com/users/Ricardo-May/followers","following_url":"https://api.github.com/users/Ricardo-May/following{/other_user}","gists_url":"https://api.github.com/users/Ricardo-May/gists{/gist_id}","starred_url":"https://api.github.com/users/Ricardo-May/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ricardo-May/subscriptions","organizations_url":"https://api.github.com/users/Ricardo-May/orgs","repos_url":"https://api.github.com/users/Ricardo-May/repos","events_url":"https://api.github.com/users/Ricardo-May/events{/privacy}","received_events_url":"https://api.github.com/users/Ricardo-May/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-12-03T06:53:17Z","updated_at":"2015-12-04T17:40:29Z","closed_at":null,"body":"Hey, Guys!\r\nI am glad to inform you that there is a bug occurring for the section reference. When I use the reference for section, I find that the words following after the reference are changed into **bold** format as well, and a brace is needed to prevent it.\r\nOf course, it does not affect my using LaTeXTools, but I beg for the xelatex for simple builder for my non-English writing, actually I always modify the simplebuilder.py in order to invoke xelatex instead of pdflatex. Maybe something can be done for simple builder using `%!TEX program = xelatex`.\r\n\r\nLet me give a simple example for this below.\r\n```LaTeX\r\n\\documentclass{article}\r\n\\begin{document}\r\nWhen I write this article, I may need to refer to some sections, like \\ref{sec:test}, but the words just after this reference become bold. \r\n\r\nHowever, if I include this reference \\ref{sec:test} in a pair of braces, this problem would not occur, like {\\ref{sec:test}} blabla...\r\n\\section{test}\\label{sec:test}\r\n\\end{document}\r\n```\r\nI am not sure if I have explanded this problem clearly, actually I mean the words in this example like\r\n> but the words just after this reference become bold. \r\n\r\nwould become bold like\r\n\r\n**but the words just after this reference become bold**.\r\n\r\nif I include the reference in a pair of braces, like `{\\ref{sec:test}}` this reference won't affect the words following the reference into bold format.\r\n\r\nOf course, I mean this occur after compiled.\r\n\r\n*I am sorry if I didn't introduce this issue exactly due to my poor English.*\r\n\r\nThanks for LaTeXTools, and hope it become better in the future!"},"comment":{"url":"https://api.github.com/repos/SublimeText/LaTeXTools/issues/comments/162031292","html_url":"https://github.com/SublimeText/LaTeXTools/issues/614#issuecomment-162031292","issue_url":"https://api.github.com/repos/SublimeText/LaTeXTools/issues/614","id":162031292,"user":{"login":"msiniscalchi","id":668933,"avatar_url":"https://avatars.githubusercontent.com/u/668933?v=3","gravatar_id":"","url":"https://api.github.com/users/msiniscalchi","html_url":"https://github.com/msiniscalchi","followers_url":"https://api.github.com/users/msiniscalchi/followers","following_url":"https://api.github.com/users/msiniscalchi/following{/other_user}","gists_url":"https://api.github.com/users/msiniscalchi/gists{/gist_id}","starred_url":"https://api.github.com/users/msiniscalchi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/msiniscalchi/subscriptions","organizations_url":"https://api.github.com/users/msiniscalchi/orgs","repos_url":"https://api.github.com/users/msiniscalchi/repos","events_url":"https://api.github.com/users/msiniscalchi/events{/privacy}","received_events_url":"https://api.github.com/users/msiniscalchi/received_events","type":"User","site_admin":false},"created_at":"2015-12-04T17:40:29Z","updated_at":"2015-12-04T17:40:29Z","body":"That's a problem with syntax highlighting, I believe. Try a different color scheme maybe. Anyway, it should not be related to LaTeXTools, as we don't alter syntax highlight. \n"}}