[NTG-context] unicode display problem with \pdfannot

2008-07-29 Thread Suman_Tripathy
Hi,
How to display Unicode with \pdfannot ? The normal text is displayed properly 
with Unicode using Acrobat Reader.
I am using pdflatex command to generate pdf.
-Suman


DISCLAIMER:
This email (including any attachments) is intended for the sole use of the 
intended recipient/s and may contain material that is CONFIDENTIAL AND PRIVATE 
COMPANY INFORMATION. Any review or reliance by others or copying or 
distribution or forwarding of any or all of the contents in this message is 
STRICTLY PROHIBITED. If you are not the intended recipient, please contact the 
sender by email and delete all copies; your cooperation in this regard is 
appreciated.
___
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
___


Re: [NTG-context] unicode display problem with \pdfannot

2008-07-29 Thread luigi scarso
On Tue, Jul 29, 2008 at 8:16 AM, Suman_Tripathy
[EMAIL PROTECTED]wrote:

  Hi,

 How to display Unicode with \pdfannot ? The normal text is displayed
 properly with Unicode using Acrobat Reader.

 I am using pdflatex command to generate pdf.

 -Suman

It's probably the wrong place to ask.
This is the context mailing list,
few of us are using (pdf)latex .

-- 
luigi
___
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
___


Re: [NTG-context] cont-enp.pdf on lulu

2008-07-29 Thread Gerben Wierda
On Jul 28, 2008, at 10:36 PM, Hans Hagen wrote:

 Gerben Wierda wrote:

 Somehow, this might be applied to ConTeXt I think ;-). Three out of
 four afaic...

 well, it's one reason why we have multiple smaller manuals (often made
 in sync with the specific feature)

 anyhow ... taco and i only have one livetime, 24h/day etc etc

As you know, I know what you are talking about. And it is important  
also to keep your cups from running over if we want ConTeXt to succeed.

 currently we spend quite some time on luatex/mp/mkiv (if not we  
 could as
 well stop using tex in the near future) alongside our regular jobs ...

I was wondering if you already know what you would have to use if not  
TeX. Is there an alternative at all?

 we simply have not much more time available ... on the other hand, we
 don't intend to stop soon, so eventually ...

 btw, quite some documentation about latex is *not* written by the
 author(s) so it's not entirely fair to expect that taco and i write  
 all
 of it -)

But the initial manual (as Knuth said) is different from overview  
books like Kopka  Daly etc.

Knuth wrote the TeXbook, the Metafont book.
Lamport wrote the initial LaTeX book
Packages for LaTeX like memoir come with a manual written by the  
authors.

There are 'combination'  manuals (Kopka etc) but they all are based on  
the availability of full initial manuals.

But apart from that, the most imporant thing is  that resources are  
scarce and you guys have limits we need to honour. I think we should  
find a way for you guys to go on and not get swamped by too much and  
thus we need to find a way to make your documentation work lighter (as  
obviously - for me - it does not get the attention it should).

So I would propose to set up a way that a group of others can maintain  
documentation. Your task would then be an editor's task: proofread,  
suggest changes and agree. Minor changes can be done by the editors.  
major changes go past you and Taco as editors-in-chief. Your OK  
promotes it to alpha. And something like a manual (book) needs to be  
part of it. This should be based on (imo) merging the content of the  
excursion and the manual. The editors should be able to start a  
compilation run. The result should be the 'work in progress' pdf that  
has a fixed location on the pragma site. So, what we initially need is  
some sort of svn repository with access by a limited group, a mailing  
list for that group only. An e-mail adress to send documentation  
suggestions to.

I am prepared to do some work on this (e.g. editor work).

G
___
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
___


[NTG-context] \pdfannot and \tooltip won't work with Chinese

2008-07-29 Thread Suman_Tripathy
Can I get the .tex file? I am not expert in Latex and not understanding what 
exactly is the solution. Where is \doPDFinsertcomment defined?
-Suman


DISCLAIMER:
This email (including any attachments) is intended for the sole use of the 
intended recipient/s and may contain material that is CONFIDENTIAL AND PRIVATE 
COMPANY INFORMATION. Any review or reliance by others or copying or 
distribution or forwarding of any or all of the contents in this message is 
STRICTLY PROHIBITED. If you are not the intended recipient, please contact the 
sender by email and delete all copies; your cooperation in this regard is 
appreciated.
___
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
___


Re: [NTG-context] unicode display problem with \pdfannot

2008-07-29 Thread Aditya Mahajan
On Tue, 29 Jul 2008, Suman_Tripathy wrote:

 Hi,
 How to display Unicode with \pdfannot ? The normal text is displayed properly 
 with Unicode using Acrobat Reader.
 I am using pdflatex command to generate pdf.

This is a mailing list for ConTeXt. Questions regarding pdflatex would be 
better answered on texhax http://tug.org/mailman/listinfo/texhax or c.t.t. 
http://groups.google.com/group/comp.text.tex/topics

Aditya
___
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
___


Re: [NTG-context] cont-enp.pdf on lulu

2008-07-29 Thread Aditya Mahajan
Hi Gerben,

On Tue, 29 Jul 2008, Gerben Wierda wrote:

 This should be based on (imo) merging the content of the excursion and 
 the manual.

Here (and sometime earlier in the thread) you have suggested that you find 
the scattered documentation of ConTeXt confusing and would like to see an 
exhaustive manual. I agree with that in principle, but still believe that 
excursion and the manual should be separate. The manual can be a superset 
of excursion, but there needs to be beginner's manual.

If there is a exhaustive manual, it will be *huge*. An exhaustive manual 
on math will be of the size of a book; so would an exhaustive manual on 
metapost/mp-lib (think of an updated metafun manual). I can also imagine 
an exhaustive manual for fonts to be big (how do we handle fonts for 
lua/xetex/pdftex; how do we handle fonts for different scripts, etc.); and 
fairly large manuals for floats (three four mechanism for tables, about 20 
ways to move around floats, etc.), critical editions (I don't know the 
status of the proposed module), bib module (the user manual for biblatex, 
which is similar in spirit to bib module, is huge), etc.

So, if we want exhaustive documentation and  a beginner's 
manual, I see that we only have the option of expanding on the excursion 
to have an upto date beginner's manual, expanding on the manual to have an 
upto date (but not exhaustive) user manual, and have a series of 
specialized exhaustive manuals. But that will still mean that the 
documentation is scattered.

The way I see it, we can update the documentation, but not really solve 
the problem of scattered documentation :-(

Aditya
___
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
___


[NTG-context] \*interaction* commands

2008-07-29 Thread Alan Stone
HI,

Where can I find a *comprehensive* explanation of all
\*interaction* commands and their options ?

Thanks,
Alan
___
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
___


Re: [NTG-context] \*interaction* commands

2008-07-29 Thread Taco Hoekwater


Alan Stone wrote:
 HI,
 
 Where can I find a *comprehensive* explanation of all
 \*interaction* commands and their options ?

AFAIK, the best bet at the moment is texshow:

   http://texshow.contextgarden.net/

and put interaction in the search field.

Best wishes,
Taco
___
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
___


Re: [NTG-context] \*interaction* commands

2008-07-29 Thread Hans Hagen
Taco Hoekwater wrote:
 
 Alan Stone wrote:
 HI,

 Where can I find a *comprehensive* explanation of all
 \*interaction* commands and their options ?
 
 AFAIK, the best bet at the moment is texshow:
 
http://texshow.contextgarden.net/
 
 and put interaction in the search field.

depends a bit on what you want to do ...

mwidgets.pdf is ok, and also the s-pre-* files have lots of examples

Hans

-
   Hans Hagen | PRAGMA ADE
   Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
  tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
  | www.pragma-pod.nl
-
___
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
___


Re: [NTG-context] Creating account on wiki contextgarden

2008-07-29 Thread Hans Hagen
luigi scarso wrote:
 On Mon, Jul 28, 2008 at 10:28 PM, Mehdi Omidali [EMAIL PROTECTED] wrote:
 
 Hi everyone,
 I want to translate Context an excursion to farsi and went to
 http://wiki.contextgarden.net/ConTeXt_on_Excursion,_translations
 and tried to create an account to be able to access source files. I
 faced a problem in the anti automated account creation question
 which is something like
 (23 plus 8) times roman 'C'
 What must be inserted as the answer to such a problem. I tried
 everything but no success.
 Best Wishes.

 
 I must admit that I will feel confused if the question will be mixed with
 ancient maya numbers .

well, you're an original 'roman' guy so you'll get the easy creation 
question

Hans

-
   Hans Hagen | PRAGMA ADE
   Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
  tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
  | www.pragma-pod.nl
-
___
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
___


Re: [NTG-context] cont-enp.pdf on lulu

2008-07-29 Thread Hans Hagen
Gerben Wierda wrote:

 I was wondering if you already know what you would have to use if not  
 TeX. Is there an alternative at all?

no, i'd probably choose a completely other job then (ok, maybe general 
programming as part time then) ... i simply can not use a program that i 
know will be replaced within 5 years


Hans

-
   Hans Hagen | PRAGMA ADE
   Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
  tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
  | www.pragma-pod.nl
-
___
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
___


Re: [NTG-context] \*interaction* commands

2008-07-29 Thread Alan Stone
I'm still trying to reproduce the layo-05.tex example Hans. As its code
is rather tortuous I studied other examples. Up till now this has been
quite a time investment without noticeable return, partly due to not
finding a comprehensive \*interaction* commands documentation to
guide me all along.

Therefore, I wanted to give it (and ConTeXt) one last chance by starting
from scratch and progress by trial and error.

Hence my previous question.

Alan

P.S. What I meant by texshow being a black hole is: there's a lot of stuff
in there, but for the most part (as a user) I don't have a clue what it is
and
what it means.


On Tue, Jul 29, 2008 at 7:52 PM, Hans Hagen [EMAIL PROTECTED] wrote:

 Taco Hoekwater wrote:
 
  Alan Stone wrote:
  HI,
 
  Where can I find a *comprehensive* explanation of all
  \*interaction* commands and their options ?
 
  AFAIK, the best bet at the moment is texshow:
 
 http://texshow.contextgarden.net/
 
  and put interaction in the search field.

 depends a bit on what you want to do ...

 mwidgets.pdf is ok, and also the s-pre-* files have lots of examples

 Hans

___
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
___


Re: [NTG-context] cont-enp.pdf on lulu

2008-07-29 Thread Gerben Wierda
On Jul 29, 2008, at 8:05 PM, Hans Hagen wrote:

 I was wondering if you already know what you would have to use if not
 TeX. Is there an alternative at all?

 no, i'd probably choose a completely other job then (ok, maybe general
 programming as part time then) ... i simply can not use a program  
 that i
 know will be replaced within 5 years

Did you look at Lout? Font-wise restricted at first glance, but  
interesting nonetheless.

Anyway, I still feel that something like LuaTeX with a decent ConTeXt  
is the best option. But the project could do with funding by some rich  
former dot-com billionaire. Because if it does not get out of the tool  
shed phase, it will remain problematic for ordinary users like myself.

G

___
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
___


Re: [NTG-context] cont-enp.pdf on lulu

2008-07-29 Thread Gerben Wierda
On Jul 29, 2008, at 2:44 PM, Aditya Mahajan wrote:

 Hi Gerben,

 On Tue, 29 Jul 2008, Gerben Wierda wrote:

 This should be based on (imo) merging the content of the excursion  
 and
 the manual.

 Here (and sometime earlier in the thread) you have suggested that  
 you find
 the scattered documentation of ConTeXt confusing and would like to  
 see an
 exhaustive manual. I agree with that in principle, but still believe  
 that
 excursion and the manual should be separate. The manual can be a  
 superset
 of excursion, but there needs to be beginner's manual.

 If there is a exhaustive manual, it will be *huge*. An exhaustive  
 manual
 on math will be of the size of a book; so would an exhaustive manual  
 on
 metapost/mp-lib (think of an updated metafun manual). I can also  
 imagine
 an exhaustive manual for fonts to be big (how do we handle fonts for
 lua/xetex/pdftex; how do we handle fonts for different scripts,  
 etc.); and
 fairly large manuals for floats (three four mechanism for tables,  
 about 20
 ways to move around floats, etc.), critical editions (I don't know the
 status of the proposed module), bib module (the user manual for  
 biblatex,
 which is similar in spirit to bib module, is huge), etc.

 So, if we want exhaustive documentation and  a beginner's
 manual, I see that we only have the option of expanding on the  
 excursion
 to have an upto date beginner's manual, expanding on the manual to  
 have an
 upto date (but not exhaustive) user manual, and have a series of
 specialized exhaustive manuals. But that will still mean that the
 documentation is scattered.

 The way I see it, we can update the documentation, but not really  
 solve
 the problem of scattered documentation :-(

Before things balloon to a size it is not feasible anymore, I would  
suggest keeping manualreference apart from introductory documents  
like excursion or 'beginners manual'. And I would be very happy if  
there was only one decent manualreference maintained by a group of  
people, complete and up to date. thers could maintain a beginner's  
manual on the basis of that, but add the maintenance of a second  
beginner's manual and suddenly one needs to maintain two things. This  
cannot completely be avoided (as also in the manual the same thing  
will be in many places as technique 1 is part of the example for  
technique 2, etc.).

At first, I would suggest that the documentation project would  
consider itself with one thing: a 'user  reference manual' for  
ConTeXt. If that succeeds and people have energy left they can do a  
simplified beginner's manual.

Note: personally, I think a beginner's manual could be part of the big  
manual. Say, an 'excursion' chapter or a 'beginner's section' at the  
start of each chapter..

G
___
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
___


Re: [NTG-context] \*interaction* commands

2008-07-29 Thread Hans Hagen
Alan Stone wrote:
 I'm still trying to reproduce the layo-05.tex example Hans. As its code
 is rather tortuous I studied other examples. Up till now this has been
 quite a time investment without noticeable return, partly due to not
 finding a comprehensive \*interaction* commands documentation to
 guide me all along.

the problem with interaction is that there is not one route ... the 
simplest way is to just turn it on (\setupinteraction[state=start])

next there are only a few special interaction things: goto, buttons and 
menus and it really depends on your design then what you use

the other thingies (graphics and such) ar enot special to interaction

you can run layo-05.tex with --mode=demo to get a simple example, given 
at the bottom of that file

an option is to copy that file into a temp one and start commenting ... 
that way you see what happens; normally a style is built the other way 
around,

- set up a papersize
- adapt the layout
- start keying some text
- then see what kind of text you have
- adapt your design to the content

now, esp with things like menus, finetuning really depends on the kind 
of content; the best way to get a feeling for that is just try things 
(at least that's how i do it ... just try what looks best as there is no 
recipy for a design)

Hans


-
   Hans Hagen | PRAGMA ADE
   Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
  tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
  | www.pragma-pod.nl
-
___
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
___


Re: [NTG-context] Creating account on wiki contextgarden

2008-07-29 Thread Henning Hraban Ramm
Am 2008-07-29 um 19:55 schrieb Hans Hagen:
 I must admit that I will feel confused if the question will be  
 mixed with
 ancient maya numbers .

 well, you're an original 'roman' guy so you'll get the easy creation
 question


So, someone with a Peruan IP will get a riddle with Maya numbers?
And Irish get some Ogham?


Greetlings from Lake Constance!
Hraban
---
http://www.fiee.net/texnique/
http://wiki.contextgarden.net
https://www.cacert.org (I'm an assurer)

___
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
___


Re: [NTG-context] Creating account on wiki contextgarden

2008-07-29 Thread Steve Peter

On Jul 29, 2008, at 4:30 PM, Henning Hraban Ramm wrote:

 Am 2008-07-29 um 19:55 schrieb Hans Hagen:
 I must admit that I will feel confused if the question will be
 mixed with
 ancient maya numbers .

 well, you're an original 'roman' guy so you'll get the easy creation
 question

 So, someone with a Peruan IP will get a riddle with Maya numbers?

The Maya were further north, in what is today Mexico, Guatemala,  
Honduras and Belize. Peru was home to the Inca, so Peruvians should  
get quipu.

Steve
___
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
___


[NTG-context] \Word broken

2008-07-29 Thread Matthias Wächter
On 7/25/2008 11:30 AM, Matthias Wächter wrote:
 On 7/24/2008 9:49 PM, Peter Münster wrote:
 On Thu, Jul 24 2008, Matthias Wächter wrote:
 What am I doing wrong? \Word, \Words and \WORDS cannot be applied to
 synonyms, they are displayed unmodified which is a pity as these words
 should be capitalized at the beginning of a sentence. Is there a
 solution?
 Try texexec --luatex file (luatex has to be installed).
 
 Wow, it's always impressive to see what difference luatex makes … :-)
 
 Only problem: \Word does the same as \Words (checked on live.contextgarden). 
 Any hints?

This is the respective code from core-spa.mkiv, and it is obviously broken as 
it defines \Words to be the same as \Word (and it defines \Word wrongly in the 
first place).

[…]
\def\WORD{\groupedcommand{\setcharactercasing[\plusone  ]}{}}
\def\word{\groupedcommand{\setcharactercasing[\plustwo  ]}{}}
\def\Word{\groupedcommand{\setcharactercasing[\plusthree]}{}} % \plusfour

\let\WORDS\WORD
\let\words\word
\let\Words\Word
[…]

I just played a little bit with the lua code but get lost miserably considering 
all those nodes, linked lists etc.

It seems to be the hard part to skip the remaining words properly, so its 
implementation was postponed. Is this correct?

Hans, do you feel something about the issue?

Thanks,
- Matthias

___
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
___


Re: [NTG-context] \Word broken

2008-07-29 Thread Hans Hagen
Matthias Wächter wrote:

 Hans, do you feel something about the issue?

only if i get a test file and a description of expected behaviour

Hans

-
   Hans Hagen | PRAGMA ADE
   Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
  tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
  | www.pragma-pod.nl
-
___
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
___


[NTG-context] Overriding a chapter number

2008-07-29 Thread Gerben Wierda
When I compile a chapter of a book separately, I want to override the  
automatic numbering because otherwise every separate pdf will have  
chapter 1. So I tried:

\doifmode{standalone}{\setuphead[chapter][2]}
\chapter[h:foo]{Foo}

But the chapter still gets number 1 when I compile with

texexec --pdf --mode=standalone c_foo.tex

what am I doing wrong here?

Thanks,

G
___
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
___


Re: [NTG-context] Overriding a chapter number

2008-07-29 Thread Mojca Miklavec
On Wed, Jul 30, 2008 at 12:09 AM, Gerben Wierda [EMAIL PROTECTED] wrote:
 When I compile a chapter of a book separately, I want to override the
 automatic numbering because otherwise every separate pdf will have
 chapter 1. So I tried:

 \doifmode{standalone}{\setuphead[chapter][2]}

It's \setupheadnumber.

 \chapter[h:foo]{Foo}

 But the chapter still gets number 1 when I compile with

 texexec --pdf --mode=standalone c_foo.tex

 what am I doing wrong here?

Mojca
___
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
___


Re: [NTG-context] Overriding a chapter number

2008-07-29 Thread Hans Hagen
Gerben Wierda wrote:
 When I compile a chapter of a book separately, I want to override the  
 automatic numbering because otherwise every separate pdf will have  
 chapter 1. So I tried:
 
 \doifmode{standalone}{\setuphead[chapter][2]}

\setupheadnumber


-
   Hans Hagen | PRAGMA ADE
   Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
  tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
  | www.pragma-pod.nl
-
___
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
___


[NTG-context] What happened to \reference

2008-07-29 Thread Gerben Wierda
I have started (after a hiatus) to compile my project again using an  
updated ConTeXt

ConTeXt  ver: 2008.03.03 00:34 MKII  fmt: 2008.3.4  int: english/english

and something that used to work has stopped working:

\reference[logic:implicationprogram] 
{\getbuffer[logic:implicationprogram]}

gives an empty result. This used to (say a year ago) get me the  
contents of the buffer I set up earlier.

I tried the excursion, manual and wiki but only got very confused. In  
the past I must have concluded that this should work and apparantly it  
did. But rereading everything about \reference (wiki gives me many  
hits and I cannot find the right one) I get completely confused about  
what \reference exactly does with the second argument.

G
___
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
___


Re: [NTG-context] Creating account on wiki contextgarden

2008-07-29 Thread Henning Hraban Ramm
Am 2008-07-29 um 22:49 schrieb Steve Peter:
 well, you're an original 'roman' guy so you'll get the easy creation
 question

 So, someone with a Peruan IP will get a riddle with Maya numbers?

 The Maya were further north, in what is today Mexico, Guatemala,
 Honduras and Belize. Peru was home to the Inca, so Peruvians should
 get quipu.


Oh sorry, should have refreshed my geography knowledge before posting.

But quipu is decimal, that's no encryption ;-)

(Recently read an article on ancient numbering systems that pointed  
out that big empires worked only with good arithmetics, i.e. quipu or  
Indian/Arabic numbers succeeded, the Roman empire grew too big for  
their complicated numbers... Does someone know which system the  
Carthagians used?)


Greetlings from Lake Constance!
Hraban
---
http://www.fiee.net/texnique/
http://wiki.contextgarden.net
https://www.cacert.org (I'm an assurer)

___
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
___


Re: [NTG-context] Creating account on wiki contextgarden

2008-07-29 Thread luigi scarso
On Tue, Jul 29, 2008 at 7:55 PM, Hans Hagen [EMAIL PROTECTED] wrote:

 luigi scarso wrote:
  On Mon, Jul 28, 2008 at 10:28 PM, Mehdi Omidali [EMAIL PROTECTED]
 wrote:
 
  Hi everyone,
  I want to translate Context an excursion to farsi and went to
  http://wiki.contextgarden.net/ConTeXt_on_Excursion,_translations
  and tried to create an account to be able to access source files. I
  faced a problem in the anti automated account creation question
  which is something like
  (23 plus 8) times roman 'C'
  What must be inserted as the answer to such a problem. I tried
  everything but no success.
  Best Wishes.
 
 
  I must admit that I will feel confused if the question will be mixed with
  ancient maya numbers .

 well, you're an original 'roman' guy so you'll get the easy creation
 question


Better to say no, otherwise one can  argue that I'm also able with
Etruscan numerals
http://en.wikipedia.org/wiki/Etruscan_numerals

BTW, some linearity equations like
x =  - IV
can be problematic (actually {'nulla'  , 'N' } are valid solutions, but it's
an historical matter)
http://en.wikipedia.org/wiki/Roman_numerals

One can say that such questions should be avoided because there are no
reasons for non-roman people to know about roman numerals
(at least they are the same of non-maya people to know about maya numerals),
and it's generally true .

But, given that we are talking about ConTeXt and given that \romannumerals
is a ConTeXt macro,
in this particular case such questions are valid.

This open the door to similar questions (cfr core-con.lua,core-con.tex for
persian,thai etc)
and given that Unicode sooner or later will cover all kind of writing
systems of the human race,
I expect that some day some questions will be mixed with maya numerals.



-- 
luigi
___
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
___