Menu

Accent problem

User Help
2011-02-23
2012-12-11
  • Jonathan Weber

    Jonathan Weber - 2011-02-23

    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.

     
  • Dominic Ford

    Dominic Ford - 2011-03-10

    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.

     
  • Jonathan Weber

    Jonathan Weber - 2011-09-23

    Thanks a lot dcf21 !

    It works perfectly.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.