Re: [NTG-context] Why do \startlines and \crlf give different results in this example?

2011-03-12 Thread Wolfgang Schuster

Am 12.03.2011 um 05:48 schrieb mathew:

 
 
 % First request no space before
 \setuplines[before=\nowhitespace,after=\nowhitespace]
 
 
 
 % Now use startlines...
 
 \framed[width=fit,align=right]{\startlines One
 Two
 Three\stoplines}

\framed
  [width=fit,align=right,strut=no]
  {\startlines[before=,after=]
   One
   Two
   Three
   \stoplines}

 % ...then compare with \crlf.
 \framed[width=fit,align=right]{One\crlf
 Two\crlf
 Three}

\framed
  [width=fit,align=right]
  {One\\Two\\Three}

Wolfgang


___
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Am not getting Roman numeral page numbers in MKIV

2011-03-12 Thread Jeong Dalyoung
Dear Tom,

Since I am an enduser of ConTeXt, I couldn't expalin what happens here.
 I just run your code in the mail and got the following results.

 
 1. Front matter page numbers are not lower-case Roman numerals although they
 are listed as such in the TOC.

The Roman numerals in both front part and in TOC.
 
 2. The Introduction is not listed in the TOC.

Same as your output. No 

 3. Page numbering isn't reset to 1 in the bodymatter section.
 
Same as you, but if I change \startstructureblockenvironment[bodymatter] to 
\startstructureblockenvironment[bodypart], then Introduction starts from page 1.
So I guess that there are something between [bodymatter] and [bodypart].

best regards,

Dalyoung

___
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] change interwordspace twice

2011-03-12 Thread Steffen Wolfrum

Am 11.03.2011 um 19:56 schrieb Wolfgang Schuster:

 
 Am 11.03.2011 um 12:36 schrieb Steffen Wolfrum:
 
 Hi,
 
 one time it works, the second it doesn't:
 
 \starttext
 
 \interwordspace 20.7pt Big Space
 
 \par
 
 \interwordspace 2.7pt Big Space
 
 \par
 
 \interwordspace 20.7pt Big Space
 
 \stoptext
 
 Does someone can explain how and when interwordspace is successfully set?
 
 That’s the only context way to change it:
 
 \starttext
 
 text text text
 
 \setuptolerance[space]
 
 text text text text
 
 \stoptext


Is there only one space or s is possible to set more fine-tuned values?

Steffen
___
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] Portable Context

2011-03-12 Thread Siep Kroonenberg
For a usb stick install, it would be nice if there were no
hard-coded paths anywhere. A texmfcnf.lua with content

return {
  TEXMFCACHE = kpse.var_value('TEXMFSYSVAR')
}

appears to be read but ignored. Moreover, the fndb lua files under
luatex-cache/context/xxx/trees contain hard-coded paths.

Is there any way to avoid hard-coded paths?

-- 
Siep Kroonenberg
___
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Portable Context

2011-03-12 Thread luigi scarso
On Sat, Mar 12, 2011 at 10:32 AM, Siep Kroonenberg si...@cybercomm.nl wrote:
 For a usb stick install, it would be nice if there were no
 hard-coded paths anywhere. A texmfcnf.lua with content

 return {
  TEXMFCACHE = kpse.var_value('TEXMFSYSVAR')
 }

 appears to be read but ignored. Moreover, the fndb lua files under
 luatex-cache/context/xxx/trees contain hard-coded paths.

 Is there any way to avoid hard-coded paths?
Isn't minimals path-aware ?
With setuptex I can put context wherever I want.
-- 
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Portable Context

2011-03-12 Thread Siep Kroonenberg
On Sat, Mar 12, 2011 at 10:44:49AM +0100, luigi scarso wrote:
 On Sat, Mar 12, 2011 at 10:32 AM, Siep Kroonenberg si...@cybercomm.nl wrote:
  For a usb stick install, it would be nice if there were no
  hard-coded paths anywhere. A texmfcnf.lua with content
 
  return {
   TEXMFCACHE = kpse.var_value('TEXMFSYSVAR')
  }
 
  appears to be read but ignored. Moreover, the fndb lua files under
  luatex-cache/context/xxx/trees contain hard-coded paths.
 
  Is there any way to avoid hard-coded paths?
 Isn't minimals path-aware ?
 With setuptex I can put context wherever I want.

This is in the context of TeX Live. But I'll have a look at how
minimals does it.

-- 
Siep Kroonenberg
___
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] \setuppublications problem

2011-03-12 Thread Thomas Schmitz

On Sat, 12 Mar 2011 08:37:28 +0100
 Jean Magnan de Bornier jm.born...@free.fr wrote:


Fair enough. Here:
.
\setupbibtex [database=/home/jean/biblio]
\setuppublications[alternative=apa]

\starttext


{\bf Bibliography}

\nocite[hh2010a,hh2010b,Eijkhout1991]
\placepublications
\stoptext



Have you tried \placepublications[criterium=all] or 
\placepublications[criterium=text]?
 

biblio.bib is a file already known to some:


So it's sample.bib. It would have made helping easier if 
you had said that.


Thomas
___
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] \setuppublications problem

2011-03-12 Thread Jean Magnan de Bornier
Le 12 mars à 11:09:55 Thomas Schmitz tschm...@uni-bonn.de écrit notamment:

| On Sat, 12 Mar 2011 08:37:28 +0100
|  Jean Magnan de Bornier jm.born...@free.fr wrote:

| Fair enough. Here:
|  .
|  \setupbibtex [database=/home/jean/biblio]
|  \setuppublications[alternative=apa]
| 
|  \starttext
| 
| 
|  {\bf Bibliography}
| 
|  \nocite[hh2010a,hh2010b,Eijkhout1991]
|  \placepublications
|  \stoptext
|  

| Have you tried \placepublications[criterium=all] or
| \placepublications[criterium=text]?

These are working, thanks.


-- 
Jean
___
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] \setuppublications problem

2011-03-12 Thread Florian Wobbe
 Have you tried \placepublications[criterium=all] or 
 \placepublications[criterium=text]?

Hi Thomas,

you gave me exactly the same hint last week. We should add criterium=cite and 
criterium=text to the Wiki (Bibliography MKIV page: 
http://wiki.contextgarden.net/Bibliography_mkiv).

In the beginning it was not clear to me, that 
http://wiki.contextgarden.net/Bibliography refers to the MKII implementation of 
Taco. Therefore, I would suggest to rename Bibliography to Bibliography_mkii 
and create an alias Bibliography that redirects to Bibliography_mkiv instead. 
In the wiki pages Bibliography_mkiv and Bibliography_mkii the first sentence 
should state that the page is related to mkii/mkiv only and link to the other 
page. Do you think this is reasonable?

I would like to add a section on customising bibstyle files and add space for 
sharing reference styles of different journals. What do you think?

In general I find it difficult to differentiate between mkiv and mkii related  
information in the wiki. How could we better structure the wiki to make it 
easier for the reader? Disambiguation pages, mkiv/mkii sections, independent 
pages with mkiv/mkii in headerline?

Best,
Florian

___
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] \setuppublications problem

2011-03-12 Thread Thomas Schmitz

Hi Florian,

On Sat, 12 Mar 2011 11:45:16 +0100
 Florian Wobbe florian.wo...@awi.de wrote:
Have you tried \placepublications[criterium=all] or 
\placepublications[criterium=text]?


Hi Thomas,

you gave me exactly the same hint last week. 


Not only that, but someone gave exactly the same hint to 
Jean in December...


We should
add criterium=cite and criterium=text to the Wiki 
(Bibliography MKIV page: 
http://wiki.contextgarden.net/Bibliography_mkiv).


You are of course right, but I assume Hans is working on 
bibliographies right now (he promised to finish something 
which I need for a project in March, so that leaves him 
another two weeks ;-), so we should maybe wait a bit. 
criterium=cite should work as well, but doesn't right now.


In the beginning it was not clear to me, that 
http://wiki.contextgarden.net/Bibliography refers to the 
MKII implementation of Taco. Therefore, I would suggest 
to rename Bibliography to Bibliography_mkii and create an 
alias Bibliography that redirects to Bibliography_mkiv 
instead. In the wiki pages Bibliography_mkiv and 
Bibliography_mkii the first sentence should state that 
the page is related to mkii/mkiv only and link to the 
other page. Do you think this is reasonable?


I had begun rewriting the page. There is now 
http://wiki.contextgarden.net/Bibliographies which links 
to the other pages, and which is linked to on the front 
page. But another context-related project kept me away 
from this and I never finished this, so fell free to 
shuffle and rewrite things!


I would like to add a section on customising bibstyle 
files and add space for sharing reference styles of 
different journals. What do you think?


Again, that's a very good idea, but we should maybe wait 
just a bit till the dust settles a bit.
 
In general I find it difficult to differentiate between 
mkiv and mkii related  information in the wiki. How could 
we better structure the wiki to make it easier for the 
reader? Disambiguation pages, mkiv/mkii sections, 
independent pages with mkiv/mkii in headerline?
 
Just my 2 cents on this: difficult, because you won't be 
able to make everybody happy. Every now and then, I see a 
new user on the list who asks about installing mkiv and 
doesn't realize that it is not really something which you 
have to install additionally. We shouldn't scare those 
users because in so many cases, mkii and mkiv are exactly 
identical, so that would be an arguments against a too 
stric separation. But of course you're also right that 
it's frustrating for users if they can't find relevant 
information for the areas where the two differ. As long as 
mkiv hasn't settled, this is not easy...


All best

Thomas
___
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] cals tables

2011-03-12 Thread R. Ermers
Dear all,

First the good news: I have succeeded in typesetting a table!

I first changed all tag names from table, entry, row to cals:table, 
cals:entry, cals:row, etc. Then the table is read in.

However, the table setup cannot be manipulated by means of the directives, 
because - according to the log file - the directives inside the cdx-file are 
not found (lxml: no directives found in 'x-cals-test.cdx').

Without the directives, the cals table are typeset according to a rough 
standard (framed). I typeset them in a separate document (pdf), which I insert 
as a pdf graphic (mediaobject) file in my main document. This works to some 
extent for short tables, but not for tables that cover more than one page. This 
procedure is also cumbersome, for some font specifications etc. have to be 
transferred to the tex file, and if you change one file, you have to change the 
other as wel. I am now thinking to typeset them with latex instead.

Since one of the main problems seems to be that the cdx file is loaded, but 
that the directives are not found, I tried to solve this problem by putting the 
directives in my docbook xml file, but that did not work either. (I also tried 
a number of other things.)

Can anyone give me a straight minimal example of what to write in my 
environment file or in my docbook file in order to typeset a text that contains 
the adapted cals tables? Which xmlsetsetup do I need?

I have read Hans' brief explanation of the directives 
(http://www.ntg.nl/maps/37/06.pdf), but well, I am not a programmer, I need a 
more straightforward example in order to understand the logics.

Or is it too early for these wishes? Perhaps should we accept that, in spite of 
everything, for the time being docbook files that contain cals tables simply 
cannot be typeset with ConTeXt?

Regards,

Robert

P.S. I use a minimal installation on Mac OS X 10.6.


Op 11 mrt 2011, om 09:35 heeft R. Ermers het volgende geschreven:

 Dear contexers,
 
 I get the impression that cals tables need to be processed separately from 
 the main docbook file.
 Instead of table and tbody, etc. the tags are changed into cals:table, 
 cals:tbody, etc.
 
 I first tried to process the file x-cals-test.tex pointed to by Hans.
 
 This file loads two other files
 \starttext
 \xmlloaddirectives{x-cals-test.cdx}
 \xmlprocess{main}{x-cals-test.xml}{}
 \stoptext
 
 However, the file x-cals-test.xml is not valid.
 
 Therefore I took one of the simple cals tables from within that file, making 
 sure it contains one of the cdx attributes (cdx=vertical) and saved it in 
 x-cals-test2.xml. My xml software says that the file is valid, and it opens 
 normally.
 
 The file are processed now, but the table is not typeset.
 Instead there is an error message printed in the pdf file: invalid xml file - 
 parsed text.
 
 The log file says: lxml: no directives found in 'x-cals-test.cdx' 
 (more log information further)
 
 It seems that the directives are not processed.
 
 x-cals-test2.xml
 
 
 Regards,
 
 Robert
 
 
 
 
 systems : begin file cals-test.tex at line 50
 lxml: no directives found in 'x-cals-test.cdx'
 systems : end file cals-test.tex at line 53
  )
 mkiv lua stats : used config file  - 
 /prog2/context/tex/texmf/web2c/texmfcnf.lua
 mkiv lua stats : used cache path   - 
 /prog2/context/tex/texmf-cache/luatex-cache/context/b37116f3b39a5afbaa249111be7bfbba
 mkiv lua stats : input load time   - 0.008 seconds
 mkiv lua stats : stored bytecode data  - 261 modules, 56 tables, 317 
 chunks
 mkiv lua stats : loaded tex modules- 1 requested, 1 found (*-cals), 0 
 missing
 mkiv lua stats : cleaned up reserved nodes - 30 nodes, 9 lists of 411
 mkiv lua stats : node memory usage - 18 glue_spec
 mkiv lua stats : node list callback tasks  - 6 unique task lists, 1 instances 
 (re)created, 397 calls
 mkiv lua stats : used backend  - pdf (backend for directly 
 generating pdf output)
 mkiv lua stats : result saved in file  - cals-test.pdf
 mkiv lua stats : fonts load time   - 0.197 seconds 
 mkiv lua stats : luatex banner - this is luatex, version 
 beta-0.65.0-2010121316
 mkiv lua stats : control sequences - 29719 of 165536
 mkiv lua stats : current memory usage  - 41 MB (ctx: 42 MB)
 
 
 
 
 Op 9 mrt 2011, om 14:30 heeft Hans Hagen het volgende geschreven:
 
 On 8-3-2011 9:00, R. Ermers wrote:
 Dear ConTeXers,
 
 I still have not been able to find out how to proceed with my docbook xml 
 document, which contains a number of cals tables.
 The cals module is loaded by means of \usemodule[cals].
 
 How to proceed from here?
 
 Any clue is appreciated!
 
 x-cals-test.*
 
 in the test suite
 
 -
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 

[NTG-context] why this error?

2011-03-12 Thread Hans van der Meer
Not so long ago no problems with typesetting. 
OK in ConTeXt  ver: 2011.02.05 11:37 MKIV  fmt: 2011.2.5  int: english/english

Now in: ConTeXt  ver: 2011.02.25 22:03 MKIV  fmt: 2011.3.11  int: 
english/english
an error:

(.././literature.tex
resolversmodules  loaded: 'bib'
(/Users/hans/context/tex/texmf-context/tex/context/base/m-obsolete.tex
! Undefined control sequence.

system   tex  error on line 3 in file .././onderwijs.tex: Undefined 
control sequence ...

 1 %  $Revision: 43 $ $Date: 2011-02-15 14:31:42 +0100 (di, 15 feb 2011) $
 2 % Project file voor cryptografie onderwijsprodukties.
 3   
 4 \startproject onderwijs
 5 
 6 % environment setup for all products
 7 \environment mainsetup   % algemene macros
 8 \environment literature  % citation setup
 9 
10 % environment setup for specific products
11 \startlocalenvironment[college]
12  \writestring{THIS IS FOR THE PRESENTATIONS ONLY}
13  \enablemode[screen]

argument writestatus(\m!systems 
   ,\!!bs skipping obsolete module\!!es )
\ctxcommand #1-\directlua \zerocount {commands.#1
  }
l.3 ...estatus\m!systems{skipping obsolete module}
  
? 
Process aborted


Who can tell where this comes from and how it can be repaired?

Hans van der Meer

___
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] change interwordspace twice

2011-03-12 Thread Andreas Harder

Am 12.03.2011 um 10:01 schrieb Steffen Wolfrum:

 
 Am 11.03.2011 um 19:56 schrieb Wolfgang Schuster:
 
 
 Am 11.03.2011 um 12:36 schrieb Steffen Wolfrum:
 
 Hi,
 
 one time it works, the second it doesn't:
 
 \starttext
 
 \interwordspace 20.7pt Big Space
 
 \par
 
 \interwordspace 2.7pt Big Space
 
 \par
 
 \interwordspace 20.7pt Big Space
 
 \stoptext
 
 Does someone can explain how and when interwordspace is successfully set?
 
 That’s the only context way to change it:
 
 \starttext
 
 text text text
 
 \setuptolerance[space]
 
 text text text text
 
 \stoptext
 
 
 Is there only one space or s is possible to set more fine-tuned values?

You can define your own space.

\definetolerancemethod
  [horizontal]
  [smallspace]
  {\spaceskip.2em plus.1em minus.05em\relax}

\definetolerancemethod
  [horizontal]
  [mediumspace]
  {\spaceskip.33em plus.25em minus.1em\relax}

\definetolerancemethod
  [horizontal]
  [bigspace]
  {\spaceskip.5em plus.25em minus.25em\relax}

\starttext  \showframe[text]
  \start \setuptolerance[smallspace]  \input tufte \par \stop \blank
  \start \setuptolerance[mediumspace] \input tufte \par \stop \blank
  \start \setuptolerance[bigspace]\input tufte \par \stop \blank
  % default:
  \input tufte 
\stoptext

Greeting
Andreas
___
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] Ideas for restructuring the ConTeXt garden?

2011-03-12 Thread Florian Wobbe
Maybe we should start a discussion in a new thread to find out:

1) why users are confused with mkiv/mkii?
2) why they my be reluctant to install the minimals?
3) how to restructure the garden to make things clearer for newcomers?
4) how do users look for information and how to optimise the garden for search 
engine requests?
5) how to better promote context to new/latex users?

Especially answers from new users to the first three points would be helpful to 
answer the fifth point I guess.

 In general I find it difficult to differentiate between mkiv and mkii 
 related  information in the wiki. How could we better structure the wiki to 
 make it easier for the reader? Disambiguation pages, mkiv/mkii sections, 
 independent pages with mkiv/mkii in headerline?
 Just my 2 cents on this: difficult, because you won't be able to make 
 everybody happy. Every now and then, I see a new user on the list who asks 
 about installing mkiv and doesn't realize that it is not really something 
 which you have to install additionally. We shouldn't scare those users 
 because in so many cases, mkii and mkiv are exactly identical, so that would 
 be an arguments against a too stric separation.

I understand the problem.

Having said that, pages like Using Mark IV or Install Mark IV should be 
renamed to installing/using context.

Maybe it would help to include a little box important things to know on the 
installation page and explain shortly that for historical reasons mkii and mkiv 
are distributed together and that the former is regarded deprecated.  Maybe 
link to a new page: Differences between miiv/mkii and how both are invoked 
(context vs. texexec).

Then I am aware of many people who are reluctant to install the minimals. I now 
wonder why I (myself) was unwilling to install the minimals in the first place, 
having TeXLive installed already. For one it was because of the extra effort. 
But I recall it was also the name The ConTeXt MINIMAL distribution that kept 
me. The name minimal somehow suggested something incomplete or minor to me. 
It took me a while to figure out that the minimals is actually more than you 
get from TexLive. Therefore, I would suggest leaving out minimal and 
advertise the superior instead.

 But of course you're also right that it's frustrating for users if they can't 
 find relevant information for the areas where the two differ. As long as mkiv 
 hasn't settled, this is not easy...

In deed. I guess this has most relevance for people new to context, especially 
those who know latex already and are used to find help easily.

 We should add criterium=cite and criterium=text to the Wiki (Bibliography 
 MKIV page: http://wiki.contextgarden.net/Bibliography_mkiv).
 
 You are of course right, but I assume Hans is working on bibliographies right 
 now (he promised to finish something which I need for a project in March, so 
 that leaves him another two weeks ;-), so we should maybe wait a bit.

OK, fine. I'm curious what new feature this will bring to us!

 criterium=cite should work as well, but doesn't right now.
 
 In the beginning it was not clear to me, that 
 http://wiki.contextgarden.net/Bibliography refers to the MKII implementation 
 of Taco. Therefore, I would suggest to rename Bibliography to 
 Bibliography_mkii and create an alias Bibliography that redirects to 
 Bibliography_mkiv instead. In the wiki pages Bibliography_mkiv and 
 Bibliography_mkii the first sentence should state that the page is related 
 to mkii/mkiv only and link to the other page. Do you think this is 
 reasonable?
 
 I had begun rewriting the page. There is now 
 http://wiki.contextgarden.net/Bibliographies which links to the other pages, 
 and which is linked to on the front page. But another context-related project 
 kept me away from this and I never finished this, so fell free to shuffle and 
 rewrite things!

I see. I was not aware of this page. I usually find information on the wiki by 
searching for: site:wiki.contextgarden.net placepublications. So if there are 
actually  disambiguation pages for mkiv/mkii it makes sense to include 
mkiv/mkii on both pages (not just one).

 I would like to add a section on customising bibstyle files and add space 
 for sharing reference styles of different journals. What do you think?
 
 Again, that's a very good idea, but we should maybe wait just a bit till the 
 dust settles a bit.

All right.

Best,
Florian

___
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] renderbuttons where?

2011-03-12 Thread Hans van der Meer

   \button{\symbol[StartRendering]} [StartRendering{#1}]\enspace
   \button{\symbol[StopRendering]}  [StopRendering{#1}]\enspace
   \button{\symbol[PauseRendering]} [PauseRendering{#1}]\enspace
   \button{\symbol[ResumeRendering]}[ResumeRendering{#1}]}}

The above statements used to produce buttons for start/stop playing, etc. Like:

inline: render.tiff

Now I don't get them anymore. Has something changed here?

inline: not-render.tiff


Hans van der Meer

___
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Ideas for restructuring the ConTeXt garden?

2011-03-12 Thread Marco
On 2011-03-12 Florian Wobbe florian.wo...@awi.de wrote:

 Maybe we should start a discussion in a new thread to find out:
 
 1) why users are confused with mkiv/mkii?

Because the old manuals only mention mkii and many things have changed in mkiv
and don't work in mkii. It is not easy for beginners to choose between mkii
and mkiv. And many are not aware of the two different (and incompatible)
versions and mix them up.

 2) why they my be reluctant to install the minimals?

First:
Users like to install software using the package management system. Installing
software manually is considered evil. For software that is updated frequently
usually ppa links are provided for the repository.

Second:
You mentioned it already. Users tend to install »maximals«, not minimals, they
don't like rectricted versions if you can get the whole. ;)

 3) how to restructure the garden to make things clearer for newcomers?

Make it clear that the minimals are the standard way of using ConTeXt, not
TeXlive when they want an up-to-date ConTeXt distribution. 

A clear advise for mkiv and contra mkii. mkiv is the way to go in the future.

 4) how do users look for information and how to optimise the garden for
 search engine requests?

I don't see a problem there (but still, maybe other people have). Searching
the mailing list, the garden or google for context + pragma usually points to
the right direction.

 5) how to better promote context to new/latex users?

Provide examples using the described features, so they have a point to start
from. This is solved in a good way in the pdf documents, not really on the
wiki.

 I understand the problem.
 
 Having said that, pages like Using Mark IV or Install Mark IV should be
 renamed to installing/using context.

ACK

 Then I am aware of many people who are reluctant to install the minimals. I
 now wonder why I (myself) was unwilling to install the minimals in the
 first place, having TeXLive installed already. For one it was because of
 the extra effort. But I recall it was also the name The ConTeXt MINIMAL
 distribution that kept me. The name minimal somehow suggested something
 incomplete or minor to me. It took me a while to figure out that the
 minimals is actually more than you get from TexLive. Therefore, I would
 suggest leaving out minimal and advertise the superior instead.

Very true. But it's an established name, I don't believe that it's likely to
be changed.


Marco


___
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] movies no longer recognized?

2011-03-12 Thread Hans van der Meer
This used to work:

\defineoverlay[tannenberg][%

{\externalfigure[tannenberg.jpg][width=\overlaywidth,height=\overlayheight]}]
\hfill\framed[offset=0pt,strut=no,background={foreground,tannenberg}]
{\externalfigure[%
/Users/hans/Cryptografie/College-Movies/Tannenberg.mov]
[width=1.33\makeupheight,height=\makeupheight]
}\hfill\null

Now the second \externalfigure makes ConTeXt hang.
Because leaving out the .jpg suffix makes the first \externalfigure a hang, it 
might be possible ConTeXt (no longer?) recognizes a .mov, but .mp4 suffers the 
same.

How can I update this to a working version again?

Hans van der Meer

___
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] hanging on missing picture

2011-03-12 Thread Hans van der Meer
Requesting a non-existing picture does not produce a warning message, but makes 
ConTeXt hang. An abort is the only thing that helps. It would however be nice 
if a missing file warning is given. A minimal example that shows me the hang:

\starttext
Hello a picture?\par
\externalfigure[./Figuren/figure.xxx]
\stoptext

___
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] hanging on missing picture

2011-03-12 Thread Taco Hoekwater


On 12 mrt. 2011, at 14:23, Hans van der Meer h.vanderm...@uva.nl wrote:

 Requesting a non-existing picture does not produce a warning message, but 
 makes ConTeXt hang. An abort is the only thing that helps. It would however 
 be nice if a missing file warning is given. A minimal example that shows me 
 the hang:

That is not supposed to happen, I think. Normally, you would get a gray box in 
thr pdf to indicate that the figure was not found.

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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Am not getting Roman numeral page numbers in MKIV

2011-03-12 Thread Tom
Thank you for taking the time to look into this for me, Dalyoung. I changed
bodymatter to bodypart in two places and got the same results as you did.
Page numbering is reset to 1 for the Introduction. However, I still don't
get Roman numerals in the front part and, as you also experienced, the TOC
is not listed in the TOC.

I am using Texlive 2010, which I downloaded on February 11, just two months
ago yesterday. One would expect such basic functions to be rock solid in
MKIV by now.

What version are you using? 

I have avoided downloading Minimals for the reasons mentioned in the thread
currently running on documentation plus that I don't want to be constantly
downloading new versions because of serious bugs and having simple things
that formerly worked to no longer work due to one of these bugs. I am not
using advanced features by any means. This is very frustrating.

BTW, where did you read to use front part instead of frontmatter? 

Tom Benjey
717-258-9733 voice
717-243-0074 fax
blog: www.TomBenjey.com



-Original Message-
From: ntg-context-boun...@ntg.nl [mailto:ntg-context-boun...@ntg.nl] On
Behalf Of Jeong Dalyoung
Sent: Saturday, March 12, 2011 3:35 AM
To: ntg-context@ntg.nl
Subject: Re: [NTG-context] Am not getting Roman numeral page numbers in MKIV

Dear Tom,

Since I am an enduser of ConTeXt, I couldn't expalin what happens here.
 I just run your code in the mail and got the following results.

 
 1. Front matter page numbers are not lower-case Roman numerals although
they
 are listed as such in the TOC.

The Roman numerals in both front part and in TOC.
 
 2. The Introduction is not listed in the TOC.

Same as your output. No 

 3. Page numbering isn't reset to 1 in the bodymatter section.
 
Same as you, but if I change \startstructureblockenvironment[bodymatter] to
\startstructureblockenvironment[bodypart], then Introduction starts from
page 1.
So I guess that there are something between [bodymatter] and [bodypart].

best regards,

Dalyoung


___
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net

___

___
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] no mp4 recognized?

2011-03-12 Thread Hans van der Meer
Doesn't ConTeXt recognize .mp4 as movie suffix?

Hans van der Meer

___
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Portable Context

2011-03-12 Thread Mojca Miklavec
On Sat, Mar 12, 2011 at 10:53, Siep Kroonenberg wrote:

  Is there any way to avoid hard-coded paths?
 Isn't minimals path-aware ?
 With setuptex I can put context wherever I want.

 This is in the context of TeX Live. But I'll have a look at how
 minimals does it.

This has been changed after the version of ConTeXt for TeX Live has
been frozen. So you would probably have to take a recent enough
version of ConTeXt (most probably even the version on tlcontrib is too
old, but at least it should not be too difficult to take the most
recent version just for testing).

You can have a look at
http://minimals.contextgarden.net/current/misc/web2c/texmfcnf.lua, but
you need a recent mtxrun for that.

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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] hanging on missing picture

2011-03-12 Thread Otared Kavian
Hi,

On my installation of ConTeXt, there is no hanging: maybe there is an issue 
with your intsllation?
The output shows a grey rectangle with 
name : dummy
file: figure
state: unknown
written on it.

For your information, I tested your code on a Mac OS X 10.6.6 and the minimals 
(version 2011.02.25).

Best regards: OK
On 12 mars 2011, at 14:23, Hans van der Meer wrote:
 Requesting a non-existing picture does not produce a warning message, but 
 makes ConTeXt hang. An abort is the only thing that helps. It would however 
 be nice if a missing file warning is given. A minimal example that shows me 
 the hang:
 
 \starttext
 Hello a picture?\par
 \externalfigure[./Figuren/figure.xxx]
 \stoptext


___
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] hanging on missing picture

2011-03-12 Thread Hans van der Meer
Well, here it does hang. I also have MacOSX 10.6.6 but then I have the minimals 
 ver: 2011.02.05 11:37 MKIV  fmt: 2011.2.5.
The later version: ConTeXt  ver: 2011.02.25 22:03 MKIV  fmt: 2011.3.11 does 
work as advertised though.

Pity I have to use the older version until another incompatibility is solved: 
resolversmodules  loaded: 'bib'
(/Users/hans/context/tex/texmf-context/tex/context/base/m-obsolete.tex
! Undefined control sequence.
I hope to hear soon about that one.

Hans van der Meer

On 12 mrt 2011, at 15:07, Otared Kavian wrote:

 Hi,
 
 On my installation of ConTeXt, there is no hanging: maybe there is an issue 
 with your intsllation?
 The output shows a grey rectangle with 
   name : dummy
   file: figure
   state: unknown
 written on it.
 
 For your information, I tested your code on a Mac OS X 10.6.6 and the 
 minimals (version 2011.02.25).
 
 Best regards: OK
 On 12 mars 2011, at 14:23, Hans van der Meer wrote:
 Requesting a non-existing picture does not produce a warning message, but 
 makes ConTeXt hang. An abort is the only thing that helps. It would however 
 be nice if a missing file warning is given. A minimal example that shows 
 me the hang:
 
 \starttext
 Hello a picture?\par
 \externalfigure[./Figuren/figure.xxx]
 \stoptext
 
 
 ___
 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  : http://foundry.supelec.fr/projects/contextrev/
 wiki : http://contextgarden.net
 ___

___
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Ideas for restructuring the ConTeXt garden?

2011-03-12 Thread Mojca Miklavec
On Sat, Mar 12, 2011 at 14:05, Marco wrote:
 On 2011-03-12 Florian Wobbe wrote:

 Then I am aware of many people who are reluctant to install the minimals. I
 now wonder why I (myself) was unwilling to install the minimals in the
 first place, having TeXLive installed already. For one it was because of
 the extra effort. But I recall it was also the name The ConTeXt MINIMAL
 distribution that kept me. The name minimal somehow suggested something
 incomplete or minor to me. It took me a while to figure out that the
 minimals is actually more than you get from TexLive. Therefore, I would
 suggest leaving out minimal and advertise the superior instead.

Interesting point :)

 Very true. But it's an established name, I don't believe that it's likely to
 be changed.

Well, I have been warned several times that we should change the name.

I'm procrastinating for over a year already to finish and release a
new version (that will be even more minimal, but with more optional
fonts etc.) on the new server. It would be an option to rename it to
The ConTeXt Distribution, but the pet name minimals will probably
stay :)

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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] module bib outdated?

2011-03-12 Thread Hans van der Meer
I suspect the cause of the problem in an earlier post is due to the line:
   \usemodule [bib]
resulting in an error about an outdated module.
What should I use instead?

Hans van der Meer

___
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] hanging on missing picture

2011-03-12 Thread Mojca Miklavec
On Sat, Mar 12, 2011 at 14:39, Taco Hoekwater wrote:
 On 12 mrt. 2011, at 14:23, Hans van der Meer wrote:

 Requesting a non-existing picture does not produce a warning message, but 
 makes ConTeXt hang. An abort is the only thing that helps. It would however 
 be nice if a missing file warning is given. A minimal example that shows 
 me the hang:

 That is not supposed to happen, I think. Normally, you would get a gray box 
 in thr pdf to indicate that the figure was not found.

I'm not sure, but until yesterday ConTeXt kept hanging in most
unexpected moments for not-really-predictable reasons and maybe that
is just one of them.

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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] module bib outdated?

2011-03-12 Thread Vedran Miletić
2011/3/12 Hans van der Meer h.vanderm...@uva.nl

 I suspect the cause of the problem in an earlier post is due to the line:
   \usemodule [bib]
 resulting in an error about an outdated module.
 What should I use instead?


I believe that bib is now part of the core, so that line isn't necessary.

Regards,

Vedran Miletić
___
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] hanging on missing picture

2011-03-12 Thread Mojca Miklavec
On Sat, Mar 12, 2011 at 15:27, Hans van der Meer h.vanderm...@uva.nl wrote:
 Well, here it does hang. I also have MacOSX 10.6.6 but then I have the 
 minimals  ver: 2011.02.05 11:37 MKIV  fmt: 2011.2.5.
 The later version: ConTeXt  ver: 2011.02.25 22:03 MKIV  fmt: 2011.3.11 does 
 work as advertised though.

 Pity I have to use the older version until another incompatibility is solved:
 resolvers        modules  loaded: 'bib'
 (/Users/hans/context/tex/texmf-context/tex/context/base/m-obsolete.tex
 ! Undefined control sequence.
 I hope to hear soon about that one.

I just commented out a single line in m-obsolete to make it work.

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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] missing colon in lucida mkii

2011-03-12 Thread Mojca Miklavec
Dear Hans,

there is a block of code that is commented out in math-lbr:

\startmathcollection[lbr]
\definemathcharacter [:]  [punct] [tf] [3A] % unbelievable
\definemathcharacter [;]  [punct] [tf] [3B] % unbelievable
\stopmathcollection

As a consequence I get a dot instead of colon with $a:b$. May I
request uncommenting these lines again?
(Plus, definitions for \colon are also missing, and maybe for some
other characters as well, but I didn't check systematically.)

Mojca

On Fri, Mar 11, 2011 at 11:23, Mojca Miklavec
mojca.miklavec.li...@gmail.com wrote:
 Hello,

 With the following example I get a dot instead of colon:

 \usetypescript[lucida][ec]
 \setupbodyfont[lucida]
 \starttext
 \startformula
 a := b
 \stopformula
 \stoptext

 The particular example in MKIV works fine ...

 ... except when it doesn't (\sqrt enters ifinite loop, but many other
 commands seem to be problematic as well).

 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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] hanging on missing picture

2011-03-12 Thread Otared Kavian
Hi,

I did the test with your code both with mkii and mkiv (version 2011.02.25, 
22:03).  In mkii I get what I reported previously and in mkiv I get:
name : dummy
file: ./Figuren/figure.xxx
state: unknown

I have noticed the hanging behaviour of mkiv in some other situations, but 
actually if I wait long enough mkiv comes back and the typesetting goes 
through… I had the impression of having a cache problem, since if I remove or 
rename the folder
/context-minimal/tex/texmf-cache/luatex-cache
then mkiv gets lost, despite a new folder being created.

Maybe in your situation there is an analogous condition?

Best regards: OK

On 12 mars 2011, at 15:27, Hans van der Meer wrote:

 Well, here it does hang. I also have MacOSX 10.6.6 but then I have the 
 minimals  ver: 2011.02.05 11:37 MKIV  fmt: 2011.2.5.
 The later version: ConTeXt  ver: 2011.02.25 22:03 MKIV  fmt: 2011.3.11 does 
 work as advertised though.
 
 Pity I have to use the older version until another incompatibility is solved: 
 resolversmodules  loaded: 'bib'
 (/Users/hans/context/tex/texmf-context/tex/context/base/m-obsolete.tex
 ! Undefined control sequence.
 I hope to hear soon about that one.
 
 Hans van der Meer
 
 On 12 mrt 2011, at 15:07, Otared Kavian wrote:
 
 Hi,
 
 On my installation of ConTeXt, there is no hanging: maybe there is an issue 
 with your intsllation?
 The output shows a grey rectangle with 
  name : dummy
  file: figure
  state: unknown
 written on it.
 
 For your information, I tested your code on a Mac OS X 10.6.6 and the 
 minimals (version 2011.02.25).
 
 Best regards: OK
 On 12 mars 2011, at 14:23, Hans van der Meer wrote:
 Requesting a non-existing picture does not produce a warning message, but 
 makes ConTeXt hang. An abort is the only thing that helps. It would however 
 be nice if a missing file warning is given. A minimal example that shows 
 me the hang:
 
 \starttext
 Hello a picture?\par
 \externalfigure[./Figuren/figure.xxx]
 \stoptext
 
 
 ___
 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  : http://foundry.supelec.fr/projects/contextrev/
 wiki : http://contextgarden.net
 ___
 
 ___
 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  : http://foundry.supelec.fr/projects/contextrev/
 wiki : http://contextgarden.net
 ___

%%
Otared Kavian
Département de Mathématiques
Université de Versailles Saint-Quentin
Bâtiment Fermat
45 avenue des Etats Unis
78035 Versailles cedex

Téléphone: +33 1 39 25 46 42
Secrétariat: +33 1 39 25 46 44 
Secrétariat: +33 1 39 25 46 46

e-mail: otared.kav...@math.uvsq.fr




___
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] why this error?

2011-03-12 Thread Mojca Miklavec
On Sat, Mar 12, 2011 at 12:56, Hans van der Meer h.vanderm...@uva.nl wrote:
 Not so long ago no problems with typesetting.
 OK in ConTeXt  ver: 2011.02.05 11:37 MKIV  fmt: 2011.2.5  int: english/english

 Now in: ConTeXt  ver: 2011.02.25 22:03 MKIV  fmt: 2011.3.11  int: 
 english/english
 an error:

 (.././literature.tex
 resolvers        modules  loaded: 'bib'
 (/Users/hans/context/tex/texmf-context/tex/context/base/m-obsolete.tex
 ! Undefined control sequence.

 Who can tell where this comes from and how it can be repaired?

Open m-obsolete.tex and comment out the only line it contains (the
only line that does something).

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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Why do \startlines and \crlf give different results in this example?

2011-03-12 Thread mathew
On Mar 12, 2011, at 02:15, Wolfgang Schuster wrote:
 \framed
  [width=fit,align=right,strut=no]
  {\startlines[before=,after=]
   One
   Two
   Three
   \stoplines}

Awesome, thanks. I added a note to the wiki page about \framed, and 
subsequently discovered the information was hidden on the page about verbatim 
linebreaks.


mathew
___
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] change interwordspace twice

2011-03-12 Thread Wolfgang Schuster

Am 12.03.2011 um 13:04 schrieb Andreas Harder:

 Am 12.03.2011 um 10:01 schrieb Steffen Wolfrum:
 
 Is there only one space or s is possible to set more fine-tuned values?
 
 You can define your own space.
 
 \definetolerancemethod
  [horizontal]
  [smallspace]
  {\spaceskip.2em plus.1em minus.05em\relax}

Yes this is a possibility but i would prefer something like this:

\definespace[smallspace][width=.2em,shrink=.05em,stretch=.1em]

\starttext
...
\setupspace[smallspace] % Better \enablespace[smallspace] or 
\setspace[smallspace]?
...
\stoptext

Wolfgang

___
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] \setuppublications problem

2011-03-12 Thread John Haltiwanger
On Sat, Mar 12, 2011 at 6:08 AM, Thomas Schmitz tschm...@uni-bonn.dewrote:

 Hi Florian,


 On Sat, 12 Mar 2011 11:45:16 +0100
  Florian Wobbe florian.wo...@awi.de wrote:

 Have you tried \placepublications[criterium=all] or
 \placepublications[criterium=text]?



 We should

 add criterium=cite and criterium=text to the Wiki (Bibliography MKIV page:
 http://wiki.contextgarden.net/Bibliography_mkiv).


 You are of course right, but I assume Hans is working on bibliographies
 right now (he promised to finish something which I need for a project in
 March, so that leaves him another two weeks ;-), so we should maybe wait a
 bit. criterium=cite should work as well, but doesn't right now.


This is exciting. I think it's very important that we throw out BibTeX
altogether in MkIV, and I hope that this work Hans is doing right now is
somehow related to it. If it were ever possible to implement bibliography
styles with something akin to string.format Lua calls, well, who wouldn't
love that kind of flexibility?
___
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] change interwordspace twice

2011-03-12 Thread Andreas Harder

Am 12.03.2011 um 17:00 schrieb Wolfgang Schuster:

 
 Am 12.03.2011 um 13:04 schrieb Andreas Harder:
 
 Am 12.03.2011 um 10:01 schrieb Steffen Wolfrum:
 
 Is there only one space or s is possible to set more fine-tuned values?
 
 You can define your own space.
 
 \definetolerancemethod
 [horizontal]
 [smallspace]
 {\spaceskip.2em plus.1em minus.05em\relax}
 
 Yes this is a possibility but i would prefer something like this:
 
 \definespace[smallspace][width=.2em,shrink=.05em,stretch=.1em]

Me too.

 \starttext
 ...
 \setupspace[smallspace] % Better \enablespace[smallspace] or 
 \setspace[smallspace]?
 ...
 \stoptext
 
 Wolfgang
 
 ___
 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  : http://foundry.supelec.fr/projects/contextrev/
 wiki : http://contextgarden.net
 ___

___
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Ideas for restructuring the ConTeXt garden?

2011-03-12 Thread Procházka Lukáš

Hello,

my personal opinion(s) (some of them very similar to Marco's ones):


1) why users are confused with mkiv/mkii?


(Cannot say; I started with MkIV so for me ConTeXt = MkIV.)


2) why they my be reluctant to install the minimals?


The word minimals is a bit confusing. It implies that there must be also Ctx standard 
or Ctx maximal.

Better to be just ConTeXt; and if one finds something missing (e.g. fonts? modules?), 
he may be directed towards some extras.


3) how to restructure the garden to make things clearer for newcomers?
4) how do users look for information and how to optimise the garden for search 
engine requests?


The problem is too-many-incomplete (or obsolete) information sources. Wiki 
contains many stubs; there are options for commands which are not explained at 
all, even not mentioned or demonstrated by an example.

Similar for contextref.pdf - there are many todo areas, but be it. But also 
many command options are not explained at all.

From the user's point, when one has a problem, this means 1) search the wiki (he may 
remember that lately he didn't find an answer, but he should try again, what about if the 
topic/stub was added/completed?), 2) search the manual (personally, my most favourite 
source) and 3) to post a question to the mailing list (fortunately, people here do answer 
swiftly and even very basic questions are answered patiently).

In my opinion, one information source would be good, a Ctx reference. It might 
be divided to several parts (e.g. Fonts, Tables, Document Structure Elements, 
Layers and Overlays, Colouring ConTeXt, ConTeXt and XML...).

It should be decided whether the primary source is to be the wiki or the Ctx 
manual (.pdf).


5) how to better promote context to new/latex users?


For LaTeX incomers: it would be good to provide a sample setup (module?) which 
would make Ctx generated .pdf looking very closely to that been generated by 
LaTeX.

Now, if you see a .pdf document and you are familiar with LaTeX, you recognize 
immediately whether or not it was generated by LaTeX (Word's signature is also 
unmatchable).

If you create a first document with ConTeXt (moreover when migrating from LaTeX), you 
probably won't be satisfied with the default look (letters too big, heads not bold, 
spacing before/after heads too different from LaTeX's; and the LaTeX default document 
looks very symphonic in my opinion) (but also I can imagine that many Ctx 
defaults cannot be changed due to backward compatibility reasons).

The perfect feature of ConTeXt is that all these features may be systematically 
altered (often [almost] impossible in LaTeX) but you must search enough and 
study (and maybe ask the forum) to get the result which would fulfil your 
aesthetic requirements.



Treat all above as a personal point of view.

I appreciate all work around Ctx and documenting it; and as an active 
programmer (including writing a user reference) I can imagine effort which must 
be make to improve a program, to test it and to keep the documentation 
up-to-date, including adding description of new features (and samples for them) 
and removing the deprecated ones.

Best regards,

Lukas


___
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] renderbuttons where?

2011-03-12 Thread Wolfgang Schuster

Am 12.03.2011 um 13:40 schrieb Hans van der Meer:

 
   \button{\symbol[StartRendering]} [StartRendering{#1}]\enspace
   \button{\symbol[StopRendering]}  [StopRendering{#1}]\enspace
   \button{\symbol[PauseRendering]} [PauseRendering{#1}]\enspace
   \button{\symbol[ResumeRendering]}[ResumeRendering{#1}]}}
 
 The above statements used to produce buttons for start/stop playing, etc. 
 Like:
 
 render.tiff
 
 Now I don't get them anymore. Has something changed here?
 
 not-render.tiff

Works here but provide a working example next time.

ConTeXt  ver: 2011.03.11 11:45 MKIV  fmt: 2011.3.12  int: english/english

Wolfgang

___
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Pagination problem with an intermezzo containing a footnote

2011-03-12 Thread Wolfgang Schuster

Am 11.03.2011 um 20:54 schrieb mathew:

 \starttext
 
 This is a sample document to demonstrate a possible bug. You will
 probably see a footnote below which appears before the page it's
 referenced from.
 
 \placeintermezzo[page][block:example]{Demonstrating a bug}
 \startframedtext[width=0.8\makeupwidth]
 This is a rather dull intermezzo.\footnote{But it does at least
 demonstrate a bug.}
 \stopframedtext
 
 \stoptext

This isn’t a bug. The problem with your footnote is that context
reads the note at page 1 where it saw the float and placed therefore
the note on page one but the float itself wasn’t placed because
context saved it and flushed it at the next page.

What you can do is to move the float first to a separate page
first and used a fixed float (force keyword) to immediately flush it. 

The saved method is to use local footnotes (you can find example
on the wiki) where the notes are placed below the float.

\starttext

This is a sample document to demonstrate a possible bug. You will
probably see a footnote below which appears before the page it's
referenced from.

\startpostponing
\placeintermezzo[force][block:example]
  {Demonstrating a bug}
  {\startframedtext[width=0.8\makeupwidth]
   This is a rather dull intermezzo.\footnote{But it does at least demonstrate 
a bug.}
   \stopframedtext}
\stoppostponing

\stoptext

Wolfgang

___
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] Minimals installation problem

2011-03-12 Thread Tom
After installing Minimals apparently successfully on a Windows Vista system,
I got the following messages when executing context hello:

MTXrun | forcing cache reload
MTXrun | resolvers: loading configuration file
'C:/Context/tex/texmf/web2c/texmfcnf.lua'
MTXrun | resolvers
MTXrun | resolvers
MTXrun | resolvers
MTXrun | the resolver databases are not present or outdated
MTXrun | resolvers: using suffix based filetype 'lua'
MTXrun | resolvers: using suffix based filetype 'lua'
MTXrun | resolvers: remembering file 'mtx-context.lua'
MTXrun | resolvers: using suffix based filetype 'lua'
MTXrun | unknown script 'context.lua' or 'mtx-context.lua'

The directory name, Context, is not longer than eight characters and has no
embedded spaces, so that should not be a problem. Executing texexec hello
works fine. However, I want to use MKIV not MKII. BTW, I chose the current
option to get a stable version.

What could be the problem? 

Tom Benjey
717-258-9733 voice
717-243-0074 fax
blog: www.TomBenjey.com





___
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] change interwordspace twice

2011-03-12 Thread Steffen Wolfrum

Am 12.03.2011 um 17:04 schrieb Andreas Harder:

 
 Am 12.03.2011 um 17:00 schrieb Wolfgang Schuster:
 
 
 Am 12.03.2011 um 13:04 schrieb Andreas Harder:
 
 Am 12.03.2011 um 10:01 schrieb Steffen Wolfrum:
 
 Is there only one space or s is possible to set more fine-tuned values?
 
 You can define your own space.
 
 \definetolerancemethod
 [horizontal]
 [smallspace]
 {\spaceskip.2em plus.1em minus.05em\relax}
 
 Yes this is a possibility but i would prefer something like this:
 
 \definespace[smallspace][width=.2em,shrink=.05em,stretch=.1em]
 
 Me too.

Yes. Looks even more contextish :o)

Steffen
___
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Verbatim text: intext colors (mkiv)

2011-03-12 Thread Wolfgang Schuster

Am 11.03.2011 um 20:46 schrieb Reviczky, Adam:

 Line numbers in the text as well as
 Works here with the last beta.
 I'm using the latest beta too. Attached is my PDF, do you get something 
 different?
 I want to have intext numbers (inside the frame), not outside. As I said, 
 works with mkii though.

I’m Sorry, I missed the intext part. For MkIV you need “location=text” to move 
the numbers in the text.

Wolfgang

___
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Verbatim text: intext colors (mkiv)

2011-03-12 Thread Reviczky, Adam
 I’m Sorry, I missed the intext part. For MkIV you need “location=text” to 
 move the numbers in the text.
Yeah, I just figured it out, though there's still a % todo: text in 
page-lin.mkiv, but it works.

 Wolfgang
Thanks again.

Adam
___
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Ideas for restructuring the ConTeXt garden?

2011-03-12 Thread Jaroslav Hajtmar

Hello ConTeXist.

I installed ConTeXt minimals until pretty late. Before, I used the 
context in the TeXLive. For a long time I really thought that Minimals 
are incomplete versions of minimal and that there was something more. 
I was very pleasantly surprised at how easily Minimals installed and is 
very good, it is easy to automatically update the version. MkII I 
completely stopped using to create new documents using the MkII and 
translate only the old stuff.
I know from experience that newcomers and MkII MKIV confusing and I have 
sometimes a problem with incompatibility, because I have long used the MkII.


Personally I would advocate a clear separation of the MkII and MKIV in 
the garden and change minimals name to the name that is so misleading 
- eg directly MarkTeX :-).


Greetings Jaroslav



Dne 12.3.2011 17:20, Procházka Lukáš napsal(a):

Hello,

my personal opinion(s) (some of them very similar to Marco's ones):


1) why users are confused with mkiv/mkii?


(Cannot say; I started with MkIV so for me ConTeXt = MkIV.)


2) why they my be reluctant to install the minimals?


The word minimals is a bit confusing. It implies that there must be 
also Ctx standard or Ctx maximal.


Better to be just ConTeXt; and if one finds something missing (e.g. 
fonts? modules?), he may be directed towards some extras.



3) how to restructure the garden to make things clearer for newcomers?
4) how do users look for information and how to optimise the garden 
for search engine requests?


The problem is too-many-incomplete (or obsolete) information sources. 
Wiki contains many stubs; there are options for commands which are not 
explained at all, even not mentioned or demonstrated by an example.


Similar for contextref.pdf - there are many todo areas, but be it. 
But also many command options are not explained at all.


From the user's point, when one has a problem, this means 1) search 
the wiki (he may remember that lately he didn't find an answer, but he 
should try again, what about if the topic/stub was added/completed?), 
2) search the manual (personally, my most favourite source) and 3) to 
post a question to the mailing list (fortunately, people here do 
answer swiftly and even very basic questions are answered patiently).


In my opinion, one information source would be good, a Ctx reference. 
It might be divided to several parts (e.g. Fonts, Tables, Document 
Structure Elements, Layers and Overlays, Colouring ConTeXt, ConTeXt 
and XML...).


It should be decided whether the primary source is to be the wiki or 
the Ctx manual (.pdf).



5) how to better promote context to new/latex users?


For LaTeX incomers: it would be good to provide a sample setup 
(module?) which would make Ctx generated .pdf looking very closely to 
that been generated by LaTeX.


Now, if you see a .pdf document and you are familiar with LaTeX, you 
recognize immediately whether or not it was generated by LaTeX (Word's 
signature is also unmatchable).


If you create a first document with ConTeXt (moreover when migrating 
from LaTeX), you probably won't be satisfied with the default look 
(letters too big, heads not bold, spacing before/after heads too 
different from LaTeX's; and the LaTeX default document looks very 
symphonic in my opinion) (but also I can imagine that many Ctx 
defaults cannot be changed due to backward compatibility reasons).


The perfect feature of ConTeXt is that all these features may be 
systematically altered (often [almost] impossible in LaTeX) but you 
must search enough and study (and maybe ask the forum) to get the 
result which would fulfil your aesthetic requirements.




Treat all above as a personal point of view.

I appreciate all work around Ctx and documenting it; and as an active 
programmer (including writing a user reference) I can imagine effort 
which must be make to improve a program, to test it and to keep the 
documentation up-to-date, including adding description of new features 
(and samples for them) and removing the deprecated ones.


Best regards,

Lukas


___ 

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 : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___ 





___
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net

Re: [NTG-context] Ideas for restructuring the ConTeXt garden?

2011-03-12 Thread C.
Hello,

I recently started using context. I migrated from latex to xelatex to
context. Mainly because of the better font support. I now value context also
for its superior abilities. I feel that I can do more stuff without the use
of \usepackage for this, \usepackage for that. When I read the
documentation, I get the feeling that a lot of thoughts went into the
options that are presented but it's still easy to customize (if you know how
to do it :D)
Here is my input to your questions.

1) why users are confused with mkiv/mkii?
The difference is not well explained. Also, mkii (which I don't use) sounds
like the old version. When I first read about context, it was like well,
we have this and that (mkii and mkiv) but it should say we have mkii,
[insert here: what can it do, for what users is it recommended, pros/cons]
and mkiv [insert info]. If you are not sure what to use, then you should use
mkiv, because that is the future. Or something like that.

2) why they my be reluctant to install the minimals?
Because they already have it in miktex, texlive. What they don't know is
that these versions are outdated and due to the heavy development pretty
far behind. Plus, it should say Context Standalone because that is what it
is.

3) how to restructure the garden to make things clearer for newcomers?
I for one would welcome to see more guides like the titles guide. Nicely
commented and explained code, result as picture. For better structure it
would be an option to use code blocks that can be hidden, with a small [+]
in front that you can click to see the code.

4) how do users look for information and how to optimise the garden for
search engine requests?
I read the manual section, if that does not answer it, I google what I
want context. Most of the time that takes me to the mail archive.

5) how to better promote context to new/latex users?
I don't know.

Maybe that helps.
Christian



 -Ursprüngliche Nachricht-
 Von: Florian Wobbe [mailto:florian.wo...@awi.de]
 Gesendet: Samstag, 12. März 2011 13:21
 An: mailing list for ConTeXt users
 Betreff: [NTG-context] Ideas for restructuring the ConTeXt garden?
 
 Maybe we should start a discussion in a new thread to find out:
 
 1) why users are confused with mkiv/mkii?
 2) why they my be reluctant to install the minimals?
 3) how to restructure the garden to make things clearer for newcomers?
 4) how do users look for information and how to optimise the garden for
 search engine requests?
 5) how to better promote context to new/latex users?
 
 Especially answers from new users to the first three points would be
helpful
 to answer the fifth point I guess.
 
  In general I find it difficult to differentiate between mkiv and mkii
related
 information in the wiki. How could we better structure the wiki to make it
 easier for the reader? Disambiguation pages, mkiv/mkii sections,
 independent pages with mkiv/mkii in headerline?
  Just my 2 cents on this: difficult, because you won't be able to make
 everybody happy. Every now and then, I see a new user on the list who asks
 about installing mkiv and doesn't realize that it is not really
something
 which you have to install additionally. We shouldn't scare those users
 because in so many cases, mkii and mkiv are exactly identical, so that
would
 be an arguments against a too stric separation.
 
 I understand the problem.
 
 Having said that, pages like Using Mark IV or Install Mark IV should
be
 renamed to installing/using context.
 
 Maybe it would help to include a little box important things to know on
the
 installation page and explain shortly that for historical reasons mkii and
mkiv
 are distributed together and that the former is regarded deprecated.
Maybe
 link to a new page: Differences between miiv/mkii and how both are invoked
 (context vs. texexec).
 
 Then I am aware of many people who are reluctant to install the minimals.
I
 now wonder why I (myself) was unwilling to install the minimals in the
first
 place, having TeXLive installed already. For one it was because of the
extra
 effort. But I recall it was also the name The ConTeXt MINIMAL
distribution
 that kept me. The name minimal somehow suggested something
 incomplete or minor to me. It took me a while to figure out that the
minimals
 is actually more than you get from TexLive. Therefore, I would suggest
 leaving out minimal and advertise the superior instead.
 
  But of course you're also right that it's frustrating for users if they
can't find
 relevant information for the areas where the two differ. As long as mkiv
 hasn't settled, this is not easy...
 
 In deed. I guess this has most relevance for people new to context,
 especially those who know latex already and are used to find help easily.
 
  We should add criterium=cite and criterium=text to the Wiki
(Bibliography
 MKIV page: http://wiki.contextgarden.net/Bibliography_mkiv).
 
  You are of course right, but I assume Hans is working on bibliographies
right
 now (he promised to finish 

Re: [NTG-context] Portable Context

2011-03-12 Thread Siep Kroonenberg
On Sat, Mar 12, 2011 at 03:03:34PM +0100, Mojca Miklavec wrote:
 On Sat, Mar 12, 2011 at 10:53, Siep Kroonenberg wrote:
 
   Is there any way to avoid hard-coded paths?
  Isn't minimals path-aware ?
  With setuptex I can put context wherever I want.
 
  This is in the context of TeX Live. But I'll have a look at how
  minimals does it.
 
 This has been changed after the version of ConTeXt for TeX Live has
 been frozen. So you would probably have to take a recent enough
 version of ConTeXt (most probably even the version on tlcontrib is too
 old, but at least it should not be too difficult to take the most
 recent version just for testing).
 
 You can have a look at
 http://minimals.contextgarden.net/current/misc/web2c/texmfcnf.lua, but
 you need a recent mtxrun for that.

Thanks for this information.

I installed instead the minimals, which do indeed avoid hard-coded
paths. I'll try to fix portability for Context in the next TeX Live
once this new version has become part of TeX Live.

-- 
Siep Kroonenberg
___
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Ideas for restructuring the ConTeXt garden?

2011-03-12 Thread Pontus Lurcock
On Sat 12 Mar 2011, C. wrote:

 2) why they my be reluctant to install the minimals?
 Because they already have it in miktex, texlive. What they don't know is
 that these versions are outdated and due to the heavy development pretty
 far behind. Plus, it should say Context Standalone because that is what it
 is.

I think Context Standalone would be a good name: as I understand it,
minimals refers to the fact that it doesn't include other TeX
formats and associated baggage; standalone conveys the same idea
with less ambiguity, and hints at the fact that it won't interfere
with your system's package manager.

 3) how to restructure the garden to make things clearer for newcomers?
 I for one would welcome to see more guides like the titles guide.

Agreed. I've been learning Python matplotlib at the same time as
ConTeXt, and find that the quickest way is to pick an example plot
from the (extensive) gallery that looks similar to what I want, then
progressively modify the source code into what I need. A similar
collection of common use-cases for ConTeXt would be great for
beginners, I think.

 5) how to better promote context to new/latex users?
 I don't know.

Someone above suggested packaging layouts to approximate the standard
LaTeX look, and I too think that this would help. Not that I find the
standard LaTeX look very pretty, but familiarity is a powerful
force...

Pont
___
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] why this error?

2011-03-12 Thread Pontus Lurcock
On Sat 12 Mar 2011, Hans van der Meer wrote:

 (.././literature.tex
 resolversmodules  loaded: 'bib'
 (/Users/hans/context/tex/texmf-context/tex/context/base/m-obsolete.tex
 ! Undefined control sequence.

I managed to fix this simply by removing the \usemodule[bib] from my
source file -- as if by magic, the bibliography kept working! I assume
this is a consequence of the ongoing MkIV bibliography rewrite.

Pont
___
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Ideas for restructuring the ConTeXt garden?

2011-03-12 Thread Henry House
Procházka Lukáš wrote:
[...]
  5) how to better promote context to new/latex users?
 
 For LaTeX incomers: it would be good to provide a sample setup (module?) 
 which would make Ctx generated .pdf looking very closely to that been 
 generated by LaTeX.
 
 Now, if you see a .pdf document and you are familiar with LaTeX, you 
 recognize immediately whether or not it was generated by LaTeX (Word's 
 signature is also unmatchable).
 
 If you create a first document with ConTeXt (moreover when migrating from 
 LaTeX), you probably won't be satisfied with the default look (letters too 
 big, heads not bold, spacing before/after heads too different from LaTeX's; 
 and the LaTeX default document looks very symphonic in my opinion) (but 
 also I can imagine that many Ctx defaults cannot be changed due to backward 
 compatibility reasons).
 
 The perfect feature of ConTeXt is that all these features may be 
 systematically altered (often [almost] impossible in LaTeX) but you must 
 search enough and study (and maybe ask the forum) to get the result which 
 would fulfil your aesthetic requirements.

I strongly agree that sample set-up code (ideally well-commented so that
it also serves as a tutorial of sorts) to reproduce the style of LaTeX
would be helpful. The appearance of LaTeX documents isn't perfect but it
produces reasonably high-quality results suitable for complex technical
documents right out of the box of the box without any tweaking, whereas
ConTeXt requires (at least it did for me) some trouble to set it up for
the first time. To some extent this is not because of the merit of the
LaTeX design itself but the fact that it is familiar and therefore
highly readable to someone used to reading it. It is also the point of
departure for a LaTeX user wanting to convert to using ConTeXt; hence, i
would imagine many such people would prefer to tweak a LaTeX-like
document appearance to better suit their needs rather than starting with
something quite different. Certainly, this was the case for me; being
basically satisfied with my LaTeX documents but wanting more control and
the option to use the advanced features of ConTeXt. Having sample set-up
code that emulated LaTeX would have eased the initial transition for me.
___
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Ideas for restructuring the ConTeXt garden?

2011-03-12 Thread mathew
On Sat, Mar 12, 2011 at 06:21, Florian Wobbe florian.wo...@awi.de wrote:

 Then I am aware of many people who are reluctant to install the
minimals. I now wonder why I (myself) was unwilling to install the
minimals in the first place, having TeXLive installed already. For one
it was because of the extra effort.

My experience on Ubuntu is that if you install the ConTeXt minimals in
your path, they break a bunch of stuff from TeXLive, such as pdfcrop.
I ended up writing my own pdfcrop because I couldn't work out how to
get the one from my distribution working at the same time as the
ConTeXt minimals.

I'd have gone back to my distro's copy of ConTeXt, if it wasn't for
the fact that it dates back to 2009 and I'd already hit a bug in it
that's fixed in the minimals.


mathew
-- 
URL:http://www.pobox.com/~meta/
___
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Ideas for restructuring the ConTeXt garden?

2011-03-12 Thread Pontus Lurcock
On Sat 12 Mar 2011, mathew wrote:

 My experience on Ubuntu is that if you install the ConTeXt minimals
 in your path, they break a bunch of stuff from TeXLive, such as
 pdfcrop.

I have the minimals installed but with no automatic setup in .bashrc
or similar. So when I need to run ConTeXt, I fire up a new terminal
and explicitly ‘source /path/to/minimals/context/tex/setuptex’ before
doing anything else. Anything I run in a different terminal just gets
the standard paths for the system's TeXLive installation.

Pont
___
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Ideas for restructuring the ConTeXt garden?

2011-03-12 Thread luigi scarso
On Sun, Mar 13, 2011 at 6:03 AM, Pontus Lurcock p...@talvi.net wrote:
 On Sat 12 Mar 2011, mathew wrote:

 My experience on Ubuntu is that if you install the ConTeXt minimals
 in your path, they break a bunch of stuff from TeXLive, such as
 pdfcrop.

 I have the minimals installed but with no automatic setup in .bashrc
 or similar. So when I need to run ConTeXt, I fire up a new terminal
 and explicitly ‘source /path/to/minimals/context/tex/setuptex’ before
 doing anything else. Anything I run in a different terminal just gets
 the standard paths for the system's TeXLive installation.
this is the right way to work with minimals (in linux is easy than windows).

-- 
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Ideas for restructuring the ConTeXt garden?

2011-03-12 Thread Vnpenguin
On Sat, Mar 12, 2011 at 21:08, C. meta...@gmx.de wrote:
 Hello,

 I recently started using context. I migrated from latex to xelatex to
 context. Mainly because of the better font support. I now value context also
 for its superior abilities. I feel that I can do more stuff without the use
 of \usepackage for this, \usepackage for that. When I read the
 documentation, I get the feeling that a lot of thoughts went into the
 options that are presented but it's still easy to customize (if you know how
 to do it :D)
 Here is my input to your questions.

 1) why users are confused with mkiv/mkii?
 The difference is not well explained. Also, mkii (which I don't use) sounds
 like the old version. When I first read about context, it was like well,
 we have this and that (mkii and mkiv) but it should say we have mkii,
 [insert here: what can it do, for what users is it recommended, pros/cons]
 and mkiv [insert info]. If you are not sure what to use, then you should use
 mkiv, because that is the future. Or something like that.

For me I don't care mkii. I use only mkiv. It's better to separate
completely mkii from mkiv distribution. Yes, I see, in this case there
is some work more for ConTeXt team.

 2) why they my be reluctant to install the minimals?
 Because they already have it in miktex, texlive. What they don't know is
 that these versions are outdated and due to the heavy development pretty
 far behind. Plus, it should say Context Standalone because that is what it
 is.

Yes, agreed !

mkii should be named ConTeXt Legacy ?
___
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Minimals (was: Ideas for restructuring the ConTeXt garden?)

2011-03-12 Thread Alan BRASLAU
On Sunday 13 March 2011 07:25:03 luigi scarso wrote:
 On Sun, Mar 13, 2011 at 6:03 AM, Pontus Lurcock p...@talvi.net wrote:
  On Sat 12 Mar 2011, mathew wrote:
  My experience on Ubuntu is that if you install the ConTeXt minimals
  in your path, they break a bunch of stuff from TeXLive, such as
  pdfcrop.
  
  I have the minimals installed but with no automatic setup in .bashrc
  or similar. So when I need to run ConTeXt, I fire up a new terminal
  and explicitly ‘source /path/to/minimals/context/tex/setuptex’ before
  doing anything else. Anything I run in a different terminal just gets
  the standard paths for the system's TeXLive installation.
 
 this is the right way to work with minimals (in linux is easy than
 windows).

Except if one works principly with ConTeXt, in which case it is much
nicer to have /path/to/minimials by default in PATH.

I do the opposite: if ever I need to use latex (lualatex!),
this works just fine, except for a few programs such as bibtex
for which I just define special aliases:
tbibtex - /usr/local/texlive/2010/bin/x86_64-linux/bibtex
etc.
I guess that `luatex' is a problem.

Maybe the minimals could evolve slightly so that there be *no*
name conflicts with texlive except for ConTeXt itself, of course?
(It appears that pdfcrop gets broken through a confusion over luatex,
perhaps other texlive programs as well.)

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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Ideas for restructuring the ConTeXt garden?

2011-03-12 Thread Taco Hoekwater

On 03/13/2011 12:35 AM, Henry House wrote:

Procházka Lukáš wrote:
[...]

5) how to better promote context to new/latex users?


For LaTeX incomers: it would be good to provide a sample setup (module?) which 
would make Ctx generated .pdf looking very closely to that been generated by 
LaTeX.

Now, if you see a .pdf document and you are familiar with LaTeX, you recognize 
immediately whether or not it was generated by LaTeX (Word's signature is also 
unmatchable).

If you create a first document with ConTeXt (moreover when migrating from LaTeX), you 
probably won't be satisfied with the default look (letters too big, heads not bold, 
spacing before/after heads too different from LaTeX's; and the LaTeX default document 
looks very symphonic in my opinion) (but also I can imagine that many Ctx 
defaults cannot be changed due to backward compatibility reasons).

The perfect feature of ConTeXt is that all these features may be systematically 
altered (often [almost] impossible in LaTeX) but you must search enough and 
study (and maybe ask the forum) to get the result which would fulfil your 
aesthetic requirements.


I strongly agree that sample set-up code (ideally well-commented so that
it also serves as a tutorial of sorts) to reproduce the style of LaTeX
would be helpful. The appearance of LaTeX documents isn't perfect but it
produces reasonably high-quality results suitable for complex technical
documents right out of the box of the box without any tweaking, whereas
ConTeXt requires (at least it did for me) some trouble to set it up for
the first time.


First, let me say that I don't agree that the default LaTeX appearance
is high-quality at all. To me, it looks like crap, and IIRC Lamport
actually designed it 'ugly' with to encourage people to create
something better looking themselves. Of course most people don't bother
(which is typical and he could have seen that coming) but still...

The same applies to the default context setup: it is also too ugly
to be used for real world documents, and nevertheless many people leave
it as is.

This means that (for both LaTeX and ConTeXt) the defaults cannot be
changed any more because of portability problems in existing documents.

But nothing is to stop anybody from creating a different class file
for LaTeX or a different module/environment for ConTeXt that produces
something 'better'.

So, if the intent is to lure people away from LaTeX, why not create
a set of environment files to mimic LaTeX's article/book/report
and upload them to the garden?

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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Minimals

2011-03-12 Thread Taco Hoekwater

On 03/13/2011 08:42 AM, Alan BRASLAU wrote:

On Sunday 13 March 2011 07:25:03 luigi scarso wrote:

On Sun, Mar 13, 2011 at 6:03 AM, Pontus Lurcockp...@talvi.net  wrote:

On Sat 12 Mar 2011, mathew wrote:

My experience on Ubuntu is that if you install the ConTeXt minimals
in your path, they break a bunch of stuff from TeXLive, such as
pdfcrop.


I have the minimals installed but with no automatic setup in .bashrc
or similar. So when I need to run ConTeXt, I fire up a new terminal
and explicitly ‘source /path/to/minimals/context/tex/setuptex’ before
doing anything else. Anything I run in a different terminal just gets
the standard paths for the system's TeXLive installation.


this is the right way to work with minimals (in linux is easy than
windows).


Except if one works principly with ConTeXt, in which case it is much
nicer to have /path/to/minimials by default in PATH.

I do the opposite: if ever I need to use latex (lualatex!),


If I need lualatex, I just push the TeXLive bin directory to the front
of my path. (exact opposite of Pontus' approach).

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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___