* lot of newbie questions
@ 2005-12-02 7:30 toto
2005-12-02 13:36 ` Thomas A. Schmitz
` (2 more replies)
0 siblings, 3 replies; 11+ messages in thread
From: toto @ 2005-12-02 7:30 UTC (permalink / raw)
Hello list, I've got a lot of newbie questions. I'm writing a technical
document with context for the first time to try it. I come from a
TeX/LaTeX world.
-> How to print a tilda? I'm trying to write an URL with a tilda in it
with the font \tt. \widetilda, \tilda do not output any character. Even
\~{} do not print anything. And it does not seem to appear somewhere in
the wiki or in the "special characters" section of the "ConTeXt an
excursion" excellent document.
-> How could I do french guillemets (<< and >>)? Is it possible?
-> I would like to make a glossary, ie an index with a definition for
each entry. Many parts of the manual could help me but i don't really
now in which direction to dig: is it a list of definition? Should I use
registers?
-> I'm trying to put a metapost graphic in the margin like te example
in the manual reference (page 47) using the following command:
\definestartstop[important][command={\inmarge{\useMPgraphic{bang}[width=\marginwidth]}}]
But (of course :) it does not work at all and put some blank pages. Any idea?
Thanks a lot for your help. And thanks a lot to all the developpers od
ConTeXt: it is thought in a really smart way!
-AJ
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: lot of newbie questions
2005-12-02 7:30 lot of newbie questions toto
@ 2005-12-02 13:36 ` Thomas A. Schmitz
2005-12-02 14:26 ` toto
2005-12-02 14:54 ` toto
2005-12-02 14:07 ` Jörg Hagmann
2005-12-06 17:06 ` Mojca Miklavec
2 siblings, 2 replies; 11+ messages in thread
From: Thomas A. Schmitz @ 2005-12-02 13:36 UTC (permalink / raw)
On Dec 2, 2005, at 8:30 AM, toto@tots-ns.net wrote:
> Hello list, I've got a lot of newbie questions. I'm writing a
> technical document with context for the first time to try it. I
> come from a TeX/LaTeX world.
>
> -> How to print a tilda? I'm trying to write an URL with a tilda in
> it with the font \tt. \widetilda, \tilda do not output any
> character. Even \~{} do not print anything. And it does not seem to
> appear somewhere in the wiki or in the "special characters" section
> of the "ConTeXt an excursion" excellent document.
Which encoding are you using? Try \texttilde
>
> -> How could I do french guillemets (<< and >>)? Is it possible?
Which inputregime are you using? With \enableregime[utf], you can
input them directly, or try \leftguillemot and \rightguillemot (yes,
the names are moronic, but that's Adobe's fault)
>
> -> I would like to make a glossary, ie an index with a definition
> for each entry. Many parts of the manual could help me but i don't
> really now in which direction to dig: is it a list of definition?
> Should I use registers?
>
> -> I'm trying to put a metapost graphic in the margin like te
> example in the manual reference (page 47) using the following command:
> \definestartstop[important][command={\inmarge{\useMPgraphic{bang}
> [width=\marginwidth]}}]
> But (of course :) it does not work at all and put some blank pages.
> Any idea?
>
For these two, others will have to help.
Best
Thomas
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: lot of newbie questions
2005-12-02 7:30 lot of newbie questions toto
2005-12-02 13:36 ` Thomas A. Schmitz
@ 2005-12-02 14:07 ` Jörg Hagmann
2005-12-02 14:58 ` toto
2005-12-06 17:06 ` Mojca Miklavec
2 siblings, 1 reply; 11+ messages in thread
From: Jörg Hagmann @ 2005-12-02 14:07 UTC (permalink / raw)
On Dec 2, 2005, at 8:30 AM, toto@tots-ns.net wrote:
>
> -> I'm trying to put a metapost graphic in the margin like te
> example in the manual reference (page 47) using the following command:
> \definestartstop[important][command={\inmarge{\useMPgraphic{bang}
> [width=\marginwidth]}}]
> But (of course :) it does not work at all and put some blank pages.
> Any idea?
I also tried, following the manual, "\inmarge" and then learned that
it is Dutch and doesn't work with the (mewer) version I had. Use
"\inmargin" instead.
Cheers, Jörg
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: lot of newbie questions
2005-12-02 13:36 ` Thomas A. Schmitz
@ 2005-12-02 14:26 ` toto
2005-12-02 14:54 ` toto
1 sibling, 0 replies; 11+ messages in thread
From: toto @ 2005-12-02 14:26 UTC (permalink / raw)
Quoting "Thomas A. Schmitz" <thomas.schmitz@uni-bonn.de>:
>
> On Dec 2, 2005, at 8:30 AM, toto@tots-ns.net wrote:
>
>> Hello list, I've got a lot of newbie questions. I'm writing a
>> technical document with context for the first time to try it. I
>> come from a TeX/LaTeX world.
>>
>> -> How to print a tilda? I'm trying to write an URL with a tilda in
>> it with the font \tt. \widetilda, \tilda do not output any
>> character. Even \~{} do not print anything. And it does not seem to
>> appear somewhere in the wiki or in the "special characters" section
>> of the "ConTeXt an excursion" excellent document.
>
> Which encoding are you using? Try \texttilde
I'm using utf-8 encoding. \texttilde works great, thanks :) It outputs
a tilda that is a bit high but i don't know if a lower one exists.
Thanks a lot!
>> -> How could I do french guillemets (<< and >>)? Is it possible?
>
> Which inputregime are you using? With \enableregime[utf], you can
> input them directly, or try \leftguillemot and \rightguillemot (yes,
> the names are moronic, but that's Adobe's fault)
I'm using \enableregime[utf]. I should find the french guillemets :)
But \leftguillemot and \rightguillemot are working fine.
Thanks a lot for all answers :)
-AJ
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: lot of newbie questions
2005-12-02 13:36 ` Thomas A. Schmitz
2005-12-02 14:26 ` toto
@ 2005-12-02 14:54 ` toto
2005-12-02 16:34 ` Hans Hagen
1 sibling, 1 reply; 11+ messages in thread
From: toto @ 2005-12-02 14:54 UTC (permalink / raw)
Quoting "Thomas A. Schmitz" <thomas.schmitz@uni-bonn.de>:
> On Dec 2, 2005, at 8:30 AM, toto@tots-ns.net wrote:
>
>> -> How could I do french guillemets (<< and >>)? Is it possible?
>
> Which inputregime are you using? With \enableregime[utf], you can
> input them directly, or try \leftguillemot and \rightguillemot (yes,
> the names are moronic, but that's Adobe's fault)
For information: I've tried to type them directly on my keybord. They
apear on my screen but the final pdf document output black rectangles.
(I'm sure that all what I use is configured to use and produce utf8)
But the workaround with \leftguillemot and \rightguillemot is fine for me.
Thanks for all.
-AJ
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: lot of newbie questions
2005-12-02 14:07 ` Jörg Hagmann
@ 2005-12-02 14:58 ` toto
0 siblings, 0 replies; 11+ messages in thread
From: toto @ 2005-12-02 14:58 UTC (permalink / raw)
Quoting Jörg Hagmann <joerg.hagmann@unibas.ch>:
> On Dec 2, 2005, at 8:30 AM, toto@tots-ns.net wrote:
>
>> -> I'm trying to put a metapost graphic in the margin like te
>> example in the manual reference (page 47) using the following
>> command:
>> \definestartstop[important][command={\inmarge{\useMPgraphic{bang}
>> [width=\marginwidth]}}]
>> But (of course :) it does not work at all and put some blank pages.
>> Any idea?
>
> I also tried, following the manual, "\inmarge" and then learned that
> it is Dutch and doesn't work with the (mewer) version I had. Use
> "\inmargin" instead.
ok. With \inmargin it works fine. But my optional parameter
[width=\marginwidth] is not allowed here. How could I tell to scale my
graphic without saying it directly when creating the metapost graphic?
Thanks a lot
-AJ
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: lot of newbie questions
2005-12-02 14:54 ` toto
@ 2005-12-02 16:34 ` Hans Hagen
2005-12-02 19:08 ` Adam Lindsay
0 siblings, 1 reply; 11+ messages in thread
From: Hans Hagen @ 2005-12-02 16:34 UTC (permalink / raw)
toto@tots-ns.net wrote:
> Quoting "Thomas A. Schmitz" <thomas.schmitz@uni-bonn.de>:
>
>> On Dec 2, 2005, at 8:30 AM, toto@tots-ns.net wrote:
>>
>>> -> How could I do french guillemets (<< and >>)? Is it possible?
>>
>>
>> Which inputregime are you using? With \enableregime[utf], you can
>> input them directly, or try \leftguillemot and \rightguillemot (yes,
>> the names are moronic, but that's Adobe's fault)
>
>
> For information: I've tried to type them directly on my keybord. They
> apear on my screen but the final pdf document output black rectangles.
> (I'm sure that all what I use is configured to use and produce utf8)
> But the workaround with \leftguillemot and \rightguillemot is fine for
> me.
hm, this normally means that there is no correspondence between the utf
vector's slot and a glyph ... meybe we need a fix?
Hans
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: lot of newbie questions
2005-12-02 16:34 ` Hans Hagen
@ 2005-12-02 19:08 ` Adam Lindsay
2005-12-03 13:15 ` toto
0 siblings, 1 reply; 11+ messages in thread
From: Adam Lindsay @ 2005-12-02 19:08 UTC (permalink / raw)
Hans Hagen wrote:
> toto@tots-ns.net wrote:
>
>> For information: I've tried to type them directly on my keybord. They
>> apear on my screen but the final pdf document output black rectangles.
>> (I'm sure that all what I use is configured to use and produce utf8)
>> But the workaround with \leftguillemot and \rightguillemot is fine for
>> me.
>
>
> hm, this normally means that there is no correspondence between the utf
> vector's slot and a glyph ... meybe we need a fix?
Just tried it with default LM, ec, and texnansi. No problem that I can
see. Question to toto:
What's your font setup for the document?
(Someone asked what encoding, you answered UTF-8, which in ConTeXt
parlance is the input "regime". We're also asking about the font's
output "encoding". More at:
http://wiki.contextgarden.net/Encodings_and_Regimes )
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Adam T. Lindsay, Computing Dept. atl@comp.lancs.ac.uk
Lancaster University, InfoLab21 +44(0)1524/510.514
Lancaster, LA1 4WA, UK Fax:+44(0)1524/510.492
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: lot of newbie questions
2005-12-02 19:08 ` Adam Lindsay
@ 2005-12-03 13:15 ` toto
0 siblings, 0 replies; 11+ messages in thread
From: toto @ 2005-12-03 13:15 UTC (permalink / raw)
Quoting Adam Lindsay <atl@comp.lancs.ac.uk>:
> Hans Hagen wrote:
>> toto@tots-ns.net wrote:
>>
>>> For information: I've tried to type them directly on my keybord.
>>> They apear on my screen but the final pdf document output black
>>> rectangles. (I'm sure that all what I use is configured to use and
>>> produce utf8)
>>> But the workaround with \leftguillemot and \rightguillemot is fine for me.
>>
>> hm, this normally means that there is no correspondence between the
>> utf vector's slot and a glyph ... meybe we need a fix?
>
> Just tried it with default LM, ec, and texnansi. No problem that I
> can see. Question to toto:
> What's your font setup for the document?
No font selecting command. It seems to be cm. I use two commands into
my document without knowing beeing sure of what they do:
\useencoding[utf8] and \enableregime[utf]
> (Someone asked what encoding, you answered UTF-8, which in ConTeXt
> parlance is the input "regime". We're also asking about the font's
> output "encoding". More at:
> http://wiki.contextgarden.net/Encodings_and_Regimes )
I have no \usetypescript or \setupbodyfont commands.
Cheers
-AJ
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: lot of newbie questions
2005-12-02 7:30 lot of newbie questions toto
2005-12-02 13:36 ` Thomas A. Schmitz
2005-12-02 14:07 ` Jörg Hagmann
@ 2005-12-06 17:06 ` Mojca Miklavec
2005-12-06 17:09 ` toto
2 siblings, 1 reply; 11+ messages in thread
From: Mojca Miklavec @ 2005-12-06 17:06 UTC (permalink / raw)
toto@tots-ns.net wrote:
> -> How could I do french guillemets (<< and >>)? Is it possible?
You can also use \quotation:
\enableregime[utf]
\mainlanguage[fr] % if you're writing in French
\starttext
Both «a» and \quotation{a} work OK here.
\stoptext
Btw:
- \useencoding[utf8] has no sense
- You are free to use \rightguillemet, so you don't need to depend on
Adobe naming scheme unless you work on low level with fonts.
Mojca
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: lot of newbie questions
2005-12-06 17:06 ` Mojca Miklavec
@ 2005-12-06 17:09 ` toto
0 siblings, 0 replies; 11+ messages in thread
From: toto @ 2005-12-06 17:09 UTC (permalink / raw)
Quoting Mojca Miklavec <mojca.miklavec.lists@gmail.com>:
> toto@tots-ns.net wrote:
>
>> -> How could I do french guillemets (<< and >>)? Is it possible?
>
> You can also use \quotation:
>
> \enableregime[utf]
> \mainlanguage[fr] % if you're writing in French
> \starttext
> Both «a» and \quotation{a} work OK here.
> \stoptext
>
> Btw:
> - \useencoding[utf8] has no sense
> - You are free to use \rightguillemet, so you don't need to depend on
> Adobe naming scheme unless you work on low level with fonts.
Thanks a lot for your perfect answer :)
-AJ
^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~2005-12-06 17:09 UTC | newest]
Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-12-02 7:30 lot of newbie questions toto
2005-12-02 13:36 ` Thomas A. Schmitz
2005-12-02 14:26 ` toto
2005-12-02 14:54 ` toto
2005-12-02 16:34 ` Hans Hagen
2005-12-02 19:08 ` Adam Lindsay
2005-12-03 13:15 ` toto
2005-12-02 14:07 ` Jörg Hagmann
2005-12-02 14:58 ` toto
2005-12-06 17:06 ` Mojca Miklavec
2005-12-06 17:09 ` toto
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).