Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 05-09-2012, 12:12 PM   #1
Registered: Jun 2007
Location: Europe
Distribution: Ubuntu
Posts: 257

Rep: Reputation: 26
Latex Problem: Backslash Recognized as Two Backslashes "doesn't match its definition"

Hi all,

I've been struggling for hours with a document that I started in February and that worked in February (I'm pretty sure).

Here's something I've defined:

Later on...
Please print \node0 on my PDF!
I get this error:
[2] [3]
! Use of \node doesn't match its definition.
l.193 ... Please print \node0 ...

? x
I'm convinced it worked before because I have about 100 of these shortcuts (\def).

At one point I thought it was mistaking \node for \n (change of line) ode. So I substituted wrote \dnode. I even retyped it in completely in case there was a strange character that couldn't not be detected by the naked eye hidden in my text editor.

It's in UTF-8, I'm using gedit. It also indicates MIME type: TeX document (text-x-tex).

If I type in \def\caca1 and then do "caca1", it works.

I suspect it's an encoding problem. I see absolutely no pattern!

Please help!

Oh, last piece of info... If I do Ctrl+F \node0 I get "doesn't exist". If I copy and paste into the Ctrl+F panel I get "\\node". If I try to replace, it still doesn't work (using Ctrl+H). I just can't figure it out!!

Thanks in advance,


Last edited by rm_-rf_windows; 05-09-2012 at 12:13 PM.
Old 05-09-2012, 09:06 PM   #2
Senior Member
Registered: Jul 2006
Location: Kolkata, India
Distribution: Debian 64-bit GNU/Linux, Kubuntu64, Fedora QA, Slackware,
Posts: 2,766

Rep: Reputation: Disabled
the config/session files may be corrupt. Change editor or delete files.
Old 05-09-2012, 09:54 PM   #3
Senior Member
Registered: Oct 2003
Location: Bonaire
Distribution: Debian Wheezy/Jessie/Stretch/Sid, Linux Mint DE
Posts: 4,605

Rep: Reputation: 686Reputation: 686Reputation: 686Reputation: 686Reputation: 686Reputation: 686
Originally Posted by rm_-rf_windows View Post
Oh, last piece of info... If I do Ctrl+F \node0 I get "doesn't exist". If I copy and paste into the Ctrl+F panel I get "\\node". If I try to replace, it still doesn't work (using Ctrl+H). I just can't figure it out!!
This pretty much explains it, doesn't it? If your editor can't find it, neither can Latex. This is not a latex problem, it is a file problem.

Find and download a hex editor (khexedit, hexeditor) and look at what you think \node0 is. I am sure there are some stray characters close.


PS Not that I understand everything. You retype \node0. Didn't work. You replaced with caca1. Worked. Editors don't see no difference in retyping \node0 or retyping caca1.



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
linking problem: "multiple definition of .." schatoor Programming 11 05-03-2012 03:04 AM
"Multiple definition of" and "undefined reference to" in QT Creator with QJson lib echelon89 Programming 1 05-01-2009 06:48 AM
Can someone give me the definition of "Kernel Symbol" and "EXPORT_SYMBOL" ?? Raynus Programming 2 08-30-2008 07:19 PM
A single regex to match anything with ".aac" or ".mp3" at the end ? lumix Linux - General 9 05-09-2008 01:11 AM
gtkradiant: "This editor binary doesn't match..." spuzzzzzzz Linux - Software 0 10-10-2004 03:17 AM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 03:12 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration