Re: [NTG-context] Discussion: correspondence with ConTeXt

2008-04-18 Thread Wolfgang Schuster
On Thu, Apr 17, 2008 at 5:34 PM, Henning Hraban Ramm [EMAIL PROTECTED] wrote:
 Am 2008-04-17 um 17:08 schrieb Wolfgang Schuster:
  You need a closing (Sincerely,) and signature, and don't forget
  enough
  topspace to accommodate a company logo/letterhead :-)
 
  You set closing and signature also with the optional argument for
  \startletter
 
  \startletter
[opening=Dear Idris\textcomma,
 closing=Sincerely\textcomma,
 signature=Wolfgang Schuster]

 Would you support an externalfigure for the signature?

 e.g.

 Yours,
 [my fancy signature graphics]
 Henning Hraban Ramm

You could write

\setupletter
  [data]
  [signature={\externalfigure[my_fancy_signature][height=2\lineheight]}]

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


Re: [NTG-context] Discussion: correspondence with ConTeXt

2008-04-18 Thread Peter Münster
On Fri, Apr 18 2008, Wolfgang Schuster wrote:

  Then, for some reason that I forgot, I switched to scrlttr2.cls. And I
  patched it to get the same minimum-50%-feature. Unfortunately, this patch is
  no more working with recent versions of scrlttr2...
  (- http://pmrb.free.fr/work/OS/LaTeX/lettre.lco )
 
  I would welcome such a feature in your module!
 
 I dont't have such a feature in the module I find it interesting.
 
 Page breaks before the signature can still happen at the moment
 because I hadn't done anything against this problem but it is on
 my Todo list.

I don't know, if lettre.lco is readable for you, so here the idea in
clear-text:
- some vertical spaces (for example around the opening, between paragraphs,
  around the subject line, etc) can be decreased or increased by a global
  stretch-value (called tension in my file)
- at the first texexec run, this value has to be reset to 0
- if the last page gets filled to 50%, then trigger a next texexec-run,
  with a decremented stretch-value for a filling 25% and an incremented
  value for a filling 25%, until the last page is filled to 50%.

I think, there is already a command like \savetwopassdata or similar, so it
should be easy with ConTeXt. If you want, I can try to integrate this
feature after your public release.

Cheers, Peter

-- 
http://pmrb.free.fr/contact/

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

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


Re: [NTG-context] Discussion: correspondence with ConTeXt

2008-04-18 Thread Wolfgang Schuster
On Fri, Apr 18, 2008 at 8:51 AM, Peter Münster [EMAIL PROTECTED] wrote:
 On Fri, Apr 18 2008, Wolfgang Schuster wrote:

   Then, for some reason that I forgot, I switched to scrlttr2.cls. And I
   patched it to get the same minimum-50%-feature. Unfortunately, this patch 
   is
   no more working with recent versions of scrlttr2...
   (- http://pmrb.free.fr/work/OS/LaTeX/lettre.lco )
  
   I would welcome such a feature in your module!
 
  I dont't have such a feature in the module I find it interesting.
 
  Page breaks before the signature can still happen at the moment
  because I hadn't done anything against this problem but it is on
  my Todo list.

 I don't know, if lettre.lco is readable for you, so here the idea in
 clear-text:

I will try it later today on my system, can you send me a example letter
before I had to take a look into scrguide.pdf.

 - some vertical spaces (for example around the opening, between paragraphs,
  around the subject line, etc) can be decreased or increased by a global
  stretch-value (called tension in my file)
 - at the first texexec run, this value has to be reset to 0
 - if the last page gets filled to 50%, then trigger a next texexec-run,
  with a decremented stretch-value for a filling 25% and an incremented
  value for a filling 25%, until the last page is filled to 50%.

Sounds interesting.

 I think, there is already a command like \savetwopassdata or similar, so it
 should be easy with ConTeXt. If you want, I can try to integrate this
 feature after your public release.

Hans posted at the end of 2007 (or begin 2008) a example to optimize the
output and will try to integrate it.

The feature can be enable with \setupletterstyle[optimize=yes] or a similar
key name.

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


[NTG-context] ConTeXt Manual Source

2008-04-18 Thread Browder, Tom
Are the sources for the ConTeXt manuals publicly available?

If not, are you willing to show how the beautiful contents and section
headings are defined for ConTeXt: the manual?

Thanks.

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

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


Re: [NTG-context] Discussion: correspondence with ConTeXt

2008-04-18 Thread Wolfgang Schuster
On Thu, Apr 17, 2008 at 5:32 PM, Henning Hraban Ramm [EMAIL PROTECTED] wrote:
 Am 2008-04-17 um 16:32 schrieb Wolfgang Schuster:
  I normally use InDesign for my business letters and invoices.
  Dou you use a template for your letters.

 Not an InDesign template file (.idt), but a single document (with
 master pages) for every purpose (German/Swiss/English, letter/
 invoice, private/business) that I overwrite every time. (I save a
 copy if the matter is important.)

  LaTeX has two packages to create invoices and we could also
  have one for ConTeXt but it makes only sense to use it with LuaTeX,
  TeX's arithmetic to limited for longer calculations.

 For other purposes I simply write my TeX code with a script, mostly
 only one file that contains the dynamical data and gets included.

 E.g.
 - cover for backup CD/DVDs (that script even has a GUI - it reads a
 disk; shows the directory tree, so you can select which parts you'd
 like to be visible; writes a TeX file; calls ConTeXt and opens the PDF)

 - my address book (pulls and formats data from a MySQL database)

 - business cards for one big company (I receive an Excel file with
 personnel data, save it as CSV and convert that to ConTeXt, PDF
 with one page per person gets imposed and printed on cardboard with
 pre-printed logo)

  Another problem were different letter heads for first, odd and even
  pages.
 
  Different header for the first and another one for the following
  headers
  is simple and possible with my module. The option to change the layout
  for odd and even pages is currently not supported but should be
  possible but it has to be integrated in the normal interface.

 My sheets have a pre-printed logo, I use the same for all pages of a
 letter.

 On the first page I need address and bank data.

Easy to do with layers,option state=start.

 On even pages (back side) there's no logo, so I don't need the big
 top border.

Harder to implement because I hide the layers from the user and
I don't know hoe I could support the doublesided option but it is
possible to one special layers (lefthead/righthead) for just this feature.

 Normally I leave out the first even page, e.g. my job application
 starts with an one-side letter, the following data (CV, references
 etc.) uses front and back page.

Different layouts for left and right pages are not supported because
letters are normally printed singlesided or the header has only on
the first page a different layout but this could be related to the
restrictions in Word why I newver saw this.

CV's are another topic and it makes sense to use a seperate
environment for them, this is what I did for myself.

 The application had the additional difficulty that there's the photo
 on the CV page, and I wanted the title in white *on* the photo...

I don't get what you mean, can you give me a example.

 At least in the online PDF - I used modes to produce both printed
 version (without logo, because that's pre-printed on my sheets) and
 email version (with logo)

\startmode[print]

\setupletterstyle[header=no]

\stopmode

  (It would have been *much* easier to use InDesign for that stuff,
  like for most other designs that I do...)
 
  This is also possible with ConTeXt because you could setup layers
  to place content dependent on left and right pages and the page layout
  could also change for left and right pages as long as you don't change
  the text width.

 I used layers and setups, but I had difficulties switching them on
 and off. And what not - can't remember everything.

A few things are easy and I can do basic things without any manuals but
advanced layouts are only possible with the source and trial and error.

It is even harder to place layers if you want to fix them on lines in grid mode
in the text with frames a content for the layer.

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


Re: [NTG-context] Discussion: correspondence with ConTeXt

2008-04-18 Thread Willi Egger
Hi Wolfgang,

First of all thanks for this initiative! - Until now I composed a  
letter based on a template I build one day. Nothing special though.  
- Still a module which would allow for writing letters and quotes  
consistently  would make live easier.
As I am living in the Netherlands, we use commonly block-style  
letters. Will your module provide the possibility to use a header on  
the first page and e.g. a smaller something in the margin on the  
second and following pages? Will your module provide page-numbering  
switched on beginning at the second page if the document is longer  
than 1 page? - This last point is in my environment always a struggle...

The Dutch TeX users group has released on CTAN a ntgclass.zip  
(LaTeX). There are three articles which might help to enlighten  
you. Unfortunately two of the three articles are written in Dutch  
(briefdoc.pdf, brief.pdf). In case you intend to include ideas  
contained in this NEN-1026 style letter I am happy to help you  
translating the important parts of those articles.

I am looking forward to your module

Kind regards

Willi

On Apr 17, 2008, at 10:13 AM, Wolfgang Schuster wrote:

 Hi all,


 Preface


 most of the discussions in the last weeks on the list
 concerned LuaTeX and MkIV with the topic fonts, xml and bugs,
 currently not implemented functions and bug and in the last
 few days also mplib. I will try start with this mail a
 hopefully interesting discuassions wuth many people about the
 current state to use ConTeXt for correspondence in personal
 and business live.



 Introduction


 Although ConTeXt has many features and can be used for nearly
 every type of document with many features to adapt the layout
 to ones personal requirements we have still a few places where
 something is missing or force us to use another tool. I will
 focus myself for the moment on the missing support for a real
 module to write letter and other correspondence.



 The Past and the present


 A few modules had been written in the past to write letter but
 wether they are not available like Hans own module or it is to
 complicated to use.

 Hans own module m-letter.tex was never included in the main
 distribution and the documentation [1] was never finished but
 it is now possible to find a older version in the list
 archives. The strong point on the module are the possibility
 to change the size and position of the address and reference
 fields but it was nearly impossible to add extra information
 like values for sender or to make big changes in the layout.

 The second option to write a letter was and is Holger Schöners
 letterstyle environment [2], he provided a layout for german
 letters with a DIN style and macros to store address and
 sender information. What looked like a good solution to me at
 first glance had also many disadvatages, the names for the
 fields in the refrence line used hard to memorize name like
 \lettersenderkey... and no high level interface to set them.
 Another point to me which prevented me from using the style
 was the hard way to change the layout, the environment
 provided commands to change the values but all was done with
 simple definition and no setup command.

 A few user write their own simple setups and environemnts to
 write letter [2,3] but none of them was really confugrable or
 provided a real interface.



 The future


 The lack of any good soution for this topic forced me to write
 my own letter module for ConTeXt. I started myself with Hans
 letter module and added a extra field to add my own address
 but this was at a time where I was still new to ConTeXt and
 most of the content in m-letter.tex where confusing to me and
 I had problem to adapt the layout to my own requirements.
 After I gained a little bit more knowledge in TeX and ConTeXt
 is started to write a new module from scratch with the option
 to load style files and set the information for the address
 and all other information with a better interface.

 After nearly one and a helf years and 2 major revisions I have
 nearly finished my module and would will make it now available
 also to other users. But before I make my last stable version
 online I want to discuss a few points with interested users.



 The discussion


 Before I start to give you information about my module and
 give you the chance to mention your own wishes or thoughts
 about the inteface I'm interested what do you use currently to
 write you own correspondence (letter, invoices etc.).

 After this interesting question for me I will now make a few
 information about my module available.

 The module use by default the definition for german business
 letters as layout where the position for the address block and
 the reference line are defined. To change the layout for your
 own letter I provide the option to change the default settings
 with the one for all command \setupletterstyle, you could use
 it to set the page layout, the position for the different
 blocks for 

Re: [NTG-context] Discussion: correspondence with ConTeXt

2008-04-18 Thread Peter Münster
On Fri, Apr 18 2008, Wolfgang Schuster wrote:

  I don't know, if lettre.lco is readable for you, so here the idea in
  clear-text:
 
 I will try it later today on my system, can you send me a example letter
 before I had to take a look into scrguide.pdf.

I'm sorry, it would be too much work for me, to find the right version of
scrlttr2.cls, that works with my lettre.lco. The file is 5 years old, and I
know that it's no more working for quite some time now.

Nevertheless, here an example, that should work with some old KOMA-version:

\documentclass[lettre]{scrlttr2}
\begin{document}
\begin{letter}{Madame Bla\\Bla bla\\160 rue bla\\72031 Le Mans Cedex 9}
\opening{Madame Bla,}%
\input tufte
\closing{Cordialement,}
\end{letter}
\end{document}

Cheers, Peter

-- 
http://pmrb.free.fr/contact/

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

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


Re: [NTG-context] ConTeXt Manual Source

2008-04-18 Thread Zhichu Chen
This?
http://context.aanhet.net/svn/

On Thu, Apr 17, 2008 at 9:25 PM, Browder, Tom [EMAIL PROTECTED]
wrote:

 Are the sources for the ConTeXt manuals publicly available?

 If not, are you willing to show how the beautiful contents and section
 headings are defined for ConTeXt: the manual?

 Thanks.

 -Tom

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

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

 ___




-- 
Best Regards
Chen


Zhi-chu Chen | Shanghai Synchrotron Radiation Facility
No. 2019 | Jialuo Rd. | Jiading | Shanghai | P.R. China
tel: 086 21 5955 3405 | zhichu.chen.googlepages.com
| www.sinap.ac.cn

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

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


Re: [NTG-context] Bibliographic Databases

2008-04-18 Thread Taco Hoekwater


Robin Kirkham wrote:
 Does anyone have any experience or advice to offer in using such  
 things, and hooking them up to ConTeXt?  Most of these systems will  
 of course emit a .bib file which will obviously work, but will any  

Please have a look at the biblographic module. It comes with its own
bst files that convert bib to a private data format.

   http://modules.contextgarden.net/bib

Currently, the bibliographic module only supports .bib files, but:
if you want to be ready for the future, find a reference manager
that can export to MODS:

   http://www.loc.gov/standards/mods/

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

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


Re: [NTG-context] Discussion: correspondence with ConTeXt

2008-04-18 Thread Wolfgang Schuster
On Fri, Apr 18, 2008 at 9:50 AM, Willi Egger [EMAIL PROTECTED] wrote:
 Hi Wolfgang,

 First of all thanks for this initiative! - Until now I composed a
 letter based on a template I build one day. Nothing special though.

I started also with mayn hard coded values and only a few parameters
and replaced part by part.

 - Still a module which would allow for writing letters and quotes
 consistently  would make live easier.
 As I am living in the Netherlands, we use commonly block-style
 letters. Will your module provide the possibility to use a header on
 the first page and e.g. a smaller something in the margin on the
 second and following pages? Will your module provide page-numbering
 switched on beginning at the second page if the document is longer
 than 1 page? - This last point is in my environment always a struggle...

Very easy to do with ConTeXt because you could define different
layouts for every page and what I do is to set the headerheight for the
first page to 0pt and set it to another value like 1cm on the second
page. You could now write the pagenumber as headertext because there
is no header on the first page and the pagenumber will start on the
second page.

 The Dutch TeX users group has released on CTAN a ntgclass.zip
 (LaTeX). There are three articles which might help to enlighten
 you. Unfortunately two of the three articles are written in Dutch
 (briefdoc.pdf, brief.pdf). In case you intend to include ideas
 contained in this NEN-1026 style letter I am happy to help you
 translating the important parts of those articles.

Can you show me a few example letters with values for all fields,
I saw a few in Hans letter documentation [1] and the works depends
on one point, is the height and position for the reference and address
block fixed or did it depend on the content.

If the fields have a fixed height it is easy to write a style file but if the
height depends on the content a need a little bit more time and I will
implement it in a proper way, I have this problem also with american
block style and a solution should be integrated in a consistent way
with the rest of the module.

 I am looking forward to your module

I still wait for comments about the user interface to set the values
before I will release my module to the public although my last stable
version is only available.

Greetings
Wolfgang

[1] http://www.pragma-ade.com/show-man-29.htm
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

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


Re: [NTG-context] Bibliographic Databases

2008-04-18 Thread Wolfgang Schuster
On Fri, Apr 18, 2008 at 10:08 AM, Taco Hoekwater [EMAIL PROTECTED] wrote:


 Robin Kirkham wrote:
  Does anyone have any experience or advice to offer in using such
  things, and hooking them up to ConTeXt?  Most of these systems will
  of course emit a .bib file which will obviously work, but will any

 Please have a look at the biblographic module. It comes with its own
 bst files that convert bib to a private data format.

   http://modules.contextgarden.net/bib

 Currently, the bibliographic module only supports .bib files, but:
 if you want to be ready for the future, find a reference manager
 that can export to MODS:

   http://www.loc.gov/standards/mods/

Or even better write a new bib module with xml in MODS format as database :-)

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


Re: [NTG-context] Roll-Your-Own Stand-Alone (Was re. ConTeXt ultraminimals)

2008-04-18 Thread Mojca Miklavec
On Fri, Apr 18, 2008 at 12:10 AM, Joel C. Salomon wrote:
 On Thu, Apr 17, 2008 at 5:19 PM, Hans Hagen wrote:
 I'm going to defer working on [Perl  Ruby].

 
we dont't need full perl and ruby; perl only when you want to use
mptopdf, which is not needed because texexec can do the same; so, a
small ruby is enough

Is it also possible to use MK IV (or some other lua scripts) to
convert .mp files to PDF by any chance? (I'm only asking - this is not
a feature request.)

  So does anyone on the list have any experience in packaging a
  stripped-down Ruby?

Packaging ruby: you only unzip it and set the path.
A stripped-down ruby: probably parsing (even if manually) ruby scripts
from ConTeXt to determine which packages are needed, and delete the
rest of the tree/ruby libraries :)

I'm sure that not the whole 70 MB of ruby are needed to run ConTeXt.

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

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


Re: [NTG-context] Roll-Your-Own Stand-Alone (Was re. ConTeXt ultraminimals)

2008-04-18 Thread Taco Hoekwater


Mojca Miklavec wrote:
 On Fri, Apr 18, 2008 at 12:10 AM, Joel C. Salomon wrote:
 On Thu, Apr 17, 2008 at 5:19 PM, Hans Hagen wrote:
 I'm going to defer working on [Perl  Ruby].

we dont't need full perl and ruby; perl only when you want to use
mptopdf, which is not needed because texexec can do the same; so, a
small ruby is enough
 
 Is it also possible to use MK IV (or some other lua scripts) to
 convert .mp files to PDF by any chance? (I'm only asking - this is not
 a feature request.)

Using (tex)lua instead of perl should be simple, I can probably
do that over the weekend. It would still be based on the mkii
code, but at least that removes the perl dep.

Best wishes,
Taco

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

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


Re: [NTG-context] Roll-Your-Own Stand-Alone (Was re. ConTeXt ultraminimals)

2008-04-18 Thread Hans Hagen
Mojca Miklavec wrote:
 On Fri, Apr 18, 2008 at 12:10 AM, Joel C. Salomon wrote:
 On Thu, Apr 17, 2008 at 5:19 PM, Hans Hagen wrote:
 I'm going to defer working on [Perl  Ruby].

we dont't need full perl and ruby; perl only when you want to use
mptopdf, which is not needed because texexec can do the same; so, a
small ruby is enough
 
 Is it also possible to use MK IV (or some other lua scripts) to
 convert .mp files to PDF by any chance? (I'm only asking - this is not
 a feature request.)

sure, eventually i will adapt mptopdf to it

Hans

-
   Hans Hagen | PRAGMA ADE
   Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
  tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
  | www.pragma-pod.nl
-
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

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


[NTG-context] Deleted files (Was re. Windows tools in XeTeX)

2008-04-18 Thread Joel C. Salomon
On Thu, Apr 17, 2008 at 8:58 PM, Akira Kakuto [EMAIL PROTECTED] wrote:
   There are some new executables in w32tex's XeTeX.

  I'll remove them.

How does the Minimals distribution deal with files deleted from the
server?  Does rsync know enough to remove files as well?

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

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


[NTG-context] New context release

2008-04-18 Thread Taco Hoekwater
Hi,

Hot on the heels of the luatex 0.25.3 release Hans has released
(yet another) new context current (the sixth or seventh this week).

There are a few bugfixes for the mkiv bugs reported yesterday,
but that's about it. If you are curious anyway:

   http://wiki.contextgarden.net/Release_Notes

Unless there is a massive outcry (unlikely), this release goes to
CTAN in less than an hour.

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

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


Re: [NTG-context] Deleted files (Was re. Windows tools in XeTeX)

2008-04-18 Thread Hans Hagen
Joel C. Salomon wrote:
 On Thu, Apr 17, 2008 at 8:58 PM, Akira Kakuto [EMAIL PROTECTED] wrote:
  There are some new executables in w32tex's XeTeX.
  I'll remove them.
 
 How does the Minimals distribution deal with files deleted from the
 server?  Does rsync know enough to remove files as well?

indeed
-
   Hans Hagen | PRAGMA ADE
   Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
  tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
  | www.pragma-pod.nl
-
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

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


[NTG-context] ConTeXt Manual Source

2008-04-18 Thread Browder, Tom
Are the sources for the ConTeXt manuals publicly available?

If not, are you willing to show how the beautiful title page, contents,
and section headings are defined for ConTeXt: the manual?

Thanks.

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

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


Re: [NTG-context] Deleted files (Was re. Windows tools in XeTeX)

2008-04-18 Thread Mojca Miklavec
On Fri, Apr 18, 2008 at 2:54 PM, Joel C. Salomon wrote:
 On Thu, Apr 17, 2008 at 8:58 PM, Akira Kakuto wrote:
 There are some new executables in w32tex's XeTeX.
  
I'll remove them.

  How does the Minimals distribution deal with files deleted from the
  server?  Does rsync know enough to remove files as well?

You only need to pass --delete to rsync. (You can also pass --delete
to mtx-update.)
But you need to make sure that you fetch everything in a single call to rsync.

rsync -av --delete first/ one
rsync -av --delete second/ one

won't work, you need to use

rsync -av --delete first/ second/ one

instead

(However, it's also possible that I forget to delete some things from
the server.)

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

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


[NTG-context] Debian luatex and context

2008-04-18 Thread Norbert Preining
On Fr, 18 Apr 2008, Taco Hoekwater wrote:
 I have just uploaded the archives for luatex 0.25.3, yet

On Fr, 18 Apr 2008, Taco Hoekwater wrote:
 Hot on the heels of the luatex 0.25.3 release Hans has released
 (yet another) new context current (the sixth or seventh this week).


Debian packages:

context (for sid and etch):
deb http://people.debian.org/~preining/TeX/ context/
deb-src http://people.debian.org/~preining/TeX/ context/

luatex for sid
deb http://people.debian.org/~preining/TeX/ luatex-sid/
deb-src http://people.debian.org/~preining/TeX/ luatex-sid/

luatex for etch
deb http://people.debian.org/~preining/TeX/ luatex/
deb-src http://people.debian.org/~preining/TeX/ luatex/

Please give it a test try. After some more tests I will upload the stuff
to sid and sid users will get by normal operation.

I tried this combination with my test cases and context/luatex according
to README.MarkIV in the Debian package.


Next release of TeX Live packages will PROBABLY contain updates to
xetex/xdvipdfmx.

Best wishes

Norbert

---
Dr. Norbert Preining [EMAIL PROTECTED]Vienna University of Technology
Debian Developer [EMAIL PROTECTED] Debian TeX Group
gpg DSA: 0x09C5B094  fp: 14DF 2E6C 0307 BE6D AD76  A9C0 D2BF 4AA3 09C5 B094
---
EWELME (n.)
The smile bestowed on you by an air hostess.
--- Douglas Adams, The Meaning of Liff
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

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


Re: [NTG-context] Bibliographic Databases

2008-04-18 Thread Andreas Wagner
Hello Taco, hello list,

* Taco Hoekwater wrote on Apr/18/2008:
 if you want to be ready for the future, find a reference manager that can 
 export to MODS:

   http://www.loc.gov/standards/mods/

Just out of curiosity: What are your reasons for preferring this over TEI:

http://www.tei-c.org/release/doc/tei-p5-doc/html/CO.html#COBI

(I have only by your mail learnt about MODS and am currently working through 
it, so please excuse me if that 
question doesn't even make sense at all.)

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


Re: [NTG-context] Lost in columnset

2008-04-18 Thread luigi scarso
On Wed, Apr 16, 2008 at 12:19 PM, luigi scarso [EMAIL PROTECTED] wrote:
 I realize that in
  \definecolumnsetarea[one][right][x=1,y=25,nx=2,ny=18,page=19,state=start]

  page=19 is relative to \startcolumnset[AAA] ...\stopcolumnset
  not to \realfolio .
  So, what about [right]  ?
  Is related to \realfolio or to page ?
If i understand well, [right] are related to \realfolio:
\ifodd\number \realfolio
 \definecolumnsetarea[one][right][x=1,y=25,nx=2,ny=18,page=19,state=start]
\else
\definecolumnsetarea[one][left][x=1,y=25,nx=2,ny=18,page=19,state=start]
\fi
-- 
luigi
it's new .
it's powerful .
it's luatex .
http://www.luatex.org
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

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


Re: [NTG-context] Bibliographic Databases

2008-04-18 Thread Taco Hoekwater
Hi,

Andreas Wagner wrote:
 Just out of curiosity: What are your reasons for preferring this over TEI:

MODS was a logical choice mostly my background (scientific publishers
= MARC databases = MODS), and that BruceD'Arcus liked it.  Btw,
his blog is full of bibliographic articles, if you are interested:

   http://community.muohio.edu/blogs/darcusb/

(but it looks like he has switched over to RDF now)

I am not really set to any particular xml format, and there are
more mainstream choices (risx comes to mind).

But the few times I've had to work with TEI stuff I found that you
can easily get much more than you bargained for. Bibliographic data
is not easy on its own, and a format that allows (almost promotes)
extra tags to be embedded also is not helping at all.

Look at this:

   http://www.tei-c.org/release/doc/tei-p5-doc/html/ref-author.html

Just the 'core' module is already pretty complex, but 'namesdates'
and 'linking' are definately also required for a useful bibliographic
database.

The nice, consise examples in the TEI docs are misleading because

   authorLucy Allen Paton/author

is useless, more specifics are needed. We need at least this:

   author
 persName
   forenameLucy/forename
   forenameAllen/forename
   surnamePaton/surname
 /persName
   /author

But with the use of persName, there are suddenly a gazillion
ways an author can encode the same name  (and it does not
preclude any of the other ways to encode a name).

   http://www.tei-c.org/release/doc/tei-p5-doc/html/ND.html#NDPER

Etc. etc. Imagine having to support that in a simple context module.

Cheers, Taco


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

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


[NTG-context] thanks for context-stub

2008-04-18 Thread Peter Münster
Hello Hans,

Thanks for the context-stub! Now it's possible to say context file
and using MKIV without % engine=luatex in the file.

One small bug-fix for spaces in filename: $@ - $@

And one small feature request: it would be nice to get the ConTeXt-version
with context --version.

Cheers, Peter

-- 
http://pmrb.free.fr/contact/

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

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


Re: [NTG-context] Discussion: correspondence with ConTeXt

2008-04-18 Thread Wolfgang Werners-Lucchini
On 18 Apr 2008 at 12:00, [EMAIL PROTECTED] wrote:

Hallo Wolfgang,

 I still wait for comments about the user interface to set the
 values before I will release my module to the public although my last
 stable version is only available.

I still use the LaTeX class scrlttr2 for my letters.
I use adress files bundled with that class. Adresses are macros and 
selected by a string-key.

Maybe it would be nice, if there could be a interface to such a key 
and a lua-function (which defaults to return) taking this key as 
argument. So everybody can write his own adress-import function.

Just an idea.

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


Re: [NTG-context] Font problem

2008-04-18 Thread Aditya Mahajan
On Fri, 18 Apr 2008, David Arnold wrote:

 All,

 I did a fresh install on a new Macbook:   MacTeX-2007

 I am using Aditya's package: http://www.tug.org/pracjourn/2006-4/mahajan/

 I believe I have a font problem, as in trying to compile my file I come up 
 against what is shown below. Using my new system, how should I go about 
 installing the needed font files?

 (/usr/local/texlive/2007/../texmf-local/tex/context/base/type-akb.tex)kpathsea:
  
 Running mktextfm texnansi-uplr8a
 mktextfm: Running mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode; 
 input texnansi-uplr8a
 This is METAFONT, Version 2.71828 (Web2C 7.5.6)

 kpathsea: Running mktexmf texnansi-uplr8a

This is because urw palatino fonts are not installed on your system. I do 
not know what is the correct way of installing them on MacTeX. You can 
always download them from CTAN but installing fonts manually can be a bit 
tricky.

Another option is to use the TeX-gyre pagella fonts. I think that if you 
just add

\usetypescriptfile[type-gyr]

before the typescript definition, it should work.

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

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


Re: [NTG-context] mplib

2008-04-18 Thread Wolfgang Werners-Lucchini
Hallo Taco,

  Everything I read below says there should be a 'plain.mem'
  in the folder where you ran theat file in.  If there
  really really isn't, then my only advise to you is to buy
  a less thieving operating system, as it seems this one steals
  your files before you can even have an admiring look at them.
 :-)

May be you are right that operating system steals files. We should do 
something against that.

Lutz Haseloff has send me his test (he too sees no 'mpost.mem'):

TeXExec | processing document 'mplibtest.tex'
TeXExec | no ctx file found
TeXExec | tex processing method: context
TeXExec | TeX run 1
TeXExec | writing option file mplibtest.top
TeXExec | using randomseed 256
TeXExec | tex engine: luatex
TeXExec | tex format: cont-en
(./mplibtest.tex

ConTeXt  ver: 2008.04.16 17:34 MKIV  fmt: 2008.4.18  int: 
english/english

language   : language en is active
system : cont-new loaded
(C:/tex/texmf-context/tex/context/base/cont-new.tex
systems : beware: some patches loaded from cont-new.tex
(C:/tex/texmf-context/tex/context/base/cont-new.mkiv
lua: used config path - C:/tex/texmf-
local/web2c/texmf.cnf;C:/tex/texmf-
context/web2c/texmf.cnf;C:/tex/texmf/web2c/texmf.cnf
lua: used cache path - C:/tex/texmf-cache/luatex-
cache/context/71ddae2d1527093aac63e0e1aa139641
) (C:/tex/texmf-context/tex/context/base/cont-mtx.tex))
system : cont-old loaded
(C:/tex/texmf-context/tex/context/base/cont-old.tex
loading: Context Old Macros
)
system : cont-fil loaded
(C:/tex/texmf-context/tex/context/base/cont-fil.tex
loading: Context File Synonyms
)
system : cont-sys loaded
(C:/tex/texmf-local/tex/context/user/cont-sys.tex (C:/tex/texmf-
context/tex/context/base/type-tmf.tex) (C:/tex/texmf-
context/tex/context/base/type-siz.tex) (C:/tex/texmf-
context/tex/context/base/type-otf.tex))
bodyfont   : 12pt rm is loaded
specials   : tex loaded
system : mplibtest.top loaded
(./mplibtest.top
specials   : loading definition file tpd
(C:/tex/texmf-context/tex/context/base/spec-tpd.tex
specials   : loading definition file fdf
(C:/tex/texmf-context/tex/context/base/spec-fdf.tex (C:/tex/texmf-
context/tex/context/base/spec-fdf.mkiv))
specials   : fdf loaded
)
specials   : fdf loaded
) (./mplibtest.tuo) (./mplibtest.tuo)
systems: begin file mplibtest at line 2
t={
 [log]=This is MetaPost, Version 1.003 (INIMP)  18 APR 2008 06:34 
(mpost.mp(plain.mp\
Preloading the plain mem file, version 0.99),
 [status]=0,
 [term]=This is MetaPost, Version 1.003 (Cweb version 0.40) 
(INIMP)\
 (mpost.mp(plain.mp\
Preloading the plain mem file, version 0.99),
}
nothing
t={
 [log]= )\
Beginning to dump on file mpost.mem\
 (mem=mpost 8.4.18)\
at most 736 strings of total length 3629\
3326 memory locations dumped; current usage is 10212227\
501 symbolic tokens\
,
 [status]=0,
 [term]= )\
Beginning to dump on file mpost.mem\
 (mem=mpost 8.4.18)\
at most 736 strings of total length 3629\
3326 memory locations dumped; current usage is 10212227\
501 symbolic tokens\
Transcript written on mpost.log.\
,
}
nothing
fonts  : resetting map file list
{C:/tex/texmf-context/fonts/map/pdftex/context/original-empty.map}
fonts  : using map file: original-base
{C:/tex/texmf-context/fonts/map/pdftex/context/original-base.map}
fonts  : using map file: lm-math
{C:/tex/texmf/fonts/map/dvips/lm/lm-math.map}
fonts  : using map file: lm-rm
{C:/tex/texmf/fonts/map/dvips/lm/lm-rm.map}
fonts  : using map file: original-ams-base
{C:/tex/texmf-context/fonts/map/pdftex/context/original-ams-base.map}
fonts  : using map file: original-ams-euler
{C:/tex/texmf-context/fonts/map/pdftex/context/original-ams-
euler.map}
fonts  : using map file: original-public-lm
{C:/tex/texmf-context/fonts/map/pdftex/context/original-public-
lm.map} [1.1]
systems: end file mplibtest at line 38
 )C:/tex/texmf/fonts/opentype/public/lm/lmroman12-regular.otf
mkiv lua stats : used config path  - C:/tex/texmf-
local/web2c/texmf.cnf;C:/tex/texmf-
context/web2c/texmf.cnf;C:/tex/texmf/web2c/texmf.cnf
mkiv lua stats : used cache path   - C:/tex/texmf-
cache/luatex-cache/context/71ddae2d1527093aac63e0e1aa139641
mkiv lua stats : modules/dumps/instances   - 84/20/1
mkiv lua stats : input load time   - 0.031 seconds
mkiv lua stats : fonts load time   - 1.063 seconds
mkiv lua stats : xml load time - 0.000 seconds, 
backreferences: 0, outer filtering time: 0.000
mkiv lua stats : mps conversion time   - 0.000 seconds
mkiv lua stats : node processing time  - 0.000 seconds (including 
kernel)
mkiv lua stats : kernel processing time- 0.000 seconds
mkiv lua stats : attribute processing time - 0.016 seconds
mkiv lua stats : language load time- 0.031 seconds, n=2
mkiv lua stats : graphics processing time  - 0.000 seconds, n=0 
(including tex)

Re: [NTG-context] Discussion: correspondence with ConTeXt

2008-04-18 Thread Willi Egger
Hi Wolfgang,

I will try to provide you with something. The difficulty is, that I  
do not have LaTeX running. So please some patience.

Kind regards

Willi


On Apr 18, 2008, at 10:13 AM, Wolfgang Schuster wrote:

 Can you show me a few example letters with values for all fields,
 I saw a few in Hans letter documentation [1]

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

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


Re: [NTG-context] Font problem

2008-04-18 Thread Mojca Miklavec
On Fri, Apr 18, 2008 at 8:59 PM, Aditya Mahajan wrote:
 On Fri, 18 Apr 2008, David Arnold wrote:

   All,
  
   I did a fresh install on a new Macbook:   MacTeX-2007
  
   I am using Aditya's package: http://www.tug.org/pracjourn/2006-4/mahajan/
  
   I believe I have a font problem, as in trying to compile my file I come up
   against what is shown below. Using my new system, how should I go about
   installing the needed font files?
  
   
 (/usr/local/texlive/2007/../texmf-local/tex/context/base/type-akb.tex)kpathsea:
   Running mktextfm texnansi-uplr8a
   mktextfm: Running mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode;
   input texnansi-uplr8a
   This is METAFONT, Version 2.71828 (Web2C 7.5.6)
  
   kpathsea: Running mktexmf texnansi-uplr8a

  This is because urw palatino fonts are not installed on your system. I do
  not know what is the correct way of installing them on MacTeX. You can
  always download them from CTAN but installing fonts manually can be a bit
  tricky.

  Another option is to use the TeX-gyre pagella fonts. I think that if you
  just add

  \usetypescriptfile[type-gyr]

  before the typescript definition, it should work.

  Aditya

Judging from the traces  locations of those files on my computer -
these fonts were probably either part of some external ConTeXt
package (there have always been some font metrics files around) or
Hans has removed them from the main ConTeXt distribution.

In any case, try to put  \usetypescriptfile[type-gyr] to your
cont-sys.tex (if you don't have it, just create one) and remake the
formats. This will become the default setting in TeX Live 2008 anyway.

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

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


Re: [NTG-context] problems with minimal/pdftex

2008-04-18 Thread Patrick Gundlach
Hi,

 I've just downloaded a minimal for mac os x/power-pc and experience
 the following problem:

[...]

additional info: 

$ pdftex --version
pdfTeX 3.141592-1.50.0-alpha-20071218-2.2 (Web2C 7.5.6)
kpathsea version 3.5.6dev
$ which pdftex
/opt/context/tex/texmf-osx-ppc/bin/pdftex


Patrick

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