[NTG-context] two more bugs in latest

2012-07-10 Thread Thomas A. Schmitz

Hi all,

sorry for bringing the bad news all the time... There are two more bugs 
in the latest beta which I just stumbled upon: userpage=bysection does 
not work, pdf bookmarks are not produced. Example:


\setupuserpagenumber [state=start,way=bysection]

\setupfootertexts [{\getmarking[sectionnumber]} -- \userpagenumber]

\setuphead [section] [page=yes]

\setupinteraction [state=start]

\placebookmarks [section] [all]

\starttext

\startsection [title=First Section]

\dorecurse{10}{\input knuth \par}

\stopsection

\startsection [title=Second Section]

\dorecurse{10}{\input knuth \par}

\stopsection

\stoptext

Gives expected results with 2012.06.30 12:32, but not with 2012.07.10 00:56.

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
___


[NTG-context] Table of Contents Section Numbering

2012-07-10 Thread Malte Harder

Dear all,

I'm quite new to ConTeXt and I'm just trying to set up a template for my 
first project. I'm using MkIV and the ConTeXt Standalone nightlies. I've 
encountered the problem that I was not able to create a table of 
contents (neither \placelist,\placecontents, with setuplist or without 
worked). I do not get any error, but there is also no list generated. I 
think, I tried every hint I found on this list.


At that point I thought it might be a problem with the version I'm using 
and upgraded to the latest beta. However the problem remains. I'm using 
the project features, frontmater/backmatter and custom headers, but also 
with everything turned off the placelist does not work? Does anybody 
know what the problem could be?


Another problem, which occured only with the latest nightlies, is that 
Chapters, Sections and Subsesctions all apparently share the same 
counter and simply count up from 1, so the first section has number 2 
instead of 1.1 and so on. Is this a temporary bug or did something 
change that needs specific setup?


Thanks in advance!
Malte
___
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] Tagged PDF

2012-07-10 Thread Wray, Paul
Hello all

First of all I must say that I am a complete newbie to the TeX world. 

I am evaluating Context for generation of PDFs for educational use. We
aim to produce PDFs that are accessible to screen reader users and for
that reason we would like to create tagged PDFs. My initial experiments
with tagged PDF have so far been unsuccessful. 

I am using ConTeXT standalone,  (ConTeXT ver: 2012.07.07 MKIV
fmt:2012.7.8 int: english/english ).

 

I am using this tex file as a test input (have left in line breaks in
case that is significant):

 

\setupstructure[state=start]

 

\starttext

\startbodymatter

 

\startchapter[title=Chapter 1]

The quick brown fox jumped over the lazy dog.

\stopchapter

 

\startchapter[title=Chapter 2]

Now is the time for all good people to come to the aid of the party.

\stopchapter

 

\stopbodymatter

\stoptext

 

When I open the resulting PDF in Adobe Acrobat 10.0.3 and show the tags
navigation pane, it says No tags available. Can anyone suggest what I
am doing wrong? 

 

Paul Wray

 


**
This message is intended for the addressee named and may contain
privileged information or confidential information or both. If you
are not the intended recipient please delete it and notify the sender.
**
___
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] Tagged PDF

2012-07-10 Thread Shriramana Sharma
On Tue, Jul 10, 2012 at 7:56 AM, Wray, Paul paul.w...@det.nsw.edu.au wrote:
 We aim to produce PDFs that are accessible to screen reader users and for
 that reason we would like to create tagged PDFs.

I would also like to see tagged PDFs because I use Indic scripts which
have a non-linear character-glyph correspondence, so without tags PDF
content is not copy-pastable to other applications. I would also like
to be able to enable tagged PDF production where the underlying
character sequences is embedded in the PDF. I understand this will
increase the PDF size and it is not an issue for me, but being able to
copy-paste is.

Thanks!

-- 
Shriramana Sharma
___
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] Table of Contents Section Numbering

2012-07-10 Thread Henning Hraban Ramm
2012/7/10 Malte Harder m...@malteharder.de:
 Dear all,

 I'm quite new to ConTeXt and I'm just trying to set up a template for my
 first project. I'm using MkIV and the ConTeXt Standalone nightlies. I've
 encountered the problem that I was not able to create a table of contents
 (neither \placelist,\placecontents, with setuplist or without worked). I do
 not get any error, but there is also no list generated. I think, I tried
 every hint I found on this list.

It’s a bug in the current beta (or the syntax changed, I don’t think so...)
Wait for the next one.

Greetlings, Hraban
___
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] two more bugs in latest

2012-07-10 Thread Hans Hagen

On 10-7-2012 08:27, Thomas A. Schmitz wrote:


sorry for bringing the bad news all the time... There are two more bugs
in the latest beta which I just stumbled upon: userpage=bysection does
not work, pdf bookmarks are not produced. Example:


in the process of cleaning up section code i forgot to pass some info 
around so effectively we had no structure (and that it turn influences 
all those mechanisms)


concerning 'bad news' ... it doesn't surprise me too much as much code 
is touched ... the good news is that only a few modules are left (some 
cleanup is needed in notes and the multi column mechanisms have to be done)


Hans

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-


___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Tagged PDF

2012-07-10 Thread Hans Hagen

On 10-7-2012 04:26, Wray, Paul wrote:


\setupstructure[state=start]


it's

\setuptagging[state=start]


-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-


___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] two more bugs in latest

2012-07-10 Thread Marcin Borkowski
Dnia 2012-07-10, o godz. 09:57:08
Hans Hagen pra...@wxs.nl napisał(a):

 On 10-7-2012 08:27, Thomas A. Schmitz wrote:
 
  sorry for bringing the bad news all the time... There are two more
  bugs in the latest beta which I just stumbled upon:
  userpage=bysection does not work, pdf bookmarks are not produced.
  Example:
 
 in the process of cleaning up section code i forgot to pass some info 
 around so effectively we had no structure (and that it turn
 influences all those mechanisms)
 
 concerning 'bad news' ... it doesn't surprise me too much as much
 code is touched ... the good news is that only a few modules are left
 (some cleanup is needed in notes and the multi column mechanisms have
 to be done)

Wow, does it mean that \startitemize[columns] ... \stopitemize will
also be redone?  That would be fantastic, it's a feature I love but
can't get it to work (as I've written recently)!

 Hans

Best,

-- 
Marcin Borkowski
http://mbork.pl
___
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] two more bugs in latest

2012-07-10 Thread Thomas A. Schmitz

On 7/10/12 9:57 AM, Hans Hagen wrote:

in the process of cleaning up section code i forgot to pass some info
around so effectively we had no structure (and that it turn influences
all those mechanisms)

concerning 'bad news' ... it doesn't surprise me too much as much code
is touched ... the good news is that only a few modules are left (some
cleanup is needed in notes and the multi column mechanisms have to be done)


Great - looking forward to new adventures in ConTeXt land...

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] setupbars

2012-07-10 Thread Procházka Lukáš Ing . - Pontex s . r . o .

... OK -

On Tue, 10 Jul 2012 00:16:08 +0200, Hans Hagen pra...@wxs.nl wrote:


actually it does accept more units but they were pretty small (needed an
1/u)

anyhow, in the next beta we can do

\starttext

 \setupbars[unit=mm,rulethickness=1] bar\startbar[underbar]foo\stopbar 
bar\blank
 \setupbars[unit=ex,rulethickness=1] bar\startbar[underbar]foo\stopbar 
bar\blank
 \setupbars[unit=pt,rulethickness=1] bar\startbar[underbar]foo\stopbar 
bar\blank
 \setupbars[unit=pt,rulethickness=10pt] bar\startbar[underbar]foo\stopbar 
bar\blank

\stoptext


Although it's meaningless, what would

\setupbars[unit=mm,rulethickness=10pt] bar\startbar[underbar]foo\stopbar 
bar\blank
^^ ^^

produce?

Will the following setups be valid in the next beta?

\setupbars[rulethickness=1mm]
\setupbars[rulethickness=1cm]
\setupbars[rulethickness=1in]
\setupbars[rulethickness=1ex]
\setupbars[rulethickness=1pt]
\setupbars[rulethickness=1bp]

Best regards,

Lukas


--
Ing. Lukáš Procházka [mailto:l...@pontex.cz]
Pontex s. r. o.  [mailto:pon...@pontex.cz] [http://www.pontex.cz]
Bezová 1658
147 14 Praha 4

Tel: +420 244 062 238
Fax: +420 244 461 038

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

2012-07-10 Thread Hans Hagen

On 10-7-2012 15:25, Procházka Lukáš Ing. - Pontex s. r. o. wrote:

... OK -

On Tue, 10 Jul 2012 00:16:08 +0200, Hans Hagen pra...@wxs.nl wrote:


actually it does accept more units but they were pretty small (needed an
1/u)

anyhow, in the next beta we can do

\starttext

 \setupbars[unit=mm,rulethickness=1]
bar\startbar[underbar]foo\stopbar bar\blank
 \setupbars[unit=ex,rulethickness=1]
bar\startbar[underbar]foo\stopbar bar\blank
 \setupbars[unit=pt,rulethickness=1]
bar\startbar[underbar]foo\stopbar bar\blank
 \setupbars[unit=pt,rulethickness=10pt]
bar\startbar[underbar]foo\stopbar bar\blank

\stoptext


Although it's meaningless, what would

\setupbars[unit=mm,rulethickness=10pt] bar\startbar[underbar]foo\stopbar
bar\blank
 ^^ ^^

produce?

Will the following setups be valid in the next beta?

\setupbars[rulethickness=1mm]
\setupbars[rulethickness=1cm]
\setupbars[rulethickness=1in]
\setupbars[rulethickness=1ex]
\setupbars[rulethickness=1pt]
\setupbars[rulethickness=1bp]


the unit is uses for consistent stacking of nested bars; in the case of 
a unit with rulethickness that one is used for the rules, otherwise the 
general unit is applied to the rulethickness


Hans

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-


___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

[NTG-context] unknown library lmodern

2012-07-10 Thread Meer, H. van der
I spot in the log the following message:

fontstypescripts  unknown: library 'lmodern'

Does this point to a problem? 

In good faith I believe I have a fairly standard installation. And in 
/usr/local/texlive/2012 the TeXlive distribution.
Neither adding \setupbodyfont[modern,14pt] nor omitting all \setupbodyfont's 
changes this.

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] Tagged PDF

2012-07-10 Thread Wray, Paul
Thanks, that works now. 
I will also need to emit accessible alternate text for images, but this
is not a tag in its own right, it appears to be an attribute of the
figure tag. Is this possible?


Paul



-Original Message-
From: Hans Hagen [mailto:pra...@wxs.nl] 
Sent: Tuesday, 10 July 2012 6:04 PM
To: mailing list for ConTeXt users
Cc: Wray, Paul
Subject: Re: [NTG-context] Tagged PDF

On 10-7-2012 04:26, Wray, Paul wrote:

 \setupstructure[state=start]

it's

\setuptagging[state=start]


-
   Hans Hagen | PRAGMA ADE
   Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
  | www.pragma-pod.nl
-


**
This message is intended for the addressee named and may contain
privileged information or confidential information or both. If you
are not the intended recipient please delete it and notify the sender.
**
___
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
___