Is there the possibility to perform a check in TeXworks to see if there are any missing closing brackets?

With this I also mean brackets not related to specific latex commands (e.g. ( and )).

closed as off topic by Werner, Guido, lockstep, Gonzalo Medina, Qrrbrbirlbel Apr 6 '13 at 23:35

Questions on TeX - LaTeX Stack Exchange are expected to relate to TeX, LaTeX or related typesetting systems within the scope defined by the community. Consider editing the question or leaving comments for improvement if you believe the question can be reworded to fit within the scope. Read more about reopening questions here. If this question can be reworded to fit the rules in the help center, please edit the question.

  • 4
    To whoever cast the close vote: Please don't just vote to close without leaving a comment explaining your reason to do so. – Jake Jan 18 '13 at 13:07
  • 5
    This is from texworks manual and maybe be helpful: "A frequent error is to forget a closing symbol: parenthesis, bracket, square bracket. TEXworks helps with a tool to show the pairs of symbols: when one move over one of these symbols its complementary is briefly highlighted in orange. One can also, when one is inside a block like this, one can ask to select the block by Edit / balance delimiters or by its short-cut [Ctrl+B]. Thus one immediately sees the scope of the block." – Pouya Jan 18 '13 at 13:08
  • This may be a very basic approach, but how about just using a search to count the number of ( and the number of ) to check that the number matches? – myrtille Jan 18 '13 at 13:26
  • @myrtille Good suggestion, but it still doesn't help to locate the problem. In a document of 10k lines it can't be done manually :) – Schneider Dec 22 '16 at 10:18

Browse other questions tagged or ask your own question.