Questions tagged [syntax-checker]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
0answers
21 views

Ignore \verb|| in chktexrc

I'm using chktex to keep my code syntactically coherent, but I ran into a problem that is quite annoying. In my document, I use minted and its \newmintinline to declare shortverb syntax. The problem ...
3
votes
2answers
72 views

Tikz-cd Crossing Over Issue

I'm drawing a diagram and I want one specific line to be crossed over by all others that pass by it. I'll put the picture of my diagram below for you to see what I want. So, the red arrow indicates ...
5
votes
1answer
680 views

How to use chktexrc to control warnings on dashes?

I am trying to configure chktex with a local .chktexrc. Per the chktex manual: You should also take a look at the “chktexrc” file. As it is self-documenting, you should be able to get the meaning ...
0
votes
1answer
29 views

variation/abbreviation/hyphenation checker for collaborative texts

I often experience many common mistakes, when I collaborate with partners, like the following: spelling variations (advisor vs. adviser) varying abbreviations (eg. vs. e.g.) different forms ...
0
votes
0answers
211 views

Alternative to Tex FoG

I use an app for Mac OSX called TexFoG which gives me an assortment of common syntaxes for LaTex, this version is 1.3 and is a 32 bit version that will soon be obsolete. dose anyone know of an ...
2
votes
1answer
72 views

syntonly: warning (font): lua-loaded font '16' with name 'dummy' has no characters

I get this warning when compiling a document which uses syntonly with LuaLaTeX. Does every font have an ID and 16 links to the 16th font which was loaded? Where is the dummy font and why do I get this ...
3
votes
1answer
433 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
177 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
448 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
204 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 ...
11
votes
2answers
1k 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,...
2
votes
1answer
1k 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
292 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{...
14
votes
1answer
3k 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
263 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
474 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
390 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
373 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 ...
19
votes
1answer
4k 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
163 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 ...
9
votes
1answer
2k 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
1k 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 ...
14
votes
4answers
2k 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 ...
77
votes
5answers
18k 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.)