Re: [NTG-context] color transparency

2005-07-14 Thread luigi.scarso

Brooks Moses wrote:


I've added it to http://contextgarden.net/index.php?title=Colors.

- Brooks


Really good; thanks.
Some pdfs:

  1. rgb-cmyk.pdf
  2. cmyk-rgb.pdf
  3. art-colo.pdf
  4. msplit.pdf
  5. metafun-s.pdf, Special effects, pag 317
  6. mag-0006.pdf
  7. cont-eni.pdf,  Color and background

luigi
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] line break

2005-07-14 Thread Jörg Hagmann

Dear Hans,


works ok here

can you make a minimal complete example


Assuming that means including the code before \starttext:

\enableregime [il1]
\mainlanguage [de]

\usemodule[greek]
\usemodule[units]

\setuplayout[height=26.5cm,backspace=2cm,topspace=1.7cm,footer=1.2cm]
\setupbodyfont[11pt]
\setuppagenumbering[alternative=doublesided,location=footer]
\setupheader[state=none]

\setuptolerance[tolerant, stretch]
\setupwhitespace[medium]

\setupitemize[headstyle=italic]

\definehead[Bookchapter][chapter]
\setuphead[Bookchapter][page=yes,conversion=Character]

\setuptables[bodyfont=small]

%Figures partially in margin
\definefloat[vignette][figure]
\setupfloat[vignette][leftmargindistance=- 
\outermargintotal,rightmargindistance=- 
\outermargintotal,default={outer,none,low}]

\setupcaption[vignette][number=no]

%Figures digestion_chapter
\setupexternalfigures[directory=./FIGURES/]
\useexternalfigure[fig:acidsecr][di_acidsecr]
\useexternalfigure[fig:di_cascade][di_cascade][width=0.5\textwidth]
\useexternalfigure[fig:di_proteins][di_proteins]
\useexternalfigure[fig:di_carbo][di_carbo][width=\textwidth]
\useexternalfigure[fig:di_lipids][di_lipids]

\setuptextrules[style=\ss]

%\showframe

\starttext

\placevignette{}{\externalfigure[di_B12_marg][width=4cm]}
Die Resorption des {\em wasserloeslichen} Vitamins B\low{12} (=  
Cobalamin, s. Formel) faellt aus dem Rahmen: B\low{12} wird nur als  
Komplex mit dem \quotation{Intrinsic Factor}, einem Glycoprotein aus  
den Belegzellen des Magens, {\em im Ileum} aufgenommen (Intrinsic, weil  
der Faktor aus dem Koerper stammt -- dazu passend bezeichnet man  
B\low{12} auch als \quotation{Extrinsic Factor}).\inothermargin{\ssd  
Pa} Vitamin B\low{12} wird von Bakterien synthetisiert und stammt  
ausschliesslich aus tierischer Nahrung; Veganer/innen, die nicht nur  
auf Fleisch, sondern auch auf Eier und Milchprodukte verzichten,  
besitzen einen entsprechend niedrigen Vorrat des Vitamins. Haeufigste  
Ursache fuer die {\em pernizioese Anaemie}, die klassische  
B\low{12}-Mangelkrankheit, ist allerdings nicht eine Fehlernaehrung,  
sondern eine verminderte Resorption im Ileum, entweder weil dessen  
Schleimhaut entzuendet ist (Sprue), oder weil eine erkrankte  
Magenschleimhaut zuwenig Intrinsic Factor produziert.


\stoptext

Thanks, Jörg.
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Enumeration numbering broken

2005-07-14 Thread Taco Hoekwater



David Antos wrote:

Hello,

in the following example, I'm pretty sure that it should produce Lemmas and
Theorems numbered continuously (i.e., one common counter for both of them)
and moreover, the numbers should (due to bychapter) be preceded by chapter
number. In ConTeXt 2005.06.27, the enumerations are counted separately and
chapter number prefix is missing.

Interestingly, if Lemma and Theorem blocks are swapped, they become really
Theorem 1 and Lemma 2. The chapter number is still missing.

Has the mechanism been changed or am I doing anything wrong?


I believe your example is right, and that there is a bug/unintended 
functionality change.


There has been a rather large set of changes to code core-des.tex
for the 2005.05.25 release, and that seems the likely cause of this
change. I do not understand this bit of ConTeXt good enough to come
up with a patch, sorry.

Taco

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Re: presentations in ConTeXt

2005-07-14 Thread Thomas A. Schmitz

Mojca,

I think I never actually said thanks for this wonderful trick you  
taught us! It's wonderful, and I'm still experimenting with it. For  
the time being, it's still very much trial and error to position the  
circle, but I'll learn. Now I'd be so happy if someone (well I guess  
Hans) could teach me how to have this neat progressbar that's in pre- 
color on my own slides; I don't seem to be able to isolate the code  
that produces it.


Thanks a lot, and all best

Thomas

On Jun 28, 2005, at 4:37 PM, Mojca Miklavec wrote:


Patrick Gundlach wrote:


So, do you get any real output (besides the image)? I cannot see any
circles in the pdf.

ConTeXt  ver: 2005.06.07  fmt: 2005.6.7  int: english  mes: english

Patrick



I get this PDF (page size adapted to 10x11.5 cm) with
not-the-very-latest-version of ConTeXt.

ConTeXt  ver: 2005.05.30  fmt: 2005.6.13  int: english  mes: english

Mojca

CircleTheLion.pdf
CircleTheLion.tex
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context



___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] Basic question on Unicode and ConTeXt

2005-07-14 Thread Steffen Wolfrum

Hi,

now and then I saw threads on this list dealing with specific 
problems of using various languages with utf-8 input in ConTeXt 
(processing with pdftex, NOT xetex).


I know there is \enableregime[utf]
but what else I needed that the output equals my utf-8 input?

Could some maybe give a short and usable How-To on common examples:
Greek
Russian
an East European language
and an Asian language?

(If the platform makes a difference, I'd be interested in OSX.)

Thank you,

Steffen
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Basic question on Unicode and ConTeXt

2005-07-14 Thread Henning Hraban Ramm

Am 2005-07-14 um 11:30 schrieb Steffen Wolfrum:


I know there is \enableregime[utf]
but what else I needed that the output equals my utf-8 input?

Could some maybe give a short and usable How-To on common examples:
Greek
Russian
an East European language
and an Asian language?


You did read http://contextgarden.net/Encodings_and_Regimes and  
linked pages, did you?

If you learn anything new, please add it to the wiki!


Grüßlis vom Hraban!
---
http://www.fiee.net/texnique/
http://contextgarden.net

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] Font installation help

2005-07-14 Thread Arun Swarup
Hi,

Can anyone tell me what the problem is when i try to install the Type1 fonts?
[http://www.ntg.nl/pipermail/ntg-context/2005/011889.html]

thank you,

-arun
-- 
_

 There is no spoon!
__
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Font installation help

2005-07-14 Thread Taco Hoekwater


Arun Swarup wrote:

Hi,

Can anyone tell me what the problem is when i try to install the Type1 fonts?
[http://www.ntg.nl/pipermail/ntg-context/2005/011889.html]


Hint 1. Update your ConTeXt, like Adam said already in
http://www.ntg.nl/pipermail/ntg-context/2005/011890.html

Hint 2. Don't install command-line programs in C:\Program Files. That
space in the directory name tends to confuse them.
(although it should work OK with the newest TeXFont)

Good luck,

Taco
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Enumeration numbering broken

2005-07-14 Thread David Antos
On Thu, Jul 14, 2005 at 11:11:42AM +0200, Taco Hoekwater wrote:
 in the following example, I'm pretty sure that it should produce Lemmas and
 Theorems numbered continuously (i.e., one common counter for both of them)
 There has been a rather large set of changes to code core-des.tex
 for the 2005.05.25 release, and that seems the likely cause of this
 change. I do not understand this bit of ConTeXt good enough to come
 up with a patch, sorry.

Hello,

yes, I've upgraded from an older release (something like 2005.01.xx) and it
worked before.

Hans, could you please have a look?

Thanks,
D.A.

-- 
Trust no man, not even your brother
With hair one colour and beard another
-- Ty Semaka (The Plaid Tongued Devils): never drown a cat
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] Not possible to redefine inbetween in \definedescription

2005-07-14 Thread Radhelorn

Hello All!
I think that I've found a bug in descriptions. It seems that it is
impossible to redefine inbetween option -- it always produces a \blank.
Try this:

\definedescription[desc][before=before,after=after,inbetween=inbetween,location=top]
\desc{test} test

I've fixed it this way:

--- core-des.tex.orig   2005-06-14 06:56:00.0 +0400
+++ core-des.tex2005-07-14 15:26:20.0 +0400
@@ -372,7 +372,8 @@
   \c!indenting,\c!indentnext,\c!align,\c!text,\c!distance,\c!command]%
\getparameters[\??dd#1]
  
[\s!do\c!state=\v!stop,\s!do\c!command=\normal@@descriptionhandler,\c!level=,#2]%
-   
\doifvalue{\??dd#1\c!location}\v!top{\doassign[\??dd#1][\c!inbetween=\blank]}%
+   \doifvalue{\??dd#1\c!location}\v!top{%
+ 
\doifnotvalue{\??dd#1\c!inbetween}{\doassign[\??dd#1][\c!inbetween=\blank]}}%
\setvalue{#1}{\dodoubleempty\@@description[#1]}%
\setvalue{\e!start#1}{\dodoubleempty\@@startdescription[#1]}%
\setvalue{\e!stop #1}{\@@stopdescription{#1}}}%


And when using commands with brackets in argumets like:

\definedescription[desc][before=\blank[small]]

ConTeXt will give many errors, so arguments needs to be grouped (before={\blank[small]}). 
Is this intentional?



Thanks for your time.

--
Radhelorn [EMAIL PROTECTED]


___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Not possible to redefine inbetween in \definedescription

2005-07-14 Thread Taco Hoekwater


Hi,

Radhelorn wrote:
 ... [bug and fix snipped] ..

Thanks for the bug report.


And when using commands with brackets in argumets like:

\definedescription[desc][before=\blank[small]]

ConTeXt will give many errors, so arguments needs to be grouped 
(before={\blank[small]}). Is this intentional?


Yes, that is a speed optimization. ConTeXt does not even attempt
to balance the occurrence of [ and ] at top-level, so the explicit
grouping indeed required.

It would be easy to extend ConTeXt to do this, but the speed
penalty would be substantial.

Greetings, Taco
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] Escaping tabulate

2005-07-14 Thread Radhelorn

Hello!
I'm expirementing with tabular layouts and have many problems with tabulate. 
For example I want to make tabulate header of description but ConTeXt gives me 
errors about missing } and such. I is possible to make tabulate one big 
letter as in LaTeX and manipuate it as a whole? I haven't any luck with 
combinations of vbox/hbox. Maybe there is ConTeXish way to do this?



--
Radhelorn [EMAIL PROTECTED]
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Not possible to redefine inbetween in \definedescription

2005-07-14 Thread Radhelorn

Taco Hoekwater wrote:

And when using commands with brackets in argumets like:

\definedescription[desc][before=\blank[small]]

ConTeXt will give many errors, so arguments needs to be grouped 
(before={\blank[small]}). Is this intentional?



Yes, that is a speed optimization. ConTeXt does not even attempt to balance
the occurrence of [ and ] at top-level, so the explicit grouping indeed
required.

It would be easy to extend ConTeXt to do this, but the speed penalty would
be substantial.



Thanks.
So every command with brackets needs to be grouped? Maybe something else? Where
to look at it?


--
Radhelorn [EMAIL PROTECTED]
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Not possible to redefine inbetween in \definedescription

2005-07-14 Thread Taco Hoekwater



Radhelorn wrote:


Thanks.
So every command with brackets needs to be grouped? Maybe something 
else? Where to look at it?


I know of nothing else, just brackets. Any bracket, not just as
part of a command, but also in cases like this:

  \setuppublications[left={[}]

Taco

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] TeX + Metapost syntax highlighting in Vim

2005-07-14 Thread Christopher Creutzig

Thomas A. Schmitz wrote:

like to do with vim - the line numbering alone is wonderful,  there is 
no equivalent in emacs (and I've tried quite a lot of  things!). So 


 Not wishing to discredit vim, I'd still like to ask what is missing 
with the solution presented at www.emacswiki.org/cgi-bin/wiki/LineNumbers



regards,
Christopher
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Not possible to redefine inbetween in \definedescription

2005-07-14 Thread luigi.scarso

Radhelorn wrote:



Thanks.
So every command with brackets needs to be grouped? Maybe something 
else? Where

to look at it?



It's better   grouping with {}  with brackets; there should be nothing else.

luigi
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Not possible to redefine inbetween in \definedescription

2005-07-14 Thread Adam Lindsay
Taco Hoekwater said this at Thu, 14 Jul 2005 16:30:10 +0200:

 So every command with brackets needs to be grouped? Maybe something 
 else? Where to look at it?

I know of nothing else, just brackets. Any bracket, not just as
part of a command, but also in cases like this:

   \setuppublications[left={[}]

Ooh, just remembered: Commas, too. 
\setupitemize[stopper={,}]

and to be sure: every command with brackets sounds like you mean
everywhere... this is just amongst parameters.

So: brackets and commas, used as parameter values, need to have
enclosing braces.

If you think of the braces as quoting the parameter values, you'll
probably be alright.
-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 Adam T. Lindsay, Computing Dept. [EMAIL PROTECTED]
 Lancaster University, InfoLab21+44(0)1524/510.514
 Lancaster, LA1 4WA, UK Fax:+44(0)1524/510.492
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] TeX + Metapost syntax highlighting in Vim

2005-07-14 Thread Thomas A. Schmitz
On Jul 14, 2005, at 4:50 PM, Christopher Creutzig wrote:Thomas A. Schmitz wrote: like to do with vim - the line numbering alone is wonderful,  there is no equivalent in emacs (and I've tried quite a lot of  things!). So   Not wishing to discredit vim, I'd still like to ask what is missing with the solution presented at www.emacswiki.org/cgi-bin/wiki/LineNumbersregards,    ChristopherI've tried setnu.el, setnu+.el (or somesuch), and as soon as you add lines in the midst of a paragraph and then make emacs refill the paragraph, line numbers will not work anymore. It's especially annoying when you yank a number of lines into a paragraph. That's wrong with this solution. Vim is impeccable in this regard.BestThomas___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] how to number poetry?

2005-07-14 Thread Paul Tremblay
On Wed, Jul 13, 2005 at 04:59:05PM -0400, Paul Tremblay wrote:
 
 What is the best way to number lines of poetry?
 
 1  This is the first line
This is the second line
...
 
 5  this is the fifth
...
 
 10 this is the tenth.
 
 I can supply the number myself. I really don't want the numbers in the
 margin. Instead, I want the whole poem indented right, with the
 numbers left of the indent.
 
 I have tried using tabulate, but tabulate doesn't let me control the
 space between lines, or really cells.
 

Answering my own question. One posibility is:

\startitemize
\sym{1} This is the first line 
\nop This is the second line
%% and so fourth
\stopitmeize

That allows you to control the space between the number and the actual
line. In addition, ConTeXt should (?) do a good job making sure a
single line doesn't become an orphan or widow.

The only drawback is that you cannot use hanging indents for long
lines:

This is the forest premiva. The mummuring pines and 
the hemlocks

\startitemize
\sym{1} This is the forest premiva. The mummuring pines and 
\nop \hskip12pt the hemlocs
%% and so fourth
\stopitmeize

Paul



-- 


*Paul Tremblay *
[EMAIL PROTECTED]*

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Not possible to redefine inbetween in \definedescription

2005-07-14 Thread Radhelorn

Adam Lindsay wrote:

Taco Hoekwater said this at Thu, 14 Jul 2005 16:30:10 +0200:


So every command with brackets needs to be grouped? Maybe something 
else? Where to look at it?


I know of nothing else, just brackets. Any bracket, not just as
part of a command, but also in cases like this:

 \setuppublications[left={[}]



Ooh, just remembered: Commas, too. 
\setupitemize[stopper={,}]


and to be sure: every command with brackets sounds like you mean
everywhere... this is just amongst parameters.

So: brackets and commas, used as parameter values, need to have
enclosing braces.

If you think of the braces as quoting the parameter values, you'll
probably be alright.


I mean parameter values. Then why not have ConTeXt add braces to every 
parameter? Or there will be slowdown Taco mentioned?



--
Radhelorn [EMAIL PROTECTED]
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Not possible to redefine inbetween in \definedescription

2005-07-14 Thread Adam Lindsay
Radhelorn said this at Thu, 14 Jul 2005 21:25:50 +0400:

 If you think of the braces as quoting the parameter values, you'll
 probably be alright.

I mean parameter values. Then why not have ConTeXt add braces to every 
parameter? Or there will be slowdown Taco mentioned?

Sort of. That, I imagine, has more to do with TeX's parser, and the
inability to look ahead.

What if I amend my statement to:

If you think of the braces as quoting the parameter values when
necessary or otherwise ambiguous, you'll probably be alright.

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 Adam T. Lindsay, Computing Dept. [EMAIL PROTECTED]
 Lancaster University, InfoLab21+44(0)1524/510.514
 Lancaster, LA1 4WA, UK Fax:+44(0)1524/510.492
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Not possible to redefine inbetween in \definedescription

2005-07-14 Thread Christopher Creutzig

Radhelorn wrote:

I mean parameter values. Then why not have ConTeXt add braces to every 
parameter? Or there will be slowdown Taco mentioned?


 Exactly.  ConTeXt would need to find out the parameters' boundaries 
first, and that is the place where things would become slow, since it is 
not possible to use TeX's built-in parser for that; it just can't handle 
two different types of balanced brackets at the same time.  Besides, 
you'd still need to quote commas, since \setupitemize[stopper=,] is just 
as valid as \setupitemize[stopper={,}] is, just with a completely 
different meaning.  And while it may be a bit strange, you could even 
set \setupitemize[stopper={, before=abc },after=\blank] – absolutely no 
way of guessing these quotes.



regards,
Christopher
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Basic question on Unicode and ConTeXt

2005-07-14 Thread Steffen Wolfrum
Hi Henning,


Zitat von Henning Hraban Ramm [EMAIL PROTECTED]:

 Am 2005-07-14 um 11:30 schrieb Steffen Wolfrum:

  I know there is \enableregime[utf]
  but what else I needed that the output equals my utf-8 input?
 
  Could some maybe give a short and usable How-To on common examples:
  Greek
  Russian
  an East European language
  and an Asian language?

 You did read http://contextgarden.net/Encodings_and_Regimes and
 linked pages, did you?
 If you learn anything new, please add it to the wiki!


Well, yes, I wasn't interested in e.g. VISCII, but I read the info for UTF.
But as you wrote linked pages I became more curious and looked up also those
pages. Indeed, there is more:

But, why is the Vietnamese example with
\enableregime[utf]
\setupencoding[default=t5
linked under
vis = visciiVISCII  Vietnamesevis = viscii  VISCII  Vietnamese
and not accessable with
utf UTF-8   Unicode ? (Same for cyrillic)

Is this just a wrong link, or does this show that I don't have understood the
realationship between regimes and encoding?

Shouldn't all UTF relevant examples be listed under UTF?


So,sorry for starting this irrelevant thread,

Steffen

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] TeX + Metapost syntax highlighting in Vim

2005-07-14 Thread VnPenguin
On 7/8/05, Nikolai Weibull
[EMAIL PROTECTED] wrote:
 Mojca Miklavec wrote:
 
  In case someone finds this experimental piece of code for highlighting
  metapost inside ConTeXt useful, put:
 
 Hi!
 
 I don't want to be a party-pooper, but I have already commited support
 for the context file-type to vim7 CVS.  Perhaps you can look over my
 version and make suggestions?  It doesn't use the rather bloated
 LaTeX/Plain TeX syntax definition, but my own blend,
 nikolai

Hi,
Just tested your context.vim under vim 6.3.x; It's better than
tex/latex standard syntax in vim 6.3 IMHO.

I have only a small remark: The following code is valid in ConTeXt:

\useURL 
[book-ns-openssl][http://www.amazon.com/exec/obidos/ASIN/059600270X/qid%3D1024342376/103-8123753-9606263][][Network
Security with OpenSSL]

but the syntax considers % like a comment mark, so I see another color
for the text after %.
It's possible to make the comment pattern smarter ? :)


Thank you,
-- 
http://vnoss.org
Vietnamese Open Source Software Community
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Basic question on Unicode and ConTeXt

2005-07-14 Thread VnPenguin
On 7/14/05, Steffen Wolfrum [EMAIL PROTECTED] wrote:
 
 
 Well, yes, I wasn't interested in e.g. VISCII, but I read the info for UTF.
 But as you wrote linked pages I became more curious and looked up also those
 pages. Indeed, there is more:
 
 But, why is the Vietnamese example with
 \enableregime[utf]
 \setupencoding[default=t5
 linked under
 vis = visciiVISCII  Vietnamesevis = viscii  VISCII  Vietnamese
 and not accessable with
 utf UTF-8   Unicode ? (Same for cyrillic)

Sorry, I can not understand your question.

Vietnamese can you TeX/LaTeX and ConTeXt with different input
encodings: TCVN, VISCII, VPS or UTF-8.

I'm using currently ConTeXt UTF-8 input for ConTeXt no problem. Not
yet tested with another input encoding, but no more problem with
TeX/LaTeX, so should be ok with ConTeXt, i'm wrong?

-- 
http://vnoss.org
Vietnamese Open Source Software Community
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Bold Greek Math with Fourier Font

2005-07-14 Thread Randall Skelton
Hi all,

Can someone explain what the difference between 'ord' and 'alpha' are
in the following two lines is?

  \definemathsymbol [Gamma]   [ord] [mc] [00]

  \definemathsymbol [Gamma]   [alpha] [mi] [00]

Note that using the first line, in place of the second in math-fou.tex
allows me to get what is shown in the ThisWay document on bold math. 
That is, all calitalized Greek characters are upright, not slanted and
I no longer have missing characters.

Cheers,
Randall
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] Problem with \vec in zfaqcmrm font

2005-07-14 Thread Radhelorn

Hello!
Sorry for being so active lately but I've run into problem after problem...

This formula $\vec{}\vec a\vec A$ fives first vector at baseline, second
a little higher and third somewhere at the middle of letter A.

\showfont shows nice vector at 7e in right position but
\showmathcharacters shows vec at baseline.

I'm using zfaqcmrm from pscyr package. I don't know where to start
looking for source of  problem. Is there a way to manualy adjust vector
position? Other symbols seem to work well -- problem just with \vec. In
LaTeX all works well too.

Thanks for your patience.

--
Radhelorn [EMAIL PROTECTED]




___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Not possible to redefine inbetween in \definedescription

2005-07-14 Thread Radhelorn

Christopher Creutzig wrote:

Radhelorn wrote:

I mean parameter values. Then why not have ConTeXt add braces to every 
parameter? Or there will be slowdown Taco mentioned?



 Exactly.  ConTeXt would need to find out the parameters' boundaries 
first, and that is the place where things would become slow, since it is 
not possible to use TeX's built-in parser for that; it just can't handle 
two different types of balanced brackets at the same time.  Besides, 
you'd still need to quote commas, since \setupitemize[stopper=,] is just 
as valid as \setupitemize[stopper={,}] is, just with a completely 
different meaning.  And while it may be a bit strange, you could even 
set \setupitemize[stopper={, before=abc },after=\blank] – absolutely no 
way of guessing these quotes.



regards,
Christopher
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context




Thanks Adam, Christopher, you helped me a lot! It's always hard to 
explain TeXnical things to Word users.


--
Radhelorn [EMAIL PROTECTED]

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Basic question on Unicode and ConTeXt

2005-07-14 Thread Radhelorn

Steffen Wolfrum wrote:

I know there is \enableregime[utf]
but what else I needed that the output equals my utf-8 input?

Could some maybe give a short and usable How-To on common examples:
Greek
Russian
an East European language
and an Asian language?


You did read http://contextgarden.net/Encodings_and_Regimes and
linked pages, did you?
If you learn anything new, please add it to the wiki!


Well, yes, I wasn't interested in e.g. VISCII, but I read the info for UTF.
But as you wrote linked pages I became more curious and looked up also those
pages. Indeed, there is more:

But, why is the Vietnamese example with
\enableregime[utf]
\setupencoding[default=t5
linked under
vis = visciiVISCII  Vietnamesevis = viscii  VISCII  Vietnamese
and not accessable with
utf UTF-8   Unicode ? (Same for cyrillic)

Is this just a wrong link, or does this show that I don't have understood the
realationship between regimes and encoding?

Shouldn't all UTF relevant examples be listed under UTF?




\enableregime is not enough. You need to setup font encoding and 
appropriate bodyfont. For these see type-enc, type-pre and such.


Example for cyrillic:

\enableregime [utf]
\setupencoding [default=t2a]
\usetypescript [modern-base] [\defaultencoding]
\setupbodyfont [modern]

\starttext
Тест.
\stoptext


--
Radhelorn [EMAIL PROTECTED]
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context