[NTG-context] pdf forms

2008-05-30 Thread Bernhard Boser
I wrote a simple context file for pdf form filling. Translates fine, but the
resulting pdf simply shows text but no fillable forms. What's needed to
actually get forms?

 

Here's the tex code:

 

% interface=en tex=pdfetex output=pdftex

\starttext

Field 1: \fillinfield[name]{text that defines field length}

\definefield [Email] [line] [ShortLine] [] [EMAIL PROTECTED]

Field 2: \field [Email] [your email]

\stoptext

 

Thanks!

Bernhard

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

2008-05-30 Thread Lutz Haseloff
try \setupinteraction[state=start]

Greetings Lutz

2008/5/29 Bernhard Boser [EMAIL PROTECTED]:
 I wrote a simple context file for pdf form filling. Translates fine, but the
 resulting pdf simply shows text but no fillable forms. What's needed to
 actually get forms?



 Here's the tex code:



 % interface=en tex=pdfetex output=pdftex

 \starttext

 Field 1: \fillinfield[name]{text that defines field length}

 \definefield [Email] [line] [ShortLine] [] [EMAIL PROTECTED]

 Field 2: \field [Email] [your email]

 \stoptext



 Thanks!

 Bernhard

 ___
 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] How could a typesetting system be today?

2008-05-30 Thread luigi scarso
On Fri, May 30, 2008 at 7:08 AM, Aditya Mahajan [EMAIL PROTECTED] wrote:
 On Fri, 30 May 2008, Maurí­cio wrote:

 Hi,

 Just because I'm curious: how could a typesetting system like TeX
 be if it was created today?
luatex
http://www.luatex.org

 There is ant http://ant.berlios.de/

 River detection, which is done by ant, but not by TeX.
http://osdir.com/ml/tex.context/2001-01/msg00057.html

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


Re: [NTG-context] How could a typesetting system be today?

2008-05-30 Thread Yue Wang
 There is ant http://ant.berlios.de/, but it is supposed to be saner form of
 TeX (in terms of source code, and easy of configuration) which was developed
 from scratch. The user interface is quite similar to TeX. I do not know much
 about the internal differences between Ant and TeX.

ANT have many major improvements. But as to the output pdf file of
ANT, I cannot see much difference:(

 River detection, which is done by ant, but not by TeX. Also since the
 computers now are more powerful, I think that doing page breaking on a
 global manner (or atleast by looking two three pages down, rather than just
 the current page), will make certain things (like long mathematical
 forumlas, and complex footnotes) appear nicely without a lot of manual
 tweaking.
Agreed. River detection and global page break are very important for
an advanced Typesetting system.
I think control arbitrary streams on pages (available many advanced
software, like InDesign) are also useful.
I hope they will be in LuaTeX soon.
___
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] How could a typesetting system be today?

2008-05-30 Thread Taco Hoekwater


Maurí­cio wrote:
 Hi,
 
 Just because I'm curious: how could a typesetting system like TeX
 be if it was created today? I've tried google and wikipedia, and
 all I found different from TeX is a system called 'Lout', but it
 seems dead.
 
 Does anyone knows about novel or interesting ideas that could be
 used if we would write a new typesetting system from scratch?

Practically speaking, I expect it would be a lot like lyx with
tex built in. Who would design a document language without
front-end these days?


___
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] How could a typesetting system be today?

2008-05-30 Thread Taco Hoekwater


Aditya Mahajan wrote:
 
 Does anyone knows about novel or interesting ideas that could be
 used if we would write a new typesetting system from scratch?
 
 River detection, which is done by ant, but not by TeX. 

If there was a clear algorithm I could implement that in luatex.
But I have not seen any whitepaper on the subject and I cannot
read OCaml source well enough to understand what is going on ...
___
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] markup format --- ConTeXt

2008-05-30 Thread Gour
Hi!

At the moment I use Emacs Muse for writing my study notes which I then
have to submit as *.doc file (muse -- html - OO -- doc).

I like it 'cause it enables me to combine all the notes and convert into
ConTeXt later.

However, the only disadvantage of it is that Muse markup is tied to
Emacs editor and not so popular for those using other editors. Therefore
I am considering some other 'easy' markup with the ConTeXt back-end.

Some of the more popular markup-formats are AsciiDoc
(http://www.methods.co.nz/asciidoc/index.html) and reStructuredText
(http://docutils.sourceforge.net/rst.html), but according to what I see
both are missing ConTeXt back-end (latex only) :-(

Any suggestion for 'popular' markup with ConTexT back-end?


Sincerely,
Gour


-- 

Gour  | Zagreb, Croatia  | GPG key: C6E7162D



pgphp0M7JDuZ8.pgp
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] How could a typesetting system be today?

2008-05-30 Thread Yue Wang
Hi.

 Practically speaking, I expect it would be a lot like lyx with
 tex built in. Who would design a document language without
 front-end these days?


Maybe using LuaTeX + wxLua + Poppler is a better approach?

Yue Wang
___
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] How could a typesetting system be today?

2008-05-30 Thread Steffen Wolfrum

Am 30.05.2008 um 09:12 schrieb Yue Wang:

 advanced software, like InDesign


well ... cough ...


Steffen
___
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] markup format --- ConTeXt

2008-05-30 Thread Aditya Mahajan
On Fri, 30 May 2008, Gour wrote:

 Hi!

 At the moment I use Emacs Muse for writing my study notes which I then
 have to submit as *.doc file (muse -- html - OO -- doc).

 I like it 'cause it enables me to combine all the notes and convert into
 ConTeXt later.

 However, the only disadvantage of it is that Muse markup is tied to
 Emacs editor and not so popular for those using other editors. Therefore
 I am considering some other 'easy' markup with the ConTeXt back-end.

 Some of the more popular markup-formats are AsciiDoc
 (http://www.methods.co.nz/asciidoc/index.html) and reStructuredText
 (http://docutils.sourceforge.net/rst.html), but according to what I see
 both are missing ConTeXt back-end (latex only) :-(

 Any suggestion for 'popular' markup with ConTexT back-end?

Have a look at pandoc which converts markdown to ConTeXt and also to many 
other formats including html. There was also some discussion for 
conversion to OO, but I do not know the current status of that.

http://johnmacfarlane.net/pandoc/

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] How could a typesetting system be today?

2008-05-30 Thread Martin Schröder
2008/5/30 Taco Hoekwater [EMAIL PROTECTED]:
 Aditya Mahajan wrote:
 River detection, which is done by ant, but not by TeX.

 If there was a clear algorithm I could implement that in luatex.
 But I have not seen any whitepaper on the subject and I cannot
 read OCaml source well enough to understand what is going on ...

AFAIK it doesn't work.

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
___


Re: [NTG-context] How could a typesetting system be today?

2008-05-30 Thread Yue Wang
On 5/30/08, Steffen Wolfrum [EMAIL PROTECTED] wrote:

 Am 30.05.2008 um 09:12 schrieb Yue Wang:

  advanced software, like InDesign


 well ... cough ...

There is no denying that many advanced features in InDesign are
missing in TeX(like) related software. What's more, the
internationalization of InDesign is better.


 Steffen
 ___
 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] How could a typesetting system be today?

2008-05-30 Thread Olivier Guéry
On Fri, May 30, 2008 at 6:18 AM, Maurí­cio [EMAIL PROTECTED] wrote:
 Hi,

 Just because I'm curious: how could a typesetting system like TeX
 be if it was created today? I've tried google and wikipedia, and
 all I found different from TeX is a system called 'Lout', but it
 seems dead.


I think that the input language would be xml in order to be easily
adapt to html, epub, odt…
The today difference is that we need to be able to put the text on
many different devices : paper, screen, epaper…

Olivier.


-- 
[Message tapé sur un clavier Bépo : http://www.clavier-dvorak.org ]
Olivier [EMAIL PROTECTED] http://nemolivier.blogspot.com
___
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] How could a typesetting system be today?

2008-05-30 Thread Idris Samawi Hamid
Hi Yue,

On Fri, 30 May 2008 06:24:56 -0600, Yue Wang [EMAIL PROTECTED] wrote:

  advanced software, like InDesign


 well ... cough ...

 There is no denying that many advanced features in InDesign are
 missing in TeX(like) related software. What's more, the
 internationalization of InDesign is better.

Can you give a precise list of the features contained in InDesign that are  
missing in (lua)TeX or which TeX does not support well?

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
___
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] How could a typesetting system be today?

2008-05-30 Thread Steffen Wolfrum

Am 30.05.2008 um 14:24 schrieb Yue Wang:

 On 5/30/08, Steffen Wolfrum [EMAIL PROTECTED] wrote:

 Am 30.05.2008 um 09:12 schrieb Yue Wang:

 advanced software, like InDesign


 well ... cough ...

 There is no denying that many advanced features in InDesign are
 missing in TeX(like) related software. What's more, the
 internationalization of InDesign is better.


;o)

... you can buy a czech version or a polish version, for working with  
hebrew you may buy a hebrew or a middle eastern version ... and wasn't  
there also an arabic version to buy?

With TeX you only have one piece for all ... and you can't even buy it.


Steffen
___
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] How could a typesetting system be today?

2008-05-30 Thread Alan BRASLAU
On Friday 30 May 2008 16:15:08 Steffen Wolfrum wrote:
 Am 30.05.2008 um 14:24 schrieb Yue Wang:
  On 5/30/08, Steffen Wolfrum [EMAIL PROTECTED] wrote:
  Am 30.05.2008 um 09:12 schrieb Yue Wang:
  advanced software, like InDesign
 
  well ... cough ...
 
  There is no denying that many advanced features in InDesign are
  missing in TeX(like) related software. What's more, the
  internationalization of InDesign is better.

 ;o)

 ... you can buy a czech version or a polish version, for working with
 hebrew you may buy a hebrew or a middle eastern version ... and wasn't
 there also an arabic version to buy?

 With TeX you only have one piece for all ... and you can't even buy it.


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


You are also free to purchase future new versions of InDesign, Illustrator, 
and the like, not to mention that of the operating system that it runs under!

-- 
Alan Braslau
CEA DSM-IRAMIS-SPEC
CNRS URA 2464
Orme des Merisiers
91191 Gif-sur-Yvette cedex FRANCE
tel: +33 1 69 08 73 15
fax: +33 1 69 08 87 86
mailto:[EMAIL PROTECTED]

http://www-dna2006.cea.fr/

 .''`.
: :'  :
`. `'`
  `-
___
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] markup format --- ConTeXt

2008-05-30 Thread Gour
 Aditya == Aditya Mahajan [EMAIL PROTECTED] writes:

Hello Mahajan ;)

Aditya Have a look at pandoc which converts markdown to ConTeXt and
Aditya also to many other formats including html. There was also some
Aditya discussion for conversion to OO, but I do not know the current
Aditya status of that.

Heh, shortly after posting to the list I found out about pandoc.

One thing which worries me is the info from user-guide: ...For example,
it doesn’t handle tables, option lists, or footnotes. 

Do you have any experience with pandoc and reST as well as quality of
ConTeXt output?

It looks that markdown is first class citizen in pandoc, but no idea how
it compares with ReST.


Sincerely,
Gour

-- 

Gour  | Zagreb, Croatia  | GPG key: C6E7162D



pgpZPYgYfYrVB.pgp
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
___


[NTG-context] split cells ? world lost !

2008-05-30 Thread Steffen Wolfrum
Hi,

hope the answer to my question is not too obvious: How do I split not  
only TABLE but cells?

Please, have a look at this minimal:

\starttext
\bTABLE[split=yes,option=stretch]
\bTR
\bTD
\input tufte \input knuth Hello world ...
\eTD
\bTD
\input tufte
\eTD
\bTD
\input knuth
\eTD
\eTR
\bTR
\bTD
Test
\eTD
\bTD
Test
\eTD
\bTD
Test
\eTD
\eTR
\eTABLE
\stoptext



(Hello) world lost?

Thanks,

Steffen
___
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] split cells ? world lost !

2008-05-30 Thread Hans Hagen
Steffen Wolfrum wrote:
 Hi,
 
 hope the answer to my question is not too obvious: How do I split not  
 only TABLE but cells?
 
 Please, have a look at this minimal:
 
 \starttext
 \bTABLE[split=yes,option=stretch]
 \bTR
 \bTD
 \input tufte \input knuth Hello world ...
 \eTD
 \bTD
 \input tufte
 \eTD
 \bTD
 \input knuth
 \eTD
 \eTR
 \bTR
 \bTD
 Test
 \eTD
 \bTD
 Test
 \eTD
 \bTD
 Test
 \eTD
 \eTR
 \eTABLE
 \stoptext

not possible
-- 

-
   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] How could a typesetting system be today?

2008-05-30 Thread Henning Hraban Ramm
Am 2008-05-30 um 14:31 schrieb Idris Samawi Hamid:
 There is no denying that many advanced features in InDesign are
 missing in TeX(like) related software. What's more, the
 internationalization of InDesign is better.

 Can you give a precise list of the features contained in InDesign  
 that are
 missing in (lua)TeX or which TeX does not support well?


- much faster (i.e. I don't need to wait for several TeX runs e.g. if  
I need to check if some tweak fixed my page breaking)
- optical (vs. metrical) kerning
- a GUI ;-) and thus layout by let's try how it looks
- layout definition (I struggle with ConTeXt's \setuplayout every time)
- better page breaking constraints (you can define in your style  
sheets keep n lines together and keep this together with the next  
paragraph)
- PDF/X output
- color profile conversions
- image processing features like crop paths, feathered edges, drop  
shadow (in ConTeXt I need to prepare such in Photoshop in the right  
size - but I guess it would be possible to write a module that uses  
ImageMagick to achieve something similar)

Problems in TeX *and* InDesign:
- Unicode handling (composed and decomposed UTF-8 with or without BOM,  
UTF-16, different line endings)

Working with InDesign as a developer I know that TeX's documentation  
is far better. Adobe's developer docs (e.g. on API, XML format,  
InDesign tagged text) are incomplete and errorneous.

I don't think you can call the one or other better or more  
advanced, it's just a different approach, and I choose the right tool  
for every project. (I.e. I only use TeX if I need the same content in  
different versions, if I can automate something or for books.) But the  
layout applications like InDesign (there's still also ugly old  
QuarkXPress, coming-of-age Scribus and some others) have learned a lot  
of the former domains of TeX, like registers and toc generation.

There are still some areas where you need a programmable system, even  
trivia like chapter dependant running titles (in ConTeXt: headertexts).


Greetlings from Lake Constance!
Hraban
---
http://www.fiee.net/texnique/
http://wiki.contextgarden.net
https://www.cacert.org (I'm an assurer)

___
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] How could a typesetting system be today?

2008-05-30 Thread luigi scarso
 There are still some areas where you need a programmable system, even
 trivia like chapter dependant running titles (in ConTeXt: headertexts).
Isn't indesign programmable too ?
I know people who use it in an automatic workflow for db publishing
-- 
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___