What is meta? ×

As i just asked a LaTex-question on SO, i noticed that there is no correct Syntax-highlighting for Latex-Code in a codeblock. This makes it hard to read the code.

Would it be possible to add the Latex-Syntax to the codeblocks?

share|improve this question
Just curious, why the minus one? –  C. Ross Jul 8 '10 at 10:13
Yeah. Downvoting without leaving a comment = great! –  ifischer Jul 8 '10 at 10:24
never mind downvotes here on Meta, they are used as an expression of disagreement more than a judgement on the quality of the question. ... +1. I don't use Latex myself, but adding highlighting for that popular a language sounds like a reasonable request. –  Pëkka Jul 8 '10 at 10:33
@Pekka: I'm a big latex user (and defender) myself, but I'm not sure that it constitutes a "popular" language. Nor is there anything like a common standard for highlighting latex. I mean, I'm an auctex user, but there are at least two other modes just in emacs. –  dmckee Jul 8 '10 at 21:52
Aside to ifischer: do you want more rep? You DO? Manually deassociate and reassociate your Meta and SO accounts from the "accounts" tab of your user profile and you'll get a free +100 Meta rep (since you have >200 SO rep). –  Pops Jul 9 '10 at 16:01

1 Answer 1

No common standard? But as far as i know, the syntax of keywords is still always the same, isn't it? Words beginning with "\" are keywords. % are comments. To highlight these words accordingly would already be enough to make it much more readable. At least it should be possible to turn off the "regular" code highlighting. This example shows most of the problems:


pdfborder=0 0 0,
%Glossary entries

%----Main document----
This text is a normal glossary item: \gls{glos:twitter}.
This text should also link to the glossary item: \glslink{glos:twitter}{Link to Twitter} 
but there is no link
share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .