Re: [NTG-context] [Dev-luatex] luatex not compiling

2007-12-24 Thread Taco Hoekwater
Jjgod Jiang wrote:
> 
> I just checked out the latest luatex source from svn, with
> the following patch, luatex builds fine on 10.5:

Thank you very much. Patch applied to trunk.

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] [Dev-luatex] luatex not compiling

2007-12-24 Thread Jjgod Jiang
Hi Taco,

On Mon, 24 Dec 2007, Taco Hoekwater wrote:
> Perhaps not any more in 10.5? Something changed from 10.4 to 10.5 that
> broke luatex's build process. Just the building though, pre-compiled
> binaries work fine. What exactly has changed is a mystery so far.

You're right, I think it has been changed in 10.5, the following text
is copied from sigaltstack(2) in 10.5:

 LEGACY SYNOPSIS
  #include 
  #include 

  The include file  is necessary.

  struct sigaltstack {
  char   *ss_sp;
  int ss_size;
  int ss_flags;
  };

  int
  sigaltstack(const struct sigaltstack *ss,
  struct sigaltstack *oss);

  The variable types have changed.  Specifically, the
  sigaltstack struct is no longer used.

 COMPATIBILITY
  Use of the (obsolete) sigaltstack struct will cause
  compiler diagnostics.  Use stack_t, defined in
  .

I just checked out the latest luatex source from svn, with
the following patch, luatex builds fine on 10.5:

Index: src/texk/web2c/lib/texmfmp.c
===
--- src/texk/web2c/lib/texmfmp.c(revision 972)
+++ src/texk/web2c/lib/texmfmp.c(working copy)
@@ -405,7 +405,11 @@
  #ifdef WIN32
  SetUnhandledExceptionFilter ((LPTOP_LEVEL_EXCEPTION_FILTER) 
&segv_handler_filter);
  #else
+#if __DARWIN_UNIX03
+stack_t sigstk;
+#else
  struct sigaltstack sigstk;
+#endif
  struct sigaction segv_act;
  sigstk.ss_sp = xmalloc(SIGSTKSZ);
  sigstk.ss_size = SIGSTKSZ;

HTH.

- Jiang
___
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] PDF table of contents

2007-12-24 Thread luigi scarso
On Dec 25, 2007 3:00 AM, Matija Šuklje <[EMAIL PROTECTED]> wrote:
> Hullo,
>
> I wonder how to generate a PDF with the built-in table of contents. I'm
> thinking in the same line as what 'hyperref' package did in LaTeX.
Did you see
http://wiki.contextgarden.net/Table_of_Contents
?



-- 
luigi
http://wiki.contextgarden.net/User:Luigi.scarso/Merry_Christmas_2007

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
___


[NTG-context] PDF table of contents

2007-12-24 Thread Matija Šuklje
Hullo,

I wonder how to generate a PDF with the built-in table of contents. I'm 
thinking in the same line as what 'hyperref' package did in LaTeX.


Season's greetings,

Matija

-- 
gsm: +386 41 849 552
e-mail: [EMAIL PROTECTED]
www: http://matija.suklje.name

aim: hookofsilver
icq: 110183360
jabber/g-talk: [EMAIL PROTECTED]
msn: [EMAIL PROTECTED]
yahoo: matija_suklje


signature.asc
Description: This is a digitally signed message part.
___
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] Header unwanted on first page

2007-12-24 Thread Matija Šuklje
Dne sobota 1. decembra 2007 je George N. White III napisal(a):
> \noheaderandfooterlines
> \setupheadertexts[text][XX][YY]

What is the difference between this method and the
\startstandardmakeup
\stopstandardmakeup

method?


Merry Christmas,
Matija

-- 
gsm: +386 41 849 552
e-mail: [EMAIL PROTECTED]
www: http://matija.suklje.name

aim: hookofsilver
icq: 110183360
jabber/g-talk: [EMAIL PROTECTED]
msn: [EMAIL PROTECTED]
yahoo: matija_suklje


signature.asc
Description: This is a digitally signed message part.
___
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] page numbers in Table of Contents, mismatch

2007-12-24 Thread Saji Hameed





On Dec 24, 2007, at 3:22 AM, Wolfgang Schuster wrote:


On Wed, 19 Dec 2007 02:06:12 +0900
Saji N Hameed <[EMAIL PROTECTED]> wrote:


Dear ConText gurus,

I am faced with a new problem with the page numbering in the
Table of Contents. In the appendices, I use:

\setuppagenumbering
   [way=bychapter,
chapternumber=yes,
numberseparator=-]

to get page numbers like A-15, B-24 ... etc
However, the page numbers associated with Appendix 1 in the Table
of Contents is like

  1 Introduction   11
1.1 Goals of Research  11
1.2 Necessity of Research  11

  A Real-time Monitoring of Intraseasonal Variations 15
  B Drought Monitoring Based on Standardized Precipitation Index 24

I am wondering if there is a way to get ConText to write my TOC as:

  A Real-time Monitoring of Intraseasonal Variations A-15
  B Drought Monitoring Based on Standardized Precipitation Index B-24

My document is structured as follows:

\input layout
\starttext

  \startfrontmatter
\input HomePage
  \stopfrontmatter

  \placelist[chapter,section]

  \startbodymatter
\input Chapter1
\input Chapter2
  \stopbodymatter

  \startappendices
\input Appendix1
\input Appendix2
  \stopappendices

\stoptext

Thanks as always,

saji


Please send next time a working example.

\usemodule[visual]

\def\doMyCommand#1--#2-#3-#4--#5]\relax{{\convertnumber{A}{#3}-#5}}
\def\MyCommand#1{\expandafter\doMyCommand#1\relax}

\startsectionblockenvironment[appendix]

\setuppagenumbering
   [way=bychapter,
chapternumber=yes,
numberseparator=-]

%\setuplist[section][state=stop]

\writebetweenlist[chapter]{\setuplist[chapter]
[chapternumber=yes,pagecommand=\MyCommand]}

\stopsectionblockenvironment

\starttext

\startfrontmatter

\completecontent

\stopfrontmatter

\startbodymatter

\dorecurse{4}
  {\chapter{\fakewords{5}{10}}
   \dorecurse{4}
 {\section{\fakewords{5}{10}}
  \dorecurse{2}{\fakewords{100}{150}\par}}}

\stopbodymatter

\startappendices

\dorecurse{4}
  {\chapter{\fakewords{5}{10}}
   \dorecurse{4}
 {\section{\fakewords{5}{10}}
  \dorecurse{3}{\fakewords{40}{80

\stopappendices

\stoptext

This is the best solution I found, it is a little bit ugly (llok at
the ] in \doMyCommand) but the only working solution.

Merry Christmas.

Wolfgang


Dear Wolfgang,

Thanks as always.

Wish you a  Merry Christmas and a Happy 2008,

saji

__ 
_
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
__ 
_


___
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] luatex on x86_64

2007-12-24 Thread Taco Hoekwater
Gour wrote:
> 
> 
> So,  something is missing...any pointer for up-to-date doc (url) for
> installing/updating of minimal ConTeXt/luatex on x86_64 ?

Your problem is quite generic. There really is only one executable
built: luatex. 'texlua' and 'texluac' are alternate personalities of
that executable, 'luatools' and 'mtxrun' are scripts from the
context distribution. See this page about installing MarkIV:

   http://wiki.contextgarden.net/Install_Mark_IV

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] [Dev-luatex] luatex not compiling

2007-12-24 Thread Taco Hoekwater
Jjgod Jiang wrote:
> On Fri, 21 Dec 2007, Taco Hoekwater wrote:
 it on OSX? On linux it's  ...
>>> Should'nt this discssion go to the dev-luatex list? :-)
>> But did not CC the list himself. :-)
>>
>> This:   http://www.hmug.org/man/2/sigaltstack.php
>>
>> looks like a Mac OS X manual page. However, Thomas reported that
>> using stack_t (as the man page says) did not actually help either.
>>
>> I do not have a recent Macintosh, so I can not test this. If this
>> issue can not be resolved, I will simply remove the signal trapping
>> code in the next beta.
> 
> Will you please elaborate? I'm not quite sure what you guys are talking
> about, but  (/usr/include/signal.h) in current Mac OS X (10.5,
> 10.4 at least) already included .

Perhaps not any more in 10.5? Something changed from 10.4 to 10.5 that
broke luatex's build process. Just the building though, pre-compiled
binaries work fine. What exactly has changed is a mystery so far.

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] luatex not compiling

2007-12-24 Thread Taco Hoekwater
Hans van der Meer wrote:
> I looked somewhat further and found out the curious fact that on  
> MacOSX 10.5.x both /usr/include/signal.h and /usr/include/sys/signal.h  
> exist!

That is normal, signals have a portable interface, as defined in
ISO C99. That is the interface provided in /usr/include/signal.h.

It is also possible to have a system-dependant interface, and that
is in /usr/include/sys/signal.h. On linux, this is a stub that
simply includes /usr/include/signal.h.

So the question is: does /usr/include/sys/signal.h include something
important on Mac OS X 10.5 that it didn't in previous versions, or
is something else changed?

The only macbook I have runs 10.2, so I have no way of testing any
of this myself.

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] migrating to ConTeXt

2007-12-24 Thread Aditya Mahajan
On Sat, 22 Dec 2007, Gour wrote:

> 5) I read LaTeX in proper ConTeXt pdf, but I'm interested is there some 
> helper to convert classical LaTeX book (book class) to ConTeXt? I've two 
> books which I'm considering to publish as one (~1000p) in the future, so 
> any help in conversion would be nice.

I do this quite often (ConTeXt -> LaTeX), so I am just writing my thoughts 
about this. A general purpose translator from ConTeXt to LaTeX is VERY 
difficult, because of the nature of both macro languages. However, it is 
relatively simple to convert a subset of one to the other. Currently, I 
write most of my papers in ConTeXt. For the final version of the paper, 
most journals want LaTeX. I know my style of writing ConTeXt, and can 
easily convert 95% percent of it to LaTeX using regular expressions (and 
have been thinking of exploring gema in more detail: 
http://gema.sourceforge.net/). It is easier to do the rest by hand rather 
than writing a script that takes care of all the corner cases. Usually it 
takes me around 2 hours to convert a (30-40 page) paper from ConTeXt to 
LaTeX. Since this needs to be done only once every six months or so, I 
have not spent too much time trying to optimize my approach. I think that 
the same will be true for conversion from LaTeX to ConTeXt. However, I 
would suggest that you start by writing some ConTeXt documents by hand, 
before you automate the conversion. This way, you will know what you want 
to achieve from a conversion script.

Another option is to write a ConTeXt module that will allow you to 
understand LaTeX. For most environments, this is simple. There are a few 
examples on the wiki about this.


> 6) the most important issue - by looking at luaTeX docs & archives I
> noticed that it was mentioned there is some book on ConTeXt in
> preparation - I gave up on ConTeXt in the past due to this reason -
> lack of up-to-date documentation - didn't have enough time to try to
> sovle the puzzle by inspecting different 'magazines' etc. cause I was
> able to do the kob with LaTeX for which I've documentation in the form
> of paper books.

Actually, from a user's point of view, most things are included in the 
ConTeXt manuals. They are not exhaustive or up-to-date, but do convey the 
essential information. For most tasks you do not need to know the current 
state of affairs in ConTeXt.

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
___


[NTG-context] [important] ConTeXt Meeting: call for talks & participants

2007-12-24 Thread Mojca Miklavec
Hello,

I will send a more elaborate mail shortly (with a longer explanation),
but to put it into a few words, I need to know:

a) a rough estimate of the number of people who are planning to come
to Bohinj from 20th-25th August
b) [REALLY IMPORTANT] some preliminary talks held by people with any
kind of academic references

For a), I will put a web form online within a few days (so no hurry until then)
For b), I would like to ask people (apart from Hans and Taco, who will
get another mail) who have any kind of academic references (being a
professor, having some reasonable citation index, obtaining any kind
of grants (Idris?), being editor of any journals, being a Nobel
laureate :) or whatever else) and are planning to come, to drop me a
private mail.

I will try to apply for funding (for organisation of scientific
meeting) to lower the fee. The chances to get that funding is low, but
still worth trying, and the number & quality of foreign speakers is
one of criteria to be able to get the funding.

The meeting will last for 5 days (4 full days, 5 times sleeping
there), the fee most probably won't exceed 200 EUR (including
accomodation, food, conference materials and at least one half-day or
full-day excursion), and there are 4 low-cost airports around
(*Ljubljana - Easyjet & Wizzair, Maribor, Trieste, Klagenfurt).

Thanks a lot,
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] migrating to ConTeXt

2007-12-24 Thread Wolfgang Schuster
On Mon, 24 Dec 2007 07:43:35 +0100
Gour <[EMAIL PROTECTED]> wrote:

> On Sun, 23 Dec 2007 08:39:56 -0700
> "Idris Samawi Hamid" <[EMAIL PROTECTED]> wrote:
> 
> > Which is why we need a team :-) 
> 
> Right. This sounds as reasonable proposal - let every expert writes his/her 
> part.

We're too less experts.

> > Anyway, as soon as luatex/mkiv is  relatively stable, the hyperbola is 
> > still a bit too far from the
> > asymptote at the moment...
> 
> Hmm, isn't luatex already quite stable?

It's still a beta version but the bugs in the current version should be
fixed and it should work with the latest stable ConTeXt without
problems. I used it myself last week and found and the only real bug is
fixed.

Try it and send examples for problems.

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] luatex on x86_64

2007-12-24 Thread Gour
Hi!

I'm sold to luatex and plan to use it exclusively for all ConTeXt
typesetting in order to help somewhat with testing it.

However, I've some old lyx/latex stuff which needs to be migrated, so
I'd prefer to keep my texlive installation for such stuff and having
minimal ConTeXt installation to be able to typeset with luatex.

There is pretty new PKGBUILd script for Arch Linux and I modified it a
bit (see http://tinyurl.com/3yk6vw) in order to built luatex on x86_64.

However, I see that build.sh.linux (for i386) and build.sh script
differs, and the PKGBUILD created just /opt/texlive/bin/luatex
executable.

Not having access to i686 (i386) machine, I wonder what else is
required to have working luatex installation?

The content of /opt/texlive/bin/luatools script is:
#!/bin/sh
texmfstart luatools.lua "$@"

Running "Hello world" example gives:

[EMAIL PROTECTED] ~/tmp> texexec --lua test.tex
TeXExec | processing document 'test.tex'
TeXExec | no ctx file found
TeXExec | tex processing method: context
TeXExec | TeX run 1
TeXExec | writing option file test.top
TeXExec | using randomseed 1079
TeXExec | tex engine: luatex
TeXExec | tex format: cont-en
the file 'luatools' is not found
TeXExec | runtime: 0.308419

Here is the build() function from PKGBUILD:

build() {
  cd $startdir/src/$pkgname-$pkgver
  if [ "${CARCH}" = "i686" ]; then
cp $startdir/src/$pkgname-$pkgver/build.sh.linux
$startdir/src/$pkgname-$pkgver/build.sh fi
  ./build.sh --datadir=/opt/texlive || return 1 
# Overwrite old files
#  make $PREFIX=$startdir/pkg/$pkgname-$pkgver install || return 1  
  install -d $startdir/pkg/opt/texlive/bin
  if [ "${CARCH}" = "i686" ]; then
install -m 755 linux/texk/web2c/luatex $startdir/pkg/opt/texlive/bin
  else
install -m 755 build/texk/web2c/luatex $startdir/pkg/opt/texlive/bin
  fi
}

Here are outputs from texexec & luatex:

[EMAIL PROTECTED] ~/tmp> texexec --lua test.tex
TeXExec | processing document 'test.tex'
TeXExec | no ctx file found
TeXExec | tex processing method: context
TeXExec | TeX run 1
TeXExec | writing option file test.top
TeXExec | using randomseed 152
TeXExec | tex engine: luatex
TeXExec | tex format: cont-en
the file 'luatools' is not found
TeXExec | runtime: 0.257507
[EMAIL PROTECTED] ~/tmp> luatex test.tex
This is LuaTeX, Version snapshot-0.20.2-2007122417 (Web2C 7.5.6)
I can't find the format file `luatex.fmt'!


So,  something is missing...any pointer for up-to-date doc (url) for
installing/updating of minimal ConTeXt/luatex on x86_64 ?

Sincerely,
Gour


signature.asc
Description: PGP signature
___
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] luatex and context for Debian

2007-12-24 Thread Johannes Graumann
Great! amd64 will be much appreciated ... where to get your gpg key from?

Frohes Fest!

Joh

Norbert Preining wrote:

> Dear all,
> 
> I have updated luatex and context so currently I can even run MkIV
> documents ;-)
> 
> Debian/sid users should have them already.
> 
> Debian/etch users should get luatex 0.20.2-1 from
> deb http://people.debian.org/~preining/TeX/ luatex/
> deb-src http://people.debian.org/~preining/TeX/ luatex/
> Currently I have only i386 packages, but will build amd64 for etch soon.
> And maybe powerpc builds can be organized.
> 
> For context 2007.12.18-1 please add
> deb http://people.debian.org/~preining/TeX/ context/
> deb-src http://people.debian.org/~preining/TeX/ context/
> 
> Just for completeness, it is good to have:
> texlive:
> deb http://people.debian.org/~preining/TeX/ tl2007/
> deb-src http://people.debian.org/~preining/TeX/ src/
> 
> latin modern:
> deb http://people.debian.org/~preining/TeX/ lmodern/
> deb-src http://people.debian.org/~preining/TeX/ lmodern/
> 
> 
> For Ubuntu users of the development version (i.e., that tracking sid
> more or less) luatex can be found at
> deb http://people.debian.org/~preining/TeX/ luatex-sid/
> deb-src http://people.debian.org/~preining/TeX/ luatex-sid/
> 
> Please comment if you find something missing.
> 
> 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
> ---
> HASSOP (n.) The pocket down the back of an armchair used for storing
> two-shilling bits and pieces of Lego.
> --- 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] migrating to ConTeXt

2007-12-24 Thread Gour
On Mon, 24 Dec 2007 09:29:26 +0100
Hans Hagen <[EMAIL PROTECTED]> wrote:

> yes and no ... luatex's interfaces may change, as may some
> functionality (much starts as experiment, is tested, evolves, is
> optimized, etc); 

That's understandable, nothing to complain about.

> however, as long as you update the binaries and
> context mkiv at the same time you should be able to use it; 

OK. I've some problem in using it, but since I decided to migrate to
ConTeXt (printed & put in spiral binding 3 manuals today: excursion, 
manual & commands), i.e. I'm concidering myself a new (old) ConTeXt
user - I'll open a new thread for x86_64 install.

> i'm using luatex/mkiv is some projects since it's the only way to
> really torture test it (since taco and i are more or less constantly
> working on luatex/mkiv this is doable)

Heh, I'll also try to use luatex exclusively hoping to hit some potential
problem and help with some testing.

Sincerely,
Gour
___
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] luatex not compiling

2007-12-24 Thread Hans van der Meer
I looked somewhat further and found out the curious fact that on  
MacOSX 10.5.x both /usr/include/signal.h and /usr/include/sys/signal.h  
exist!
The first one does not include the second one, neither does one of the  
includes:
#ifndef _USER_SIGNAL_H
#define _USER_SIGNAL_H
#include 
#include <_types.h>

As for changing the discussion to the luatex developer list as  
suggested by some: my capacity for subscribing list is limited --  
capacity in the sense of what I can manage.
Putting my observations on the compiler problem with luatex on this  
list was purely to help others. I hope one will permit me to keep  
doing so.

Hans van der Meer



On 21 dec 2007, at 11:50, Martin Schröder wrote:

> 2007/12/20, Hans van der Meer <[EMAIL PROTECTED]>:
>> Probably changing the code into:
>> #include 
>> #ifndef _SIGNAL_H_
>> #include 
>> #endif
>> might help, but I have not tested this (some of the pie should be  
>> left
>> for Taco c.s. ;-)
>
> Just curious: What does the man page of signal.h say how to include
> it on OSX? On linux it's  ...
>
> Best
>   Martin
> ___
> 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
> ___

___
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] migrating to ConTeXt

2007-12-24 Thread Idris Samawi Hamid
On Sun, 23 Dec 2007 23:43:35 -0700, Gour <[EMAIL PROTECTED]> wrote:

> On Sun, 23 Dec 2007 08:39:56 -0700
> "Idris Samawi Hamid" <[EMAIL PROTECTED]> wrote:
>
>> Which is why we need a team :-)
>
> Right. This sounds as reasonable proposal - let every expert writes  
> his/her part.
>
>> Anyway, as soon as luatex/mkiv is  relatively stable, the hyperbola is  
>> still a bit too far from the
>> asymptote at the moment...
>
> Hmm, isn't luatex already quite stable?

It's in beta but there is still a ways to go and features etc. may  
change... same for mkiv (the ConTeXt interface)

But we're getting there...

Best wishes
Idris

-- 
Professor Idris Samawi Hamid, Editor-in-Chief
International Journal of Shi`i Studies
Department of Philosophy
Colorado State University
Fort Collins, CO 80523

--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
___
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] migrating to ConTeXt

2007-12-24 Thread Hans Hagen
Gour wrote:
> On Sun, 23 Dec 2007 08:39:56 -0700
> "Idris Samawi Hamid" <[EMAIL PROTECTED]> wrote:
> 
>> Which is why we need a team :-) 
> 
> Right. This sounds as reasonable proposal - let every expert writes his/her 
> part.
> 
>> Anyway, as soon as luatex/mkiv is  relatively stable, the hyperbola is still 
>> a bit too far from the
>> asymptote at the moment...
> 
> Hmm, isn't luatex already quite stable?

yes and no ... luatex's interfaces may change, as may some functionality 
(much starts as experiment, is tested, evolves, is optimized, etc); 
however, as long as you update the binaries and context mkiv at the same 
time you should be able to use it; about august 2008 much of the current 
api will stabelize; august 2009 we hope to have a complete api

i'm using luatex/mkiv is some projects since it's the only way to really 
torture test it (since taco and i are more or less constantly working on 
luatex/mkiv this is doable)

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
___


Re: [NTG-context] preview-context

2007-12-24 Thread Hans Hagen
Aditya Mahajan wrote:

> Run context with a custom module, which writes the content of each 
> \startformula  \stopformula into a temporary file as
> \startTEXpage \startformula  \stopformula \stopTEXpage. Lilypond 
> and gnuplot modules already do something similar. Then process the 
> temporary tex file. You will get a pdf file with one formula on each page. 
> Convert each page into png, and use some lisp magic to insert the image at 
> appropriate places in the buffer. Obviously I am missing a lot of things.
> But, am I correct in assuming that from the context end, the problem is 
> simple?

that's what i meant with components (formulas and such) and that should 
be doable (i just wonder why previewing snippets of pdf is no option so 
that you can avoid the png stage)

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
___


Re: [NTG-context] preview-context

2007-12-24 Thread Gour
On Sun, 23 Dec 2007 17:20:41 +0100
Patrick Gundlach <[EMAIL PROTECTED]> wrote:

> Hi Gour,
> 
> I'm the guy who created etexshow.

I recognize your name from the past ;)

> No there is not. I don't use emacs any more (for ConTeXt). 

:-(

> I will  take a look at texshow.contextgarden.net in the first quarter of 2008;
> perhaps I'll have a look at etexshow at the same time. 

Thanks a lot.

> And if you are interested in AUCTeX development, don't hesitate. elisp
> is not that hard and very, very interesting to program in. A lot of
> people will be greatful!

I'll try my best...the problem is that I only have 24hrs per day ;)

Sincerely,
Gour
___
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] [Dev-luatex] luatex not compiling

2007-12-24 Thread Jjgod Jiang

On Fri, 21 Dec 2007, Taco Hoekwater wrote:
>>> it on OSX? On linux it's  ...
>> 
>> Should'nt this discssion go to the dev-luatex list? :-)
>
> But did not CC the list himself. :-)
>
> This:   http://www.hmug.org/man/2/sigaltstack.php
>
> looks like a Mac OS X manual page. However, Thomas reported that
> using stack_t (as the man page says) did not actually help either.
>
> I do not have a recent Macintosh, so I can not test this. If this
> issue can not be resolved, I will simply remove the signal trapping
> code in the next beta.

Will you please elaborate? I'm not quite sure what you guys are talking
about, but  (/usr/include/signal.h) in current Mac OS X (10.5,
10.4 at least) already included .

- Jiang
___
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] preview-context

2007-12-24 Thread Gour
On Sun, 23 Dec 2007 19:29:00 -0500 (EST)
Aditya Mahajan <[EMAIL PROTECTED]> wrote:

> I disagree. I was grately impressed by preview-latex when I tried it 
> (around 2 years ago), so much so that I even considered moving to
> emacs from vim. It is extremely useful for mathematics and images:
> you can see the typeset result rather than a bunch of code. This
> means that you can proofread in the editor rather than a pdf (or dvi)
> reader.

Besides the above use-cases (I do not need math), I'm thinking about the 
tables - having some visual help can, imho, help a lot.

> What is needed for an improved support of preview-latex in context?
> Last time I looked into preview.sty, I could not understand how it
> works. If I were to do the same thing, this is how I would do it.
> 
> Run context with a custom module, which writes the content of each 
> \startformula  \stopformula into a temporary file as
> \startTEXpage \startformula  \stopformula \stopTEXpage.
> Lilypond and gnuplot modules already do something similar. Then
> process the temporary tex file. You will get a pdf file with one
> formula on each page. Convert each page into png, and use some lisp
> magic to insert the image at appropriate places in the buffer.
> Obviously I am missing a lot of things. But, am I correct in assuming
> that from the context end, the problem is simple?

Thank you for your insight...

Let me become more familiar with the emacs and Context first, then we can take a
closer look at elisp & preview-latex...

Sincerely,
Gour

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