I'm using pyxplot for graphics in Latex document. I'm french so accent are everywhere.
Pyxplot is a great software but I'm experiencing some problems to make acute accent (\'e), this is not recognized by pyxplot. Weird fact is that grave accent (\`e) works perfectly…
I'm using version 0.8.1
Thanks for your help.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
The issue here is that the backslash character is an escape character which PyXPlot uses to allow quote characters (i.e. ' or ") within strings which use the same quote characters as delimiters. The solution is to use two backslash characters (\\) which is an escape code for a literal backslash. So in your case, you want to do "\\'e" if you delimit your string with "s, or '\\\'e' if you delimit your string with 's. See <http://pyxplot.org.uk/0.8/doc/html/sec-latex_incompatibility.html> for more information.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I'm using pyxplot for graphics in Latex document. I'm french so accent are everywhere.
Pyxplot is a great software but I'm experiencing some problems to make acute accent (\'e), this is not recognized by pyxplot. Weird fact is that grave accent (\`e) works perfectly…
I'm using version 0.8.1
Thanks for your help.
The issue here is that the backslash character is an escape character which PyXPlot uses to allow quote characters (i.e. ' or ") within strings which use the same quote characters as delimiters. The solution is to use two backslash characters (\\) which is an escape code for a literal backslash. So in your case, you want to do "\\'e" if you delimit your string with "s, or '\\\'e' if you delimit your string with 's. See <http://pyxplot.org.uk/0.8/doc/html/sec-latex_incompatibility.html> for more information.
Thanks a lot dcf21 !
It works perfectly.