ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Henning Hraban Ramm <texml@fiee.net>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Forms and JavaScript
Date: Wed, 7 Oct 2015 15:56:55 +0600	[thread overview]
Message-ID: <32F5C938-261A-41A5-B007-CAA82EA0069D@fiee.net> (raw)
In-Reply-To: <561456DD.9020805@wxs.nl>

Am 2015-10-07 um 05:18 schrieb Hans Hagen <pragma@wxs.nl>:

> On 10/6/2015 6:34 AM, Henning Hraban Ramm wrote:
>> Again working with widgets, this bug or feature – JavaScript code is only copied to the PDF if it’s used in a \goto – is still open.
> 
> feature but you can say
> 
> \startJSpreamble FOO used now
> …

Thank you, that’s great.

>> Additionally, I found that \setupfields (plural) doesn’t work, I need to setup all formatting in each \setupfield.
> 
> fields have always be special as there can be thousands of fields their settings are saved in a special way (in order not to run out of memory / hash space then) ... kind of mkii compatible

Hm, but it worked in MkII? (I guess, at least it’s documented that way.)

>> I found another issue with workaround:
>> http://wiki.contextgarden.net/Tabulate#Itemization_or_framed_objects_inside_a_tabulation
>> You need to set "\tabulatesplitlinemode \plustwo" if you put widgets in a tabulation.
>> Is there any reason not to set this per default?
> 
> it would break other things
> 
> it's hard to predict what goes in cells so some heuristics works better when explicitly told

Ok, then I’d like to understand what the commands do – I’m working on a set of forms, where tabulations break the one or other way, depending on their content. Perhaps I should just use any tables, but can you enlighten me about that splitlinemode?


Greetlings, Hraban
---
http://www.fiee.net
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  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

  reply	other threads:[~2015-10-07  9:56 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-04-02  7:42 Henning Hraban Ramm
2015-04-02 15:07 ` Rik Kabel
2015-04-03  5:06   ` Henning Hraban Ramm
2015-10-06  4:34     ` Henning Hraban Ramm
2015-10-06 23:18       ` Hans Hagen
2015-10-07  9:56         ` Henning Hraban Ramm [this message]
2015-10-07 11:13           ` Hans Hagen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=32F5C938-261A-41A5-B007-CAA82EA0069D@fiee.net \
    --to=texml@fiee.net \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).