Questions tagged [syntax-checker]

The tag has no usage guidance.

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

Is there a syntax-checker for BibTeX file?

My BibTeX file is approaching 1,000 entries. Is there any tool that I can use that will check my BibTeX file for errors in the BibTeX syntax and perhaps help cleanup the file?
Village's user avatar
  • 13.4k
1 vote
0 answers
62 views

**texstudio** identifies correct syntax as mistake

In texstudio 4.5.1, I recently noticed it's highlighting all correct syntax as latexSyntaxMistake in an orange background. Anyone know why this would be happening? Syntax checking is enabled in the ...
Greg. Kelemen's user avatar
2 votes
2 answers
437 views

How to solve "Package tikz Error: Giving up on this path. Did you forget a semicolon?."?

The code that gives this error message is \documentclass[dvipsnames]{standalone} \usepackage{pgfplots} \usepackage{tikz-3dplot} \usepackage{tikz} \usetikzlibrary{decorations.markings} \pgfplotsset{...
Fractal Admirer's user avatar
0 votes
1 answer
139 views

Is there a way to set data type for macro variables?

I have created some macros to simplify the my typesetting of proofs and theorems within my paper. %the proof builder, takes 1 argument, should be a sequence of \psteps, definined next \newcommand{\prf}...
Patrick R Kerrigan's user avatar
3 votes
2 answers
258 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 ...
Fractal Admirer's user avatar
5 votes
1 answer
2k 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 ...
Telemachus's user avatar
0 votes
1 answer
53 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 ...
Tik0's user avatar
  • 163
0 votes
0 answers
260 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 ...
Kirk Steyer's user avatar
2 votes
1 answer
96 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 ...
Jonas Stein's user avatar
  • 8,769
3 votes
1 answer
572 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:
vi pa's user avatar
  • 3,364
3 votes
1 answer
278 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: \...
Jonathan Jogenfors's user avatar
1 vote
0 answers
811 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 ...
Sui Chen's user avatar
1 vote
1 answer
238 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 ...
physkets's user avatar
11 votes
2 answers
2k views

TeXstudio does not recognise working LaTeX syntax: Wrong syntax-highlighting in {eqnarray*}-Environment

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,...
hochoi's user avatar
  • 193
3 votes
1 answer
2k 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 ...
zbeekman's user avatar
  • 201
2 votes
1 answer
325 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{...
Maïeul's user avatar
  • 10.9k
17 votes
1 answer
4k 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}...
Martin Thoma's user avatar
  • 18.6k
1 vote
0 answers
272 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 ...
Bjørn Kjos-Hanssen's user avatar
2 votes
0 answers
494 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 / ...
Martin Thoma's user avatar
  • 18.6k
2 votes
1 answer
4k 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, ...
user avatar
6 votes
3 answers
465 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 ...
jub0bs's user avatar
  • 58.6k
6 votes
0 answers
403 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 ...
Geremia's user avatar
  • 2,141
27 votes
2 answers
6k 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.
A T's user avatar
  • 4,033
7 votes
1 answer
169 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 ...
night owl's user avatar
  • 7,493
9 votes
1 answer
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?
hpekristiansen's user avatar
5 votes
2 answers
2k 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 ...
Roy Osherove's user avatar
14 votes
4 answers
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 ...
uckelman's user avatar
  • 403
86 votes
5 answers
22k 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.)
vanden's user avatar
  • 30.6k