From: Morgan Brassel <morgan.brassel@free.fr>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: UTF-8 characters and gnuplot module
Date: Tue, 25 Mar 2008 16:57:31 +0100 (CET) [thread overview]
Message-ID: <alpine.DEB.1.10.0803251648070.3533@leo> (raw)
In-Reply-To: <6faad9f00803250755o60bfa9b5i9f1341ce636d3626@mail.gmail.com>
> You can use
>
> \setupGNUPLOTterminal
> [context]
> [dashed=no,
> textscale=0.9]
Thank you, Mojca!
The dashed option is ok, but I didn't manage to have 'textscale' work:
adding these lines in my previous example still gives 12pt font... Am I
missing something?
>> * ' and " quotes do not give the same result when UTF-8 character are
>> involved. Is it wanted?
>
> No. It's the same problem that I have mentioned last time. If you take a look at
> filename-gnuplot-1.plt
> you will see:
>
> set ylabel "h\dochar {233}llo"
> set xlabel 'h\dochar {233}llo'
>
> The second case gets literally to the output file, but then ConTeXt
> interprets it OK again. In the first case backslash is lost, and you
> get nonsense. This can be solved by using \detokenize as descriibed
> last time, but then again - it would be best if Taco or Hans or
> someone else had an idea of how to prevent that weird expansion inside
> \startGNUPLOTscript. I always use simple quotes for no particular
> reason (or maybe because I sometimes want to use \bf or other commands
> with backslash).
Sorry to make you explain again, I'm a bit lost with all those new
things... I'll use simple quotes from now on, but is there a simple way to
escape the ' character in this case? I tried
set xlabel 'I\'\ m sorry!'
but the ' is not typeset correctly then.
A big thanks for your great patience!
Morgan
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
next prev parent reply other threads:[~2008-03-25 15:57 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-03-24 14:38 Morgan Brassel
2008-03-24 15:53 ` Mojca Miklavec
2008-03-24 16:03 ` Mojca Miklavec
2008-03-24 16:35 ` Morgan Brassel
2008-03-24 17:21 ` Mojca Miklavec
2008-03-24 18:52 ` Ethan Merritt
2008-03-24 20:14 ` Mojca Miklavec
2008-03-24 22:02 ` Hans Hagen
2008-03-24 22:21 ` Mojca Miklavec
2008-03-24 22:43 ` Hans Hagen
2008-03-25 14:28 ` Morgan Brassel
2008-03-25 14:55 ` Mojca Miklavec
2008-03-25 15:57 ` Morgan Brassel [this message]
2008-03-25 17:11 ` Mojca Miklavec
2008-03-25 20:24 ` Henning Hraban Ramm
2008-03-26 8:05 ` Taco Hoekwater
2008-03-26 9:28 ` Mojca Miklavec
2008-03-24 19:24 ` Mojca Miklavec
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=alpine.DEB.1.10.0803251648070.3533@leo \
--to=morgan.brassel@free.fr \
--cc=ntg-context@ntg.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).