Re: [NTG-context] location of old ConTeXt versions?

2015-11-10 Thread Sanjoy Mahajan
Thanks, Mojca.  Inspired by your suggestions, I did the following (which
should work on Ubuntu too, but I am using Debian testing
a.k.a. stretch):

$ dpkg --add-architecture i386
$ apt update
$ apt install libc6-i386

and voila my old binaries from the minimal worked!

There were other issues that aren't so easy to solve:

1. asymptote meanwhile is at version 2.35 instead of 2.31, which affects
   figure sizes slightly.

2. graphviz and dot (for all the tree diagrams) were at version 2.26 and
   are now at 2.28, which affects figure sizes somewhat and their layout
   slightly.

3. Inkscape was 0.48 and is now 0.91.  That affected the conversion from
   svg to eps of one figure.  That I worked around by just using the
   previously converted eps figure instead of the svg.

All the changes above can affect the page and line breaks, but I tweaked
a bit until that didn't happen.

It does show a general problem with large complex documents regarding
software versions.  ConTeXt is the fastest-changing component, but the
other components also change, and one needs a way to preserve the entire
software stack.

That's a software-engineering problem, and maybe others have found
solutions?

My first book (_Street-Fighting Mathematics_) is frozen with its typos
because I cannot reproduce its stack at all, so all the new printings
get the old typos.  Through bad luck, at the time (2009) I happened to
have a never-released version of the tex fonts, now long overwritten by
proper versions, and I also didn't use a ConTeXt minimal back then, so I
don't have the other binaries and TeX in the right form.

-Sanjoy
___
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] location of old ConTeXt versions?

2015-11-10 Thread Sanjoy Mahajan
Peter Münster  writes:

> I have context-2014.03.25-16:58 and context-2014.06.22-19:58.  If you
> want, I can prepare 1 or 2 tar-files (or zip) for you.

Peter,

I appreciate the kind offer.

I remember trying both those versions last year, and they produced
different page and line breaks.  But, I just found out how to rescue the
situation by installing 32-bit compatability libraries (see my previous
msg in this thread).

-Sanjoy
___
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] only page number in the header of the chapter title page

2015-11-10 Thread Wolfgang Schuster

mass...@fastwebnet.it 
10. November 2015 um 12:50

I mean something like this:

On the top of a chapter title page:

+---

| 34
|

On the top of a page without chapter title:

+---

| 36 - Chapter title
|

Or (odd page):

--+

Chapter title - 35 |
|

Thanks, Massi


You can use the \definetext command to set a different header (or 
footer) for chapter pages.


\setuppagenumbering[alternative=doublesided,location=]

\setupheadertexts
  [][{\getmarking[chapter] – \convertedcounter[userpage]}]
  [{\convertedcounter[userpage] – \getmarking[chapter]}][]

\definetext[chapterheader][header][][pagenumber]

\setuphead[chapter][header=chapterheader]

\starttext

\dorecurse{4}
  {\expanded{\chapter{Chapter \recurselevel}}
   \dorecurse{10}{\input knuth\par}}

\stoptext

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

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

Re: [NTG-context] location of old ConTeXt versions?

2015-11-10 Thread luigi scarso
On Tue, Nov 10, 2015 at 6:21 PM, luigi scarso 
wrote:

>
>
>
>
> Have you seen this site ?
>
> http://ftp.math.utah.edu/pub/tex/historic/systems/texlive/
>
> --
> luigi
>

hm, by ftp is better

ftp://ftp.math.utah.edu/pub/tex/historic/systems/texlive/
-- 
luigi
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

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

Re: [NTG-context] location of old ConTeXt versions?

2015-11-10 Thread luigi scarso
On Tue, Nov 10, 2015 at 6:02 PM, Sanjoy Mahajan  wrote:

> Thanks, Mojca.  Inspired by your suggestions, I did the following (which
> should work on Ubuntu too, but I am using Debian testing
> a.k.a. stretch):
>
> $ dpkg --add-architecture i386
> $ apt update
> $ apt install libc6-i386
>
> and voila my old binaries from the minimal worked!
>
> There were other issues that aren't so easy to solve:
>
> 1. asymptote meanwhile is at version 2.35 instead of 2.31, which affects
>figure sizes slightly.
>
> 2. graphviz and dot (for all the tree diagrams) were at version 2.26 and
>are now at 2.28, which affects figure sizes somewhat and their layout
>slightly.
>
> 3. Inkscape was 0.48 and is now 0.91.  That affected the conversion from
>svg to eps of one figure.  That I worked around by just using the
>previously converted eps figure instead of the svg.
>
> All the changes above can affect the page and line breaks, but I tweaked
> a bit until that didn't happen.
>
> It does show a general problem with large complex documents regarding
> software versions.  ConTeXt is the fastest-changing component, but the
> other components also change, and one needs a way to preserve the entire
> software stack.
>
> That's a software-engineering problem, and maybe others have found
> solutions?
>
> My first book (_Street-Fighting Mathematics_) is frozen with its typos
> because I cannot reproduce its stack at all, so all the new printings
> get the old typos.  Through bad luck, at the time (2009) I happened to
> have a never-released version of the tex fonts, now long overwritten by
> proper versions, and I also didn't use a ConTeXt minimal back then, so I
> don't have the other binaries and TeX in the right form.
>
>


Have you seen this site ?

http://ftp.math.utah.edu/pub/tex/historic/systems/texlive/

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

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

Re: [NTG-context] only page number in the header of the chapter title page

2015-11-10 Thread massifr
Thanks a lot, Wolfgang
just now I was posting a solution of mine, 
but yours is more elegant and concise.

Best regards,
Massi

PS: here's my solution (but I'll use yours):

\definemarking[headertitle]

\setupheadertexts[]
\setupheadertexts[\setups{oddpages}][][][\setups{evenpages}]

\startsetups[evenpages]
  \pagenumber
  \emspace
  \getmarking[headertitle][top]
  \hfill
\stopsetups

\startsetups[oddpages]
  \hfill
  \getmarking[headertitle][top]
  \emspace
  \pagenumber
\stopsetups

\starttext

\startchapter[title=Trial chapter]

\marking[headertitle]{\space}
\marking[headertitle]{Trial chapter}

\dorecurse{11}{\input knuth\par}

\stopchapter

\stoptext

In data martedì 10 novembre 2015 18:35:55, hai scritto:
> > mass...@fastwebnet.it 
> > 10. November 2015 um 12:50
> >
> > I mean something like this:
> >
> > On the top of a chapter title page:
> >
> > +---
> >
> > | 34
> > |
> >
> > On the top of a page without chapter title:
> >
> > +---
> >
> > | 36 - Chapter title
> > |
> >
> > Or (odd page):
> >
> > --+
> >
> > Chapter title - 35 |
> > |
> >
> > Thanks, Massi
> >
> >
> You can use the \definetext command to set a different header (or 
> footer) for chapter pages.
> 
> \setuppagenumbering[alternative=doublesided,location=]
> 
> \setupheadertexts
>[][{\getmarking[chapter] – \convertedcounter[userpage]}]
>[{\convertedcounter[userpage] – \getmarking[chapter]}][]
> 
> \definetext[chapterheader][header][][pagenumber]
> 
> \setuphead[chapter][header=chapterheader]
> 
> \starttext
> 
> \dorecurse{4}
>{\expanded{\chapter{Chapter \recurselevel}}
> \dorecurse{10}{\input knuth\par}}
> 
> \stoptext
> 
> Wolfgang

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

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

[NTG-context] typesetters sought

2015-11-10 Thread Alan Bowen
We produce academic books and journals in the history of pre-modern science
and are currently exploring alternatives to typesetting in house.

If there are any on this list who would be interested in giving us
estimates of their costs in typesetting our materials, please contact me
off list at bo...@ircps.org.

All best, Alan

Alan C. Bowen, Director
Institute for Research in Classical Philosophy and Science
1077–3 Kerrimuir Road
Baysville, ON P0B 1A0
CANADA

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

Re: [NTG-context] location of old ConTeXt versions?

2015-11-10 Thread Sanjoy Mahajan
luigi scarso  writes:

> Have you seen this site ?
>
> http://ftp.math.utah.edu/pub/tex/historic/systems/texlive/

Thanks -- that might help!  I'm going to try texlive 2010: The last PDF
of that book was generated on 2010/05/01 using pdftex and ConTeXt
2009.11.06.

The ancient unreleased font that I used might prevent it from working,
but my fingers are crossed.

-Sanjoy
___
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] only page number in the header of the chapter title page

2015-11-10 Thread massifr
I mean something like this:

On the top of a chapter title page:
+---
|  34
|
On the top of a page without chapter title:
+---
| 36 - Chapter title
|

Or (odd page):
--+
   Chapter title - 35 |
  |
Thanks, Massi

In data lunedì 9 novembre 2015 14:51:31, mass...@fastwebnet.it ha scritto:
> Hello list,
> how can I keep the page number but not the header text in the page of a 
> chapter title?
> 
> \setuphead[chapter][header=empty] makes all the header disappear. Is there an 
> option
> to keep the page number?
> 
> Thanks, Massi
> ___
> If your question is of interest to others as well, please add an entry to the 
> Wiki!
> 
> maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
> webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
> archive  : http://foundry.supelec.fr/projects/contextrev/
> wiki : http://contextgarden.net
> ___
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

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

[NTG-context] location of old ConTeXt versions?

2015-11-10 Thread Sanjoy Mahajan
Dear ConTeXters,

In order to correct an embarrassing thinko (wrong units of
acceleration!) in my book for its next printing, I need to regenerate
the PDF changing only that one spot.

Thus, I am looking for an old ConTeXt version, 2014.05.17.  The latest
versions find different page and line breaks. I haven't been able to
convince them to rediscover the old breaks (which were carefully
optimized over a few miserable weeks back in 2014).

I have the 2014.05.17 minimal on my old laptop, a i386 32-bit Linux
laptop (2006 vintage).  I joined the 2010 decade recently and now use
64-bit laptop; the 32-bit minimals don't work on it.

The wiki, at
,
says that the old versions are available at
, where I found only
the latest versions.

Could you point me to a linux/64-bit minimal for 2014.05.17?  I'll
update the wiki accordingly. (If the old versions are gone, I'll dig out
my old laptop and regenerate it that way, or try convincing the laptop
to use 32-bit executables as well.)

Best,
-- 
-Sanjoy


Save Long Wharf Park in Boston Harbor!


Six reasoning tools to make hard problems easy.
___
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] location of old ConTeXt versions?

2015-11-10 Thread Mojca Miklavec
On Tue, Nov 10, 2015 at 2:03 PM, Sanjoy Mahajan  wrote:
> Dear ConTeXters,
>
> In order to correct an embarrassing thinko (wrong units of
> acceleration!) in my book for its next printing, I need to regenerate
> the PDF changing only that one spot.
>
> Thus, I am looking for an old ConTeXt version, 2014.05.17.  The latest
> versions find different page and line breaks. I haven't been able to
> convince them to rediscover the old breaks (which were carefully
> optimized over a few miserable weeks back in 2014).
>
> I have the 2014.05.17 minimal on my old laptop, a i386 32-bit Linux
> laptop (2006 vintage).  I joined the 2010 decade recently and now use
> 64-bit laptop; the 32-bit minimals don't work on it.
>
> The wiki, at
> ,
> says that the old versions are available at
> , where I found only
> the latest versions.
>
> Could you point me to a linux/64-bit minimal for 2014.05.17?  I'll
> update the wiki accordingly. (If the old versions are gone, I'll dig out
> my old laptop and regenerate it that way, or try convincing the laptop
> to use 32-bit executables as well.)

This is slightly suboptimal at the moment.

My suggestion would be the following:
- fetch the latest minimals for 64-bit linux
- remove texmf-context and replace it with the one from your old
machine (alternatively you could fetch that version of ConTeXt from
GIT)
- check which version of LuaTeX you have on the old 32-bit box (it's
probably beta-0.79.1)
- fetch that version from SVN from
http://svn.contextgarden.net/suite-bin/tex/x86_64-linux
  (if it's that version, just checkout r197)
- you might need to replace mtxrun from the old version (or maybe I
forgot another thing or two)

Everything else should keep working unless some font names changed in
the meantime.

Alternatively start with your old 32-bit tree and just add the
texmf-linux-64 tree from the new installation to it (of course make
sure to replace luatex and potentially other scripts in that tree).

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

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

Re: [NTG-context] location of old ConTeXt versions?

2015-11-10 Thread Peter Münster
On Tue, Nov 10 2015, Sanjoy Mahajan wrote:

> Could you point me to a linux/64-bit minimal for 2014.05.17?  I'll
> update the wiki accordingly.

I have context-2014.03.25-16:58 and context-2014.06.22-19:58.
If you want, I can prepare 1 or 2 tar-files (or zip) for you.

-- 
   Peter
___
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
___