[Tikzdevice-bugs] new metapost: few problems

Matthieu Stigler matthieu.stigler at gmail.com
Wed Apr 20 15:28:03 CEST 2011


Hi

Was just answering to this, saying it is solved by your other e-mail :-)

Thanks!!!

Matthieu

Le 20/04/2011 15:26, Cameron Bracken a écrit :
> On Wed, Apr 20, 2011 at 7:16 AM, Matthieu Stigler
> <matthieu.stigler at gmail.com>  wrote:
>> Hi
>>
>> trying metapost() on various plots, saw problem when some character contain
>> %. Interestingly, when character is in ylab, gets totally crazy!!
> I would expect the % character to cause particularly weird behavior
> since it is the comment character. Try manually replacing % with
> {\\%}, using the `sanitizeTexString()` function or the `sanitize`
> option.
>
>> See:
>>
>>
>>
>> ## fine
>> metapost("okay.tex")
>> plot(runif(100), main="65")
>> dev.off()
>>
>> ## problem!
>> metapost("firstPrb.tex")
>> plot(runif(100), main="65%")
>> dev.off()
>>
>> ## otehr problem:
>> metapost("Crazy.tex")
>> plot(runif(100), main="65", ylab="65%")
>> dev.off()
>>
>> Thanks!!
>>
>> Mat
>> _______________________________________________
>> Tikzdevice-bugs mailing list
>> Tikzdevice-bugs at lists.r-forge.r-project.org
>> https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/tikzdevice-bugs
>>
> -Cameron



More information about the Tikzdevice-bugs mailing list