Re: [NTG-context] Is Minimals ready for non-developers to use? (Tom)

2011-03-14 Thread Mojca Miklavec
On Mon, Mar 14, 2011 at 20:43, Tom wrote:
> Thank you for explaining this, Mojca. Knowing that it will be fixed sometime 
> before September gives me hope. In the meantime, I think I have a workaround 
> that, although awkward, will create a correct PDF.

If you really want to get the current version working, you can try to
fetch texmfcnf.lua from
http://svn.contextgarden.net/minimals/texmf/web2c

> svn log texmfcnf.lua

r948 | mojca | 2011-02-10 13:33:03 +0100 (čet, 10 feb 2011) | 1 line

new version of texmfcnf.lua

r846 | mojca | 2010-08-17 17:22:33 +0200 (tor, 17 avg 2010) | 1 line

Hans' additions

r789 | mojca | 2010-06-15 16:16:19 +0200 (tor, 15 jun 2010) | 1 line

update cnf file

Most probably the version r846 will do; if not then r789. Fetch the
--context=current and replace your texmfcnf.lua (in tex/texmf/web2c)
with this one. Maybe you will need an older version of luatex (but I
doubt it; I should check the dates though). LuaTeX is available under
http://svn.contextgarden.net/minimals/bin/tex

> Is there a list of known bugs somewhere?

Known bugs in ConTeXt on in ConTeXt distribution?

The general recipe for ConTeXt bugs is: if it is present in the latest
version and it has not been mentioned on the mailing list for the last
two days, you should not bother searching in the bug database, just
report it.

Tracker for ConTeXt is here: http://tracker.luatex.org/

Tracker for ConTeXt distribution is on launchpad, but it doesn't list
everything that I want to fix.

> Is it possible for one to create a new font style? For example, if I have a 
> need for two different sanserif fonts (Iwona and Helvetica for the sake of 
> argument) to be used sporadically throughout a document. It would be nice to 
> be able to do something like \ss1 to select the first one and \ss2 to select 
> the second one. \ss to select the first one and \aa (or two other letters) to 
> select the other.

It is. You could use the same switch as \hw or \cg (handwriting,
calligraphy) but you could define a new "style" (your own keyword). I
don't know the syntax by heart though, so I let the others help you (I
should be in doing-something-else-than-reading-emails mode until
Friday at least).

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] Is Minimals ready for non-developers to use? (Tom)

2011-03-14 Thread Tom
Thank you for explaining this, Mojca. Knowing that it will be fixed sometime 
before September gives me hope. In the meantime, I think I have a workaround 
that, although awkward, will create a correct PDF. What I will do is create a 
PDF that is correct except for the TOC that Context generates, create a correct 
TOC PDF with another tool, then create a new PDF with the good pages from the 
original PDF and the bad TOC replaced by the good one.

Is there a list of known bugs somewhere? That would eliminate a lot of 
frustration and your having to deal with problems that are already being 
handled.

Is it possible for one to create a new font style? For example, if I have a 
need for two different sanserif fonts (Iwona and Helvetica for the sake of 
argument) to be used sporadically throughout a document. It would be nice to be 
able to do something like \ss1 to select the first one and \ss2 to select the 
second one. \ss to select the first one and \aa (or two other letters) to 
select the other.

Thanks,

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




-Original Message-
From: Mojca Miklavec [mailto:mojca.miklavec.li...@gmail.com] 
Sent: Monday, March 14, 2011 2:56 PM
To: mailing list for ConTeXt users
Cc: Tom
Subject: Re: [NTG-context] Is Minimals ready for non-developers to use? (Tom)

On Mon, Mar 14, 2011 at 14:22, Tom wrote:
> Dalyoung,
>
> To the contrary, You have been most helpful. Installing the latest version
> of Minimals worked fine but I wonder why they even advertise that there is a
> stable version to be downloaded.

When minimals were created, a new "stable" version was released
approximately once a week. It used to be a problem to get the beta
version working since beta often depended on a new version of luatex
(which was also released every two/three weeks, but often not
synchronized with ConTeXt releases).

Now Hans only releases a stable version twice a year or so. The
problem is that minimals have not been designed with that in mind and
there is only a single version of texmfcnf.lua and only a single
version of luatex binary. Consequently minimals can only work either
with beta or with current when the two versions diverge, but not with
both and beta has priority.

I need to change the way the distribution works entirely, from the
grounds up (I have many parts ready, but not ready to publish yet).

An easy solution would be to create another mirror and only provide a
working current version there.

> I guess they mean a stable version of MKII.
> I had the same experience that you had with the Introduction not showing up
> in the TOC. Do you know how to report a bug?

You don't need to report it. I'm aware of that flaw. I could do a
temporary fix, but I would prefer to fix it properly. I'm sorry that
it alredy took me several years to address those issues, but I promise
to fix it before the conference. Properly.

You also need to keep in mind that even though it is advertized as
stable, bugs won't be fixed (many project often have at least two
branches of development - one for fixing the released version and one
for real development; the released version should get bugfixes, but in
context development that doesn't and won't happen unless some
volunteer starts carefully checking the new code and only applies
bugfixes to the stable version).

So most people that use ConTeXt actively need bugfixes very often and
the only way to get the bugs fixed is to use the latest version. Well,
latest version comes with its own bugs, but at least you have a chance
to get them fixed quickly.

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] Is Minimals ready for non-developers to use? (Tom)

2011-03-14 Thread Mojca Miklavec
On Mon, Mar 14, 2011 at 14:22, Tom wrote:
> Dalyoung,
>
> To the contrary, You have been most helpful. Installing the latest version
> of Minimals worked fine but I wonder why they even advertise that there is a
> stable version to be downloaded.

When minimals were created, a new "stable" version was released
approximately once a week. It used to be a problem to get the beta
version working since beta often depended on a new version of luatex
(which was also released every two/three weeks, but often not
synchronized with ConTeXt releases).

Now Hans only releases a stable version twice a year or so. The
problem is that minimals have not been designed with that in mind and
there is only a single version of texmfcnf.lua and only a single
version of luatex binary. Consequently minimals can only work either
with beta or with current when the two versions diverge, but not with
both and beta has priority.

I need to change the way the distribution works entirely, from the
grounds up (I have many parts ready, but not ready to publish yet).

An easy solution would be to create another mirror and only provide a
working current version there.

> I guess they mean a stable version of MKII.
> I had the same experience that you had with the Introduction not showing up
> in the TOC. Do you know how to report a bug?

You don't need to report it. I'm aware of that flaw. I could do a
temporary fix, but I would prefer to fix it properly. I'm sorry that
it alredy took me several years to address those issues, but I promise
to fix it before the conference. Properly.

You also need to keep in mind that even though it is advertized as
stable, bugs won't be fixed (many project often have at least two
branches of development - one for fixing the released version and one
for real development; the released version should get bugfixes, but in
context development that doesn't and won't happen unless some
volunteer starts carefully checking the new code and only applies
bugfixes to the stable version).

So most people that use ConTeXt actively need bugfixes very often and
the only way to get the bugs fixed is to use the latest version. Well,
latest version comes with its own bugs, but at least you have a chance
to get them fixed quickly.

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] Is Minimals ready for non-developers to use?

2011-03-14 Thread Jeong Dalyoung
Dear Tom,

good to hear that minimal is working fine.

> I had the same experience that you had with the Introduction not showing up
> in the TOC. Do you know how to report a bug?



I think that completecontent doesn't recognize the user defined "intro". It is 
all what I can tell you.
If you have no special reason to define \intro, you may use \chapter to make it 
appear in TOC.

This mailing list is a place to report a bug. 
If it is a real bug, then Hans will correct it, otherwise many experts who are 
watching mails suggest you a good solution.

Thanks,

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] Is Minimals ready for non-developers to use? (Tom)

2011-03-14 Thread Tom
Dalyoung,

To the contrary, You have been most helpful. Installing the latest version
of Minimals worked fine but I wonder why they even advertise that there is a
stable version to be downloaded. I guess they mean a stable version of MKII.
I had the same experience that you had with the Introduction not showing up
in the TOC. Do you know how to report a bug?

Thank you for your assistance and moral support. For awhile I thought I was
going nuts.

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: Monday, March 14, 2011 5:16 AM
To: ntg-context@ntg.nl
Subject: Re: [NTG-context] Is Minimals ready for non-developers to use?
(Tom)


Dear Tom,

I am sorry that my experience is not help for you.
I am usning Mac OS X.
I just downloaded first-setup.sh and run it. Then it installs minimal and
makes formats well.

Minimal's current version: 2011.02.25 22:03
This is LuaTeX, Version beta-0.65.0-2010121316

However, I believe that Mojca's suggestion will relieve you from the install
problem.

Hope you succeed to install stable ConTeXt.

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
___


Re: [NTG-context] Is Minimals ready for non-developers to use? (Tom)

2011-03-14 Thread Jeong Dalyoung

Dear Tom,

I am sorry that my experience is not help for you.
I am usning Mac OS X.
I just downloaded first-setup.sh and run it. Then it installs minimal and makes 
formats well.

Minimal's current version: 2011.02.25 22:03
This is LuaTeX, Version beta-0.65.0-2010121316

However, I believe that Mojca's suggestion will relieve you from the install 
problem.

Hope you succeed to install stable ConTeXt.

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] Is Minimals ready for non-developers to use?

2011-03-13 Thread Mojca Miklavec
On Sun, Mar 13, 2011 at 17:16, Tom wrote:
> Dalyoung,
>
> I attempted to install Minimals on my Windows system--twice--to no avail. I
> selected the current option because I don't want to be constantly updating
> the software when I am not using anything that remotely resembles cutting
> edge features.

There is one thing that is not completely bullet proof. It may happen
that "current" stops working when luatex is updated. I will fix this
one day (but not right now). It is a bit unfortunate.

Can you please try to fetch the beta version instead of current and
possibly send the complete from "context --make" and other functions?

All you should need is:
- fetching & extracting the zip
- running first-setup.bat
- set path (using C:/ctm/context/tex/setuptex or explicitely)
- should not be necessary, but try
mtxrun --generate
context --make
context your-document

That should suffice, at least in theory.

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] Is Minimals ready for non-developers to use?

2011-03-13 Thread Tom
Dalyoung,

I attempted to install Minimals on my Windows system--twice--to no avail. I
selected the current option because I don't want to be constantly updating
the software when I am not using anything that remotely resembles cutting
edge features. I am using a short, lower-case directory name as suggested.
MKII appears to work fine but I get the following messages when I try to
compile Hello.tex:

MTXrun | forcing cache reload
MTXrun | resolvers: loading configuration file
'C:/ctm/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'

I also get similar errors when attempting to run the following:

mtxrun --selfupdate
mtxrun --generate
luatools --generate
context --make

>From the message archives I see that others have had similar problems but I
don't understand what the suggested fixes were. One massage stated that the
instructions on ConTeXtGarden were deprecated, but I don't know if the
instructions have been changed since that time.

Do you have any idea what the problem might be?  

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



From: ntg-context-boun...@ntg.nl [mailto:ntg-context-boun...@ntg.nl] On
Behalf Of Jeong Dalyoung
Sent: Sunday, March 13, 2011 8:49 AM
To: ntg-context@ntg.nl
Subject: Re: [NTG-context] Am not getting Roman numeral page numbers in MKIV

Dear Tom,



What version are you using? 

I am using minimal not TeXlive2010. Of course, there are some bugs in beta.
But it would be fixed soon.
Moreover, you can have more than one Minimal folder. So it is easy to use
stable version if the beta has bugs.



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

There was a thread whose title is "Roman Page numbers".
And among the mails on 2009. 2. 4, there was a sample written by Wolfgang .

\definestructureconversionset[frontpart:pagenumber][][romannumerals]
\definestructureconversionset[bodypart:pagenumber] [][numbers]

\setuplist[chapter][pageconversionset=pagenumber]

\startstructureblockenvironment[frontpart]

\setupuserpagenumber[numberconversion=romannumerals]
\setuppagenumber[number=1]

\stopstructureblockenvironment

\startstructureblockenvironment[bodypart]

\setuppagenumber[number=1]

\stopstructureblockenvironment

\starttext

\startfrontmatter

\completecontent[criterium=all]

\chapter{Intro}

\input tufte

\stopfrontmatter

\startbodymatter

\chapter{knuth}

\input knuth

\stopbodymatter

\stoptext

Mailing list is a good place for me to learn ConTeXt. There are so many
things which are not described in the manual.
I cannot give you a solution. But many experts who are reading this list
will give you a solution.

Cheers,

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
___