Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [syntax-checker]

The tag has no usage guidance.

2
votes
1answer
174 views

TeXstudio syntax highlighting for Tikz

How can I get in TeXstudio the same syntax highlighting of TikzEdt? Look at the red word (called operation in Tikz, I think) "circle". In TikzEdt: In TeXstudio:
2
votes
1answer
90 views

Using \crefformat with cleveref causes spurious chktex warnings

Cleveref has a useful feature in \crefformat where an equation can be referred to, for instance, an inequality. This adds an extra square-bracket argument to the \label command. For example: \...
1
vote
0answers
255 views

Is here any quick way to check the syntax of latex? [closed]

Here is recording many math questions so I want to have a way to check the syntax of latex especially under math condition. I checked ChkTeX, which could not satisfy me because it could not detect the ...
1
vote
1answer
126 views

Erroneous TeX files with epslatex?

Upon including the TeX (and eps) file generated from Gnuplot as given in: http://www.gnuplotting.org/output-terminals/#epslatex I get the following errors with Vim's Syntastic plugin that uses ...
6
votes
1answer
662 views

Wrong LaTeX syntax in TeXstudio?

Please help me to understand why TeXstudio does not like my syntax below although it was able to compile correctly?? \documentclass[letterpaper,12pt]{article} \usepackage{latexsym,amsfonts,amssymb,...
1
vote
1answer
630 views

chktex disable warning about ~ for certain macros when using cleveref with varioref

Is there any way, other than adding per-line suppressions (i.e., %chktex 2) or per warning suppressions to get chktex to stop warning me when \vref and \eqref are preceded by spaces? I am running ...
2
votes
1answer
219 views

syntonly + float package : not compatible

I try to use syntaxonly + float package. See the MWE \documentclass[oneside]{book} \usepackage{graphics} \usepackage{syntonly} \syntaxonly \usepackage{float} \newfloat{carte}{h}{carte} \floatname{...
12
votes
1answer
2k views

How can I tell chktex that I have checked the next line?

I use chktex to check my bachelor's thesis for mistakes. I get a lot of warnings and I would like to get rid of them. For example, I have a line \large{\iflanguage{english}{Duration}{Bearbeitungszeit}...
1
vote
0answers
237 views

TextMate \cite syntax highlighting [closed]

When I open a LaTeX document in TextMate, the syntax highlighting makes the part in braces in any cite command colored red, as if there is an error: \cite{why-is-this-red} Is there an easy way to ...
2
votes
0answers
83 views

Does something like a fast LaTeX syntax checker for checking errors / warnings exist? [duplicate]

When I currently compile my LaTeX document, I do it like this: sketch figures/torus.sketch > figures/torus.tex pdflatex $(DOKUMENT).tex -output-format=pdf # aux-files for makeindex / ...
2
votes
1answer
3k views

MathJax and Latex Syntax Checker - Copy and Paste Code

Please pardon me if this is be a duplicate which I would be fain to delete. Please feel free to edit this post and tags. I'm seeking a syntax checker (preferably free) for Latex and MathJax and etc, ...
6
votes
3answers
349 views

How can I parse the first word in a token stream, token by token?

Some programming editors and IDEs highlight legal and illegal variable names in different ways. I wish listings easily allowed for such syntax checking and highlighting, but it doesn't, at least at ...
6
votes
0answers
177 views

“Standardizing” LaTeX code? [duplicate]

Is there a program for LaTeX code akin to HTML Tidy that "standardizes" or "canonically" formats (automatically indents, spaces, etc.) LaTeX code? AucTex formats code, but it doesn't appear to create ...
10
votes
1answer
2k views

Turn off syntax highlighting in minted?

How do I turn off syntax highlighting in minted? Defining my DSL with a CFG and then a PEG; and the syntax highlighting is getting in the way.
7
votes
1answer
154 views

Automatic Way of Searching for Syntax Inconsistencies

I have a large .tex file, and when ran am receiving error messages about missing $ or extra delimiter/missing {. It tells me in the log file where the error is "supposed" to be located, but it is not ...
5
votes
2answers
1k views

Is there a way to make ChkTeX ignore TikZ code

ChkTeX does not like TikZ, and will report a bunch of errors. Is there a way to make ChkTex ignore TikZ code?
5
votes
2answers
670 views

chktex not reading lines correctly

I'm trying to use chktex in Ubuntu but it seems to not be reading lines correctly. When I run it on a file that has this line (and any other line like it): \include{glossary} it send an error saying ...
12
votes
4answers
1k views

Is there a package for warning about unbalanced delimiters?

I'm copy-editing a rather lengthy set theory book. One thing I'd like to check systematically is whether all left-right unambiguous delimiters (parentheses brackets curly, square and angle) are ...
60
votes
5answers
11k views

Is there a program equivalent to lint for LaTeX?

Is there a program equivalent to lint for LaTeX? (lint checks C code for syntax errors and possible mistakes.)