[NTG-context] teTeX binary package

2006-06-20 Thread Peter Münster
There is now a teTeX binary package available on
http://pmrb.free.fr/work/OS/ConTeXt/tetex/

Features:
* support for easy ConTeXt update (command updateConTeXt.sh)
* support for URW Garamond
* support for Adobe eurofont
* support for ruby versions of ConTeXt scripts
* latest pdfTeX
* latest MetaPost
* latest Latin Modern

The binary package has been built on SUSE-Linux-10.1.

Comments are welcome!

Cheers, Peter

-- 
http://pmrb.free.fr/contact/
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] feature request: texexec with exit code 0

2006-06-20 Thread Peter Münster
Hello,

could texexec --nonstopmode file please exit with exit code  0, if there
is an error (such as undefined control sequence)?

Cheers, Peter

-- 
http://pmrb.free.fr/contact/
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] teTeX binary package

2006-06-20 Thread VnPenguin
On 6/20/06, Peter Münster [EMAIL PROTECTED] wrote:
 There is now a teTeX binary package available on
 http://pmrb.free.fr/work/OS/ConTeXt/tetex/

 Features:
 * support for easy ConTeXt update (command updateConTeXt.sh)
 * support for URW Garamond
 * support for Adobe eurofont
 * support for ruby versions of ConTeXt scripts
 * latest pdfTeX
 * latest MetaPost
 * latest Latin Modern

 The binary package has been built on SUSE-Linux-10.1.

Is there .src.rpm package somewhere ?

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


Re: [NTG-context] showelements in x-contml documentatation

2006-06-20 Thread Hans Hagen
Aditya Mahajan wrote:
 When I try to process contml module's documentation, the system seems 
 to go in an infinite loop. No error is produced, but the process takes 
 100% memory and does not produce anything for a loong time.

 If I comment all the strings containing \showelements and 
 \showXDScomponent, documentation is produced.

 I do not know why this happens.
   
probably some wrong global replace bug, in xtag-run.tex there should be:

\gdef\showXMLign[#1]%
  {\setXMLshow\defineXMLignore \relax\relax[#1]%
   \setXMLshow\defineXMLsingular   \relax\relax[#1]}

(since this one is not found, we get a loop where this delayed definition tries 
to load itself over and over again, not being defined) 


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

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


Re: [NTG-context] feature request: texexec with exit code 0

2006-06-20 Thread Hans Hagen
� wrote:
 Hello,

 could texexec --nonstopmode file please exit with exit code  0, if there
 is an error (such as undefined control sequence)?

   
well, if you figure out the codes -) 

i always have problems with finding the right exit codes (not that consistent 
between script languages and os's) 

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

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


Re: [NTG-context] Page breaking problem

2006-06-20 Thread Hans Hagen
nico wrote:
 On Mon, 19 Jun 2006 12:20:05 +0200, Hans Hagen [EMAIL PROTECTED] wrote:

   
 Helin Gai wrote:
 
 Hi, I'm new to ConTeXt and I'm preparing a document for my own
 reference. The source code is below. I came across a few weird
 issues: 1) I don't quite understand why the page break occurs on
   
 because of \startbackground, best use textbackgrounds
 

 Hi Hans, since textbackground seems now the default background feature to  
 use, do you plan to fix the textbackground overlapping trouble i submitted  
 some time ago?
   
remind me what it was ... 

Hans 

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

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


Re: [NTG-context] feature request: texexec with exit code 0

2006-06-20 Thread Tobias Burnus
Hello,

Peter Münster schrieb:
 could texexec --nonstopmode file please exit with exit code  0, if there
 is an error (such as undefined control sequence)?
   
In similar vain: Could texexec stop after a non-successful TeX run?
Currently, there are several runs even if the first run was not successful.

Tobias

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


Re: [NTG-context] feature request: texexec with exit code 0

2006-06-20 Thread Tobias Burnus
Hello,

Hans Hagen wrote:
 � wrote:
   
 Hello,

 could texexec --nonstopmode file please exit with exit code  0, if there
 is an error (such as undefined control sequence)?
 
 well, if you figure out the codes -)
 i always have problems with finding the right exit codes (not that consistent 
 between script languages and os's) 
   
Under Unix it is classically zero == no error, not zero == error. Which
non-zero number is returned is application dependent.

The POSIX standard 2001 (Single Unix Standard v3; (c) Open Group) writes
in its Shell  Utilities section:

The EXIT STATUS section describes the values the utility shall return
to the calling program, or shell, and the conditions that cause these
values to be returned. Usually, utilities return zero for successful
completion and values greater than zero for various error conditions. If
specific numeric values are listed in this section, the system shall use
those values for the errors described. In some cases, status values are
listed more loosely, such as 0. A strictly conforming application shall
not rely on any specific value in the range shown and shall be prepared
to receive any value in the range.


According to the ISO C99  standard, the default exit code is also 0:

If the return type of the main function is a type compatible with int,
a return from the
initial call to the main function is equivalent to calling the exit
function with the value
returned by the main function as its argument;[...] reaching the } that
terminates the
main function returns a value of 0.

I do not know what DOS programs are doing, though.

Tobias

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


[NTG-context] tug 2006

2006-06-20 Thread Hans Hagen
Hi,

for those going to tug 2006 ... there are still slots open in the program

Hans

-- 

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

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


Re: [NTG-context] feature request: texexec with exit code 0

2006-06-20 Thread Hans Hagen
Tobias Burnus wrote:
 Hello,

 Hans Hagen wrote:
   
 � wrote:
   
 
 Hello,

 could texexec --nonstopmode file please exit with exit code  0, if there
 is an error (such as undefined control sequence)?
 
   
 well, if you figure out the codes -)
 i always have problems with finding the right exit codes (not that 
 consistent between script languages and os's) 
   
 
 Under Unix it is classically zero == no error, not zero == error. Which
 non-zero number is returned is application dependent.
   
you can test the uploaded beta 

Hans 

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

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


Re: [NTG-context] Optional Arguments for cite

2006-06-20 Thread John R. Culleton
On Monday 08 May 2006 02:57, Thomas A. Schmitz wrote:
 I'm not Taco...

 buy have a look at section 3.2 of the bibtex manual:

 \cite[extras={page~4}][key]

 HTH

 Thomas

Whazzup? My bibtex manual is from Boris Patashnik and has no
Section 3.2. Where is the URL for the newer manual?

(Awaking from a long slumber)
-- 
John Culleton


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


Re: [NTG-context] Optional Arguments for cite

2006-06-20 Thread Steve Peter

On Jun 20, 2006, at 8:46 AM, John R. Culleton wrote:

 My bibtex manual is from Boris Patashnik

Boris? I wonder if he is related to Oren.
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Optional Arguments for cite

2006-06-20 Thread Hans Hagen
Steve Peter wrote:
 On Jun 20, 2006, at 8:46 AM, John R. Culleton wrote:

   
 My bibtex manual is from Boris Patashnik
 

 Boris? I wonder if he is related to Oren.
   
as a multi-linguist you should be able to know a way to go from Oren to 
Boris -)

Hans

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

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


Re: [NTG-context] Optional Arguments for cite

2006-06-20 Thread Taco Hoekwater


John R. Culleton wrote:
 On Monday 08 May 2006 02:57, Thomas A. Schmitz wrote:
 
I'm not Taco...

buy have a look at section 3.2 of the bibtex manual:

\cite[extras={page~4}][key]

HTH

Thomas
 
 Whazzup? My bibtex manual is from Boris Patashnik and has no
 Section 3.2. Where is the URL for the newer manual?

Thomas meant to say bib module manual, and that is at

http://modules.contextgarden.net/bib

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


[NTG-context] bib amd mods

2006-06-20 Thread Hans Hagen
Hi,

I wonder, is there any interest in the following:

- support for http://www.loc.gov/standards/mods/ as basic bibl format
- provide converters from marcs and bibtex to mods
- layer the bib module on top of that

If so, who'd like to join/volunteer for subtasks

Hans


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

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


Re: [NTG-context] bib amd mods

2006-06-20 Thread Ulf Martin
Hi!

Hans Hagen schrieb:
 - support for http://www.loc.gov/standards/mods/ as basic bibl format
 - provide converters from marcs and bibtex to mods
 - layer the bib module on top of that

There was a (short) discussion on about this under the thread croffref 
in bibtex 2006-03-23 seq, see esp. Bruce d'Arcus' contribution
http://www.ntg.nl/pipermail/ntg-context/2006/017019.html

Pro
+ having a standard bib format for ConTeXt
+ MODS is a standard format for bibliographers
+ it is XML-based
+ BibTeX conversion already exists (at least on Unix) via
   bibutils:
   http://www.scripps.edu/~cdputnam/software/bibutils/bibutils2.html

Con
- it seems the MODS is quite complex (= a lot of work)

See also Bruce's comment.

IMHO Bruce's own RDF-based approach looks rather promising, too, see
http://xbiblio.sourceforge.net/csl/
Perhaps one should contact him to check the projects progess

My thoughts.
Cheers
Ulf


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


[NTG-context] cropmarks

2006-06-20 Thread wwl
Hallo!

The following:
---
\definepapersize[RM][width=170mm,height=240mm]
\setuppapersize [RM][A4]
\setuplayout[marking=on, location=middle]
\starttext
Bla
\stoptext
---
results in 163mm width and 230mm height.
What is wrong here?


A second observation: file 'rm.tex' with

\startenvironment rm
...
\stopenvironment

is not found
in 'test.tex' with

\environment rm
...

renaming to 'whatever' helps

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


Re: [NTG-context] cropmarks

2006-06-20 Thread Taco Hoekwater


[EMAIL PROTECTED] wrote:
 Hallo!
 
 The following:
 ---
 \definepapersize  [RM][width=170mm,height=240mm]
 \setuppapersize   [RM][A4]
 \setuplayout  [marking=on, location=middle]
 \starttext
 Bla
 \stoptext
 ---
 results in 163mm width and 230mm height.
 What is wrong here?

before or after printing?
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] bib amd mods

2006-06-20 Thread Bruce D'Arcus
Hi Hans,

Hans Hagen pragma at wxs.nl writes:

 I wonder, is there any interest in the following:
 
 - support for http://www.loc.gov/standards/mods/ as basic bibl format

I think Ulf's conclusions are right. MODS is expressive, which is why I was
originally attracted to it, but it's also more complex than it needs to be for
this sort of use case.

The big question becomes, if not MODS, then what? As Ulf pointed out, my
solution -- and the one I will be advocating for OpenDoucment (I am on the TC)
-- is to use a particular RDF serialization. Indeed, I have a draft RELAX NG
schema for it, and my formatting system (citeproc) now works with it quite well.

Microsoft, incidentally, is implementing pretty good bib support (that looks
suspiciously like what I've been advocating for OpenOffice!), which I've blogged
about extensively. Their XML format is not bad, though it is totally flat, which
means it won't be as flexible as MODS or RDF. More here:

http://netapps.muohio.edu/blogs/darcusb/darcusb/archives/2006/06/16/flat-vs-relational

 - provide converters from marcs and bibtex to mods
 - layer the bib module on top of that

Curious question: would you be writing it in Lua (closer to the pdftex level),
or go more high-level (as now)?

 If so, who'd like to join/volunteer for subtasks

I can certainly help with advice and design, particularly if you want to use CSL
to configure the output. I've made some changes to it (again) recently, but
think I'm zeroing in on freezing it. The more feedback I get, the easier it'll
be to do that.

Incidentally, I'm considering the possibility of submitting CSL to OASIS for
standardization, though only if I can get some industry players involved.

Bruce

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


Re: [NTG-context] bib amd mods

2006-06-20 Thread Hans Hagen
Bruce D'Arcus wrote:
 I think Ulf's conclusions are right. MODS is expressive, which is why I was
 originally attracted to it, but it's also more complex than it needs to be for
 this sort of use case.
   
since we're talking databases here, i think the focus should be on what 
kind of (intermediate) format suits typesetting best (could be different 
from the databse structure)
 The big question becomes, if not MODS, then what? As Ulf pointed out, my
 solution -- and the one I will be advocating for OpenDoucment (I am on the TC)
 -- is to use a particular RDF serialization. Indeed, I have a draft RELAX NG
 schema for it, and my formatting system (citeproc) now works with it quite 
 well.
   
but that's still the database part of it, isn't it ( i never really used 
rdf - only looked at it)
 Microsoft, incidentally, is implementing pretty good bib support (that looks
 suspiciously like what I've been advocating for OpenOffice!), which I've 
 blogged
 about extensively. Their XML format is not bad, though it is totally flat, 
 which
 means it won't be as flexible as MODS or RDF. More here:

 http://netapps.muohio.edu/blogs/darcusb/darcusb/archives/2006/06/16/flat-vs-relational

   
 - provide converters from marcs and bibtex to mods
 - layer the bib module on top of that
 

 Curious question: would you be writing it in Lua (closer to the pdftex level),
 or go more high-level (as now)?
   
i dunno, some manipulations now done in tex can better be done in lua, 
so i can imagine something

- interpret xml (tex)
- manipulate data (lua and tex)
- typeset results (tex)

a practical approach would be to start with a copy of m-bib (maybe a pet 
project of taco and me) and see where we end up
   
 If so, who'd like to join/volunteer for subtasks
 

 I can certainly help with advice and design, particularly if you want to use 
 CSL
 to configure the output. I've made some changes to it (again) recently, but
 think I'm zeroing in on freezing it. The more feedback I get, the easier it'll
 be to do that.
   
so csl is the formatting spec thing (the oo site is not that 
informative; i always like to *see* code -)

Hans


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

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


Re: [NTG-context] feature request: texexec with exit code 0

2006-06-20 Thread Peter Münster
On Tue, 20 Jun 2006, Hans Hagen wrote:

 ? wrote:
  Hello,
 
  could texexec --nonstopmode file please exit with exit code  0, if there
  is an error (such as undefined control sequence)?
 

 well, if you figure out the codes -) 

Hello Hans,
you could just take the exit code of pdftex itself.
Cheers, Peter

-- 
http://pmrb.free.fr/contact/
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] feature request: texexec with exit code 0

2006-06-20 Thread Hans Hagen
� wrote:
 On Tue, 20 Jun 2006, Hans Hagen wrote:

   
 ? wrote:
 
 Hello,

 could texexec --nonstopmode file please exit with exit code  0, if there
 is an error (such as undefined control sequence)?

   
   
 well, if you figure out the codes -) 
 

 Hello Hans,
 you could just take the exit code of pdftex itself.
   
i now just give back 1 

Hans 

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

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


Re: [NTG-context] bib amd mods

2006-06-20 Thread Ulf Martin
Hi again folks,

IMHO a good, flexible bibliographic format that plays well with the 
other strength of ConTeXt (e.g. XML support) could be sort a killer 
feature...

Bruce D'Arcus schrieb:
 The big question becomes, if not MODS, then what? As Ulf pointed out, my
 solution -- and the one I will be advocating for OpenDoucment (I am on the TC)
 -- is to use a particular RDF serialization. Indeed, I have a draft RELAX NG
 schema for it, and my formatting system (citeproc) now works with it quite 
 well.
...
 I can certainly help with advice and design, particularly if you want to use 
 CSL
 to configure the output. I've made some changes to it (again) recently, but
 think I'm zeroing in on freezing it. The more feedback I get, the easier it'll
 be to do that.

I think the crucial point for any TeX community is the ability to use 
the rather huge amount of BibTeX legacy DBs.

How about the state of CSL (or RDF) to BibTeX converters?

bibutils uses MODS as its native intermediate format and converts from 
and to BibTeX (not always 100% correct, though).


Summary
---

So, at present we already have:

(1)  MODS -(bibutils)- BibTeX -(bibmod)- ConTeXt

For an XML-based format in a ConTeXt context we would like to have:

(2)  BibTeX -(a)- XML -(b)- ConTeXt

using the rather nice XML processing capabilities of ConTeXt for
step (b).

Now, there is an XML markup for BibTeX: BibTeXML
http://bibtexml.sourceforge.net/
This isn't too bad, in my experience (it is, at least, lossless, 
contrary to bibutils). Thus

(3)  BibTeX -(bibtexml)- BibTeXML -(b')- ConTeXt

would be an instance of (2).

CSL could use XSL transformer:

(4)  BibTeXML -(XSLT)- CSL -(b)- ConTeXt


Bye
Ulf


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


Re: [NTG-context] bib amd mods

2006-06-20 Thread Bruce D\'Arcus
Hans Hagen pragma at wxs.nl writes:
  
 since we're talking databases here, i think the focus should be on what 
 kind of (intermediate) format suits typesetting best (could be different 
 from the databse structure)

There may be trade-offs, but if you get too typesetting-oriented, 
you cause other problems.

[...]

 but that's still the database part of it, isn't it ( i never really used 
 rdf - only looked at it)

An example description:
   
   Paper rdf:about=http://ex.net/1;
  titlePaper/title
  author
 Person
givenNameJohn/givenName
familyNameSmith/familyName
 /Person
  /author
  presentedAt
 Conference
titleABC Conference/title
endDate2004-03-12/endDate
startDate2004-03-15/startDate
 /Conference
  /presentedAt
   /Paper

This is indeed more database-oriented, complete with the capability 
to normalize all of that by breaking out persons and such into separate
descriptions and linking them. But it's not hard to process for 
formatting either (easier than MODS I think).
   
 so csl is the formatting spec thing (the oo site is not that 
 informative; i always like to *see* code -)

Correct. Subversion repo for the entire project (including schema 
for CSL, and the start of a Ruby port of citeproc) is here:

http://sourceforge.net/svn/?group_id=117435

Bruce

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


Re: [NTG-context] teTeX binary package

2006-06-20 Thread Peter Münster
On Tue, 20 Jun 2006, VnPenguin wrote:

 Is there .src.rpm package somewhere ?

I've put a .src.rpm package at the same place.
The src and i586 packages are in fact only there for your convenience, you
should be able to build them from the nosrc-package.
Cheers, Peter

-- 
http://pmrb.free.fr/contact/
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] t-bib and hyperlinkded references?

2006-06-20 Thread Johannes Graumann
Taco Hoekwater wrote:

 I've just uploaded a new beta to the modules section at contextgarden.
 
 It took me much longer than I had anticipated, mainly because there
 was a massive bug in the per-chapter bibliography code: it generated
 duplicate named references for all but the simplest of documents.
 
 I hope to have the bug fixed now, and interaction working as it should.
 
 There is only one limitation, and that will stay: you cannot have
 hyperlinks while \setupcite[compress=yes] is in effect.

Thanks Taco!

I run across three problems:
1) with my setup (XML mapped into ConTeXt convolution) the links from
citations exists, but don't point to the right pages in the chapter
specific bibliographies - at least after a single texexec run. Another run
is necessary and everything seems all right.
2) While the linking works for the 'authoryears' citation style, I don't get
any hyperlinks from plain 'authoryear' formated references as well as for
the custom-defined 'authoryearx' ones that go as follows:
\setupcite
[authoryearx]
[\c!andtext={ and },
 \c!otherstext={ et al.},
 \c!pubsep={; },
 \c!lastpubsep={; and },
 \c!compress=\v!no,
 \c!inbetween={~},
 \c!left={},
 \c!right={}]
3) The structure of my document looks as follows
Acknowledgments
Abstract
TOC
LOF
LOT
Introduction (chapter with chapter-specific bibliography) ...
I cited some references in the Abstract, which my proofreader wanted to have
listed in the chapter-specific bibliography of the introduction chapter,
which I accomplished by re-citing the stuff in the respective chapter
using 'nocite'. Naturally, links in the 'Abstract' don't have anywhere to
point to and the citations appear empty. Do you have any idea how to
overcome that? I'd be already happy if I could override the linking
behavior for the handfull of references in the abstract - meaning: have
hyperlinked references everywhere in the document BUT the abstract.

Joh


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


Re: [NTG-context] cropmarks

2006-06-20 Thread wwl
  The following:
  ---
  \definepapersize[RM][width=170mm,height=240mm]
  \setuppapersize [RM][A4]
  \setuplayout[marking=on, location=middle]
  \starttext
  Bla
  \stoptext
  ---
  results in 163mm width and 230mm height.
  What is wrong here?
 
 before or after printing?

after printing. How could I measure this before printing?

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


Re: [NTG-context] t-bib and hyperlinkded references?

2006-06-20 Thread Johannes Graumann
Sorry ... missing some info here ...

Johannes Graumann wrote:

 Taco Hoekwater wrote:
 
 I've just uploaded a new beta to the modules section at contextgarden.
 
 It took me much longer than I had anticipated, mainly because there
 was a massive bug in the per-chapter bibliography code: it generated
 duplicate named references for all but the simplest of documents.
 
 I hope to have the bug fixed now, and interaction working as it should.
 
 There is only one limitation, and that will stay: you cannot have
 hyperlinks while \setupcite[compress=yes] is in effect.
 
 Thanks Taco!
 
 I run across three problems:
 1) with my setup (XML mapped into ConTeXt convolution) the links from
 citations exists, but don't point to the right pages in the chapter
 specific bibliographies - at least after a single texexec run. Another run
 is necessary and everything seems all right.
 2) While the linking works for the 'authoryears' citation style, I don't
 get any hyperlinks from plain 'authoryear' formated references as well as
 for the custom-defined 'authoryearx' ones that go as follows:
% Enable 'authoryearx' citation call (see below) - Thanks to Taco Hoekwater!
  \def\bibauthoryearxref[#1]%
  {\ixbibauthoryear{#1}%
{{\currentbibauthor}\bibalternative\c!inbetween
  \bibalternative\v!left{\currentbibyear}\bibalternative\v!right}
{\bibalternative\c!pubsep{\currentbibauthor}\bibalternative\c!inbetween
  \bibalternative\v!left  {\currentbibyear}\bibalternative\v!right}
 
{\bibalternative\c!lastpubsep{\currentbibauthor}\bibalternative\c!inbetween
  \bibalternative\v!left  {\currentbibyear}\bibalternative\v!right}
  }
 \setupcite 
 [authoryearx]
 [\c!andtext={ and },
  \c!otherstext={ et al.},
  \c!pubsep={; },
  \c!lastpubsep={; and },
  \c!compress=\v!no,
  \c!inbetween={~},
  \c!left={},
  \c!right={}]
 3) The structure of my document looks as follows
 Acknowledgments
 Abstract
 TOC
 LOF
 LOT
 Introduction (chapter with chapter-specific bibliography) ...
 I cited some references in the Abstract, which my proofreader wanted to
 have listed in the chapter-specific bibliography of the introduction
 chapter, which I accomplished by re-citing the stuff in the respective
 chapter using 'nocite'. Naturally, links in the 'Abstract' don't have
 anywhere to point to and the citations appear empty. Do you have any idea
 how to overcome that? I'd be already happy if I could override the linking
 behavior for the handfull of references in the abstract - meaning: have
 hyperlinked references everywhere in the document BUT the abstract.
 
 Joh


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


Re: [NTG-context] teTeX binary package

2006-06-20 Thread VnPenguin
On 6/20/06, Peter Münster [EMAIL PROTECTED] wrote:
 On Tue, 20 Jun 2006, VnPenguin wrote:

  Is there .src.rpm package somewhere ?

 I've put a .src.rpm package at the same place.
 The src and i586 packages are in fact only there for your convenience, you
 should be able to build them from the nosrc-package.
 Cheers, Peter

Thank you,

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


Re: [NTG-context] Page breaking problem

2006-06-20 Thread nico
On Tue, 20 Jun 2006 10:55:43 +0200, Hans Hagen [EMAIL PROTECTED] wrote:

 nico wrote:

 Hi Hans, since textbackground seems now the default background feature  
 to
 use, do you plan to fix the textbackground overlapping trouble i  
 submitted
 some time ago?

 remind me what it was ...

In the case of mail [1] textbackground overlapped bottom footnote texts or  
top floats if the backgrounded stuff covered two pages.

You suggested to use \chardef\kindofpagetextareas\plusone to prevent from  
this behaviour. Using this setting fixed it, but introduced some kind of  
vertical stretchiness failure so that page text can overlap a bottom  
footnote text as shown in the case of mail [2].

So, both textbackground/page modes have their limitation that makes  
textbackground use not satisfying. So, it would be great if it could be  
fixed.

I haven't installed the latest context release yet, but there's the same  
behaviour with context live.

Thanks,
BG

[1]:  
http://archive.contextgarden.net/message/20060523.101005.80b07059.en.html

The test case:

\definecolor[ScreenGray][s=.95]
\definetextbackground[grayback]
  [background=color,
   backgroundcolor=ScreenGray,
   frame=on,
   strut=yes,
   width=broad,
   location=paragraph,
   framecolor=ScreenGray,
   leftoffset=\topskipgap,
   before=\blank,
   after=\blank,
   align=right]

\starttext

A footnote\footnote{Covered by the background, right?}.
\input tufte
\input tufte
\input tufte
\input tufte

\starttextbackground[grayback]
\input tufte
\stoptextbackground

\stoptext

[2]:  
http://archive.contextgarden.net/message/20060524.162941.8a054666.en.html

The test case:

\chardef\kindofpagetextareas\plusone
\setupcolors[state=start]
\setupwhitespace[medium]

% needed to activate the buggy stuff...
\definetextbackground[listing][background=color]

\starttext

\input tufte\footnote{A footnote}

blah

blah

blah

blah

blah

\section{Section}
\input tufte

blah

blah

\startitemize
\item a
\item a
\item a
\item a
\item a
\item a
\stopitemize

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


Re: [NTG-context] cropmarks

2006-06-20 Thread Willi Egger
Hi Wolfgang

Compiling with:

ConTeXt  ver: 2006.06.09 13:05  fmt: 2006.6.15  int: english  mes: english

I get the correct output on a HPlaserjet2100. The only option chosen is 
auto-center and autorotate.

Make sure, that your printer does not perform any scaling.

Willi

[EMAIL PROTECTED] wrote:
 The following:
 ---
 \definepapersize[RM][width=170mm,height=240mm]
 \setuppapersize [RM][A4]
 \setuplayout[marking=on, location=middle]
 \starttext
 Bla
 \stoptext
 ---
 results in 163mm width and 230mm height.
 What is wrong here?
   
 before or after printing?
 

 after printing. How could I measure this before printing?

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


Re: [NTG-context] t-bib and hyperlinkded references?

2006-06-20 Thread Taco Hoekwater
Johannes Graumann wrote:
 Taco Hoekwater wrote:
 
 
I've just uploaded a new beta to the modules section at contextgarden.

It took me much longer than I had anticipated, mainly because there
was a massive bug in the per-chapter bibliography code: it generated
duplicate named references for all but the simplest of documents.

I hope to have the bug fixed now, and interaction working as it should.

There is only one limitation, and that will stay: you cannot have
hyperlinks while \setupcite[compress=yes] is in effect.
 
 
 Thanks Taco!
 
 I run across three problems:
 1) with my setup (XML mapped into ConTeXt convolution) the links from
 citations exists, but don't point to the right pages in the chapter
 specific bibliographies - at least after a single texexec run. Another run
 is necessary and everything seems all right.

I expected that. I'm not sure how to explain to texexec that the
module needs another TeX run to resolved the secondary references.
Will talk to Hans about that.

 2) While the linking works for the 'authoryears' citation style, I don't get
 any hyperlinks from plain 'authoryear' formated references as well as for

For authoryear, you need a separate \setupcite[authoryear][compress=no]
because the single-argument \setupcite only works for the default type.
Is that the problem (it works for me)?

 the custom-defined 'authoryearx' ones that go as follows:
 \setupcite
 [authoryearx]

This new defn should do it (untested):

   % Enable 'authoryearx' citation
   \def\bibauthoryearxref[#1]%
 {\ixbibauthoryear{#1}%
   {\bibmaybeinteractive{#1}{{\currentbibauthor}%
\bibalternative\c!inbetween
\bibalternative\v!left
{\currentbibyear}%
\bibalternative\v!right}}
   {\bibalternative\c!pubsep
\bibmaybeinteractive{#1}{{\currentbibauthor}%
\bibalternative\c!inbetween
\bibalternative\v!left
{\currentbibyear}%
\bibalternative\v!right}}
   {\bibalternative\c!lastpubsep
\bibmaybeinteractive{#1}{{\currentbibauthor}%
\bibalternative\c!inbetween
\bibalternative\v!left
{\currentbibyear}%
\bibalternative\v!right}}}

 3) The structure of my document looks as follows

 I cited some references in the Abstract, which my proofreader wanted to have
 listed in the chapter-specific bibliography of the introduction chapter,
 which I accomplished by re-citing the stuff in the respective chapter
 using 'nocite'. Naturally, links in the 'Abstract' don't have anywhere to
 point to and the citations appear empty. Do you have any idea how to
 overcome that? I'd be already happy if I could override the linking
 behavior for the handfull of references in the abstract - meaning: have
 hyperlinked references everywhere in the document BUT the abstract.

I'll implement some interaction controls for \cite/\setupcite tomorrow,
since that is the easiest way out. So: new version tomorrow.

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


Re: [NTG-context] t-bib and hyperlinkded references?

2006-06-20 Thread Johannes Graumann
Taco Hoekwater wrote:

 Johannes Graumann wrote:
 I run across three problems:
 1) with my setup (XML mapped into ConTeXt convolution) the links from
 citations exists, but don't point to the right pages in the chapter
 specific bibliographies - at least after a single texexec run. Another
 run is necessary and everything seems all right.
 
 I expected that. I'm not sure how to explain to texexec that the
 module needs another TeX run to resolved the secondary references.
 Will talk to Hans about that.
Not a biggie ... I can deal for now.

 2) While the linking works for the 'authoryears' citation style, I don't
 get any hyperlinks from plain 'authoryear' formated references as well as
 for
 
 For authoryear, you need a separate \setupcite[authoryear][compress=no]
 because the single-argument \setupcite only works for the default type.
 Is that the problem (it works for me)?
Thanks!


 the custom-defined 'authoryearx' ones that go as follows:
 \setupcite
 [authoryearx]
 
 This new defn should do it (untested):
 
% Enable 'authoryearx' citation
\def\bibauthoryearxref[#1]%
  {\ixbibauthoryear{#1}%
{\bibmaybeinteractive{#1}{{\currentbibauthor}%
 \bibalternative\c!inbetween
 \bibalternative\v!left
 {\currentbibyear}%
 \bibalternative\v!right}}
{\bibalternative\c!pubsep
 \bibmaybeinteractive{#1}{{\currentbibauthor}%
 \bibalternative\c!inbetween
 \bibalternative\v!left
 {\currentbibyear}%
 \bibalternative\v!right}}
{\bibalternative\c!lastpubsep
 \bibmaybeinteractive{#1}{{\currentbibauthor}%
 \bibalternative\c!inbetween
 \bibalternative\v!left
 {\currentbibyear}%
 \bibalternative\v!right}}}
This produces the following error:
Runaway argument?
klose:75,ofarrell:75]\else \processcommalist [authoryearx]\docitation \ETC.
! File ended while scanning use of \bibauthoryearxref.
inserted text
\par
to be read again
   \relax
\dodoreadfile ...\preprocesssuffix \or \fi \relax
  \the \everyafterreadfile
\processXMLfilegrouped ...bleXML \processfile {#1}
  \relax \ifmmode \else
\par...
l.65 include file=../XML/intro.xml/

?
I've been unable to pin down where there might be a missing brace ...

 I'll implement some interaction controls for \cite/\setupcite tomorrow,
 since that is the easiest way out. So: new version tomorrow.

Thanks, Taco!

Joh

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


[NTG-context] sectionnumber conversion

2006-06-20 Thread Idris Samawi Hamid
Dear fellow gangsters,

Consider the following test file; partnumber=on. I would like partnumber  
to be converted to capital roman numerals while the page numeral remains  
as an Arabic numeral. Viz., instead of

1--1, 1--2 etc.

in the TOC and pagenumbers I would like

I--1, I--2 etc.

in the TOC and pagenumbers. Is there a command like

\setupsectionnumbering[conversion=Romannumerals]? Then I would say,

\setuppartnumbering[conversion=Romannumerals]

The test file is below.

Best
Idris

===part-test.tex==
% output=pdf interface=en

\def\PartTitle#1{\noheaderandfooterlines
  \vbox{\blank[force,7\bodyfontsize]
  \switchtobodyfont[14.4pt]
  \midaligned{\cgd #1}
  }}

\setuphead[part][number=no,
  ownnumber=yes,
  style=\itd,
  textcommand=\PartTitle,
  placehead=yes]

\setupsection [section2]
[appendixconversion=Character, % Watch the capital
previousnumber=no]

%\setuppagenumbering[way=bytext,partnumber=no]
%\setupcombinedlist[content][partnumber=no]

\starttext

\startbodymatter

\placecontent

\part{I}{Body}

\chapter{The Body Stuff}

\stopbodymatter

\startappendices

\setupheadnumber[part][+]

\part{II}{Appendices}

\chapter{Appendix}

\stopappendices

\stoptext

==

-- 
Professor Idris Samawi Hamid
Department of Philosophy
Colorado State University
Fort Collins, CO 80523

--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context