something new, user-interfacing to context
Hi, I uploaded a first version of the lightweight eXaMpLe framework. Think of a user interface to: - interactive page imposition (more extensive than texexec, including test bed; more documentation will follow) - an interface to pstopdf, a script on top of ghostscript, which provides a couple of goodies. Processes like these are driven bij xml-data streams and handled by a service on localhost (more extensive distributed processing is under construction). The example things are distributed in a separate zip: http://www.pragma-ade.com/context/beta/cont-tmf.zip http://www.pragma-ade.com/context/beta/cont-exa.zip you can unzip both in your local tree and generate formats as usual. If you launch .../context/examplap/gui/examplap.pdf and browse a bit around, you'll get an idea what is happening. In order for it to really work, a couple of things are needed: (1) you need to install ruby and have ruby in your bin path (2) you need to launch exampler.rb --continue more can be found in http://www.pragma-ade.com/general/manuals/ex-gui.pdf There will be a lot more, for instance interfaces to the figure library, correspondence, etc. The low level things are under construction, so don't start building on it yourself before eximple.pdf and example.pdf go public (manuals). I tested in with fptex/windows; later i will make it miktex ready (waiting for input from mr bigfoot); linux works here, but probably also needs some work. Hans ------------------------------------------------------------------------- Hans Hagen | PRAGMA ADE | pragma@wxs.nl Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com ------------------------------------------------------------------------- information: http://www.pragma-ade.com/roadmap.pdf documentation: http://www.pragma-ade.com/showcase.pdf -------------------------------------------------------------------------
Am Dienstag, 17. Dezember 2002 18:31 schrieb Hans Hagen:
I uploaded a first version of the lightweight eXaMpLe framework. Think of a
The wizard has invented a new spell! If nobody stops him, he will write a complete layout application... ;-)) Grüßlis vom Hraban! -- http://www.fiee.net http://www.ramm.ch ---
Hans Hagen said this at Tue, 17 Dec 2002 18:31:08 +0100:
I tested in with fptex/windows; later i will make it miktex ready (waiting for input from mr bigfoot); linux works here, but probably also needs some work.
I thought I'd give this a try on Mac OS X. At first, exampler.rb wasn't getting the path variables correctly, so I made this change in context/ ruby/xmpl/base.rb, line 686: resolve_tex_data(name,"-expand-var '$#{name.upcase}'") # added single quotes around the environment variable, because # the main shell was trying to expand the variable I've never touched Ruby before, but that seemed to get example correctly listening on 127.0.0.1:8061. I'm running into odd problems with Acrobat Reader, though. I try filling out, say, calcmath.pdf with a simple formula, but the "Go Ahead" button gives the error: "Form submission is not allowed in this document." That seems wrong, especially when I examine the Document Security -> Form Field Fill-in or Signing and it says "Allowed." It's starting to look like I need to use Acrobat as a web plugin before I can submit any forms. But it's not available as a browser plugin for Mac OS X yet... Has anyone else encountered this? Solved it? eXaMpLe seems really exciting... adam -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Adam T. Lindsay atl@comp.lancs.ac.uk Computing Dept, Lancaster University +44(0)1524/594.537 Lancaster, LA1 4YR, UK Fax:+44(0)1524/593.608 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
At 02:26 PM 12/19/2002 +0000, Adam Lindsay wrote:
I'm running into odd problems with Acrobat Reader, though. I try filling out, say, calcmath.pdf with a simple formula, but the "Go Ahead" button gives the error: "Form submission is not allowed in this document." That seems wrong, especially when I examine the Document Security -> Form Field Fill-in or Signing and it says "Allowed."
It's starting to look like I need to use Acrobat as a web plugin before I can submit any forms. But it's not available as a browser plugin for Mac OS X yet...
you need either the full acrobat or indeed the browser plugin; i'm surprised that this is not available on os-x since the mac is a pretty important platform for adobe users, isn't it? is there a reader 4 plugin? Hans ------------------------------------------------------------------------- Hans Hagen | PRAGMA ADE | pragma@wxs.nl Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com ------------------------------------------------------------------------- information: http://www.pragma-ade.com/roadmap.pdf documentation: http://www.pragma-ade.com/showcase.pdf -------------------------------------------------------------------------
On Thu, 19 Dec 2002 16:26:08 +0100, "Hans Hagen"
At 02:26 PM 12/19/2002 +0000, Adam Lindsay wrote:
I'm running into odd problems with Acrobat Reader, though. I try filling out, say, calcmath.pdf with a simple formula, but the "Go Ahead" button gives the error: "Form submission is not allowed in this document." That seems wrong, especially when I examine the Document Security -> Form Field Fill-in or Signing and it says "Allowed."
It's starting to look like I need to use Acrobat as a web plugin before I can submit any forms. But it's not available as a browser plugin for Mac OS X yet...
you need either the full acrobat or indeed the browser plugin; i'm surprised that this is not available on os-x since the mac is a pretty important platform for adobe users, isn't it? is there a reader 4 plugin?
We're surprised too :-). Someone (not me right now) ought to contact both Apple (who ought to add these capabilities to the OS itself, with its PDF engine) and Adobe (who should have released this plug-in a long time ago) about this. To answer your question, Reader 4 doesn't run natively on OS X. Bruce -- http://fastmail.fm - Sent 0.000002 seconds ago
At 08:04 AM 12/19/2002 -0800, you wrote:
We're surprised too :-). Someone (not me right now) ought to contact both Apple (who ought to add these capabilities to the OS itself, with its PDF engine) and Adobe (who should have released this plug-in a long time ago) about this.
ok, i'll ask the tex-mac contact person -) Hans ------------------------------------------------------------------------- Hans Hagen | PRAGMA ADE | pragma@wxs.nl Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com ------------------------------------------------------------------------- information: http://www.pragma-ade.com/roadmap.pdf documentation: http://www.pragma-ade.com/showcase.pdf -------------------------------------------------------------------------
Hans Hagen said this at Thu, 19 Dec 2002 16:26:08 +0100:
you need either the full acrobat or indeed the browser plugin; i'm surprised that this is not available on os-x since the mac is a pretty important platform for adobe users, isn't it? is there a reader 4 plugin?
That would be the problem, then. Well, *I* think the Mac is pretty important, but Adobe is put in a strange position with Mac OS X. DisplayPDF runs throughout the OS, using Apple's own implementation. A side-effect of this is that any Mac OS X program can generate a PDF file as easily as it prints, taking away most users' need for a full version of Acrobat. I'm no print-industry expert, but I suspect that this puts Adobe in a confusing situation in what to support in the new OS. So, there's no MacOSX-native Adobe Acrobat plug-in, and the third-party one that's available doesn't have any worthwhile web features. I generally prefer to do my viewing in AcroRead, anyway... Sorry if I wandered off-topic. adam -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Adam T. Lindsay atl@comp.lancs.ac.uk Computing Dept, Lancaster University +44(0)1524/594.537 Lancaster, LA1 4YR, UK Fax:+44(0)1524/593.608 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
At 04:08 PM 12/19/2002 +0000, Adam Lindsay wrote:
Sorry if I wandered off-topic.
But is there a full acrobat (former exchange) then? Hans ------------------------------------------------------------------------- Hans Hagen | PRAGMA ADE | pragma@wxs.nl Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com ------------------------------------------------------------------------- information: http://www.pragma-ade.com/roadmap.pdf documentation: http://www.pragma-ade.com/showcase.pdf -------------------------------------------------------------------------
Hans Hagen said this at Thu, 19 Dec 2002 17:31:40 +0100:
But is there a full acrobat (former exchange) then?
Yes. http://www.adobe.com/products/acrobat/acrobatOSX.html Haven't used it yet, as it's pricy for what it offers over the Reader/ native OS's functionality. adam -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Adam T. Lindsay atl@comp.lancs.ac.uk Computing Dept, Lancaster University +44(0)1524/594.537 Lancaster, LA1 4YR, UK Fax:+44(0)1524/593.608 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
At 04:51 PM 12/19/2002 +0000, you wrote:
Hans Hagen said this at Thu, 19 Dec 2002 17:31:40 +0100:
But is there a full acrobat (former exchange) then?
Yes. http://www.adobe.com/products/acrobat/acrobatOSX.html
Haven't used it yet, as it's pricy for what it offers over the Reader/ native OS's functionality.
How complete is the native functionality? Does it support hyperlinks? Is there a ref manual? Hans ------------------------------------------------------------------------- Hans Hagen | PRAGMA ADE | pragma@wxs.nl Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com ------------------------------------------------------------------------- information: http://www.pragma-ade.com/roadmap.pdf documentation: http://www.pragma-ade.com/showcase.pdf -------------------------------------------------------------------------
Am Freitag, 20. Dezember 2002 09:57 schrieb Hans Hagen:
How complete is the native functionality? Does it support hyperlinks? Is there a ref manual?
MacOS X's "Quartz" PDF layer is a strange mix, it contains not even 1.2 completely... It doesn't support most of what you need in prepress -- that's why Distiller for MacOS X will certainly come (Acrobat itself is already carbonated). Widgets aren't supported as well. In detail: -- no Type 3 fonts (that is, most traditional TeX PDFs will not work) -- no transfer curves, screening settings, OPI support -- no trapping, no overprint settings -- no filling patterns, smooth shades, transparency -- no mask paths -- no output profile (output intent) possible (needed for PDF/X-3) -- no JBIG2 compression -- no hypertext functions (links, widgets...) (AFAIK this list is valid for 10.2, but don't know exactly about Quartz Extreme) Grüßlis vom Hraban! (Writing under Linux on a Mac G4...) -- http://www.fiee.net http://www.ramm.ch ---
On jeudi, déc 19, 2002, at 15:26 Europe/Paris, Adam Lindsay wrote:
I'm running into odd problems with Acrobat Reader, though. I try filling out, say, calcmath.pdf with a simple formula, but the "Go Ahead" button gives the error: "Form submission is not allowed in this document." That seems wrong, especially when I examine the Document Security -> Form Field Fill-in or Signing and it says "Allowed."
It's starting to look like I need to use Acrobat as a web plugin before I can submit any forms. But it's not available as a browser plugin for Mac OS X yet...
Has anyone else encountered this? Solved it?
eXaMpLe seems really exciting...
adam
Hi, I use ConTeXt under Mac OS X 10.2 and I just tried the file "calculat.pdf", opening it with "Acrobat Reader 5.0.5". (I don't have "calcmath.pdf" to try what Adam L. says). Notwithstanding what Hans and others say about the Acrobat plug-in, I didn't encounter any problem with the buttons on "calculat.pdf". Where can one find the file "calcmath.pdf" to try to reproduce the problem? Cheers: Otared K.
Hi. Good to see other Mac users out there. The normal "JavaScript" interaction found in most ConTeXt demos works fine for me. It's the form submission part of the eXaMpLe framework that Acrobat Reader has trouble with (5.1 is available, FYI). For more details, go to Hans's message at the beginning of the "something new, user-interfacing to context" thread. I found calcmath.pdf in the cont-exa.zip file that Hans linked to. Cheers, adam On Thursday, December 19, 2002, at 05:48 PM, Otared Kavian wrote:
I use ConTeXt under Mac OS X 10.2 and I just tried the file "calculat.pdf", opening it with "Acrobat Reader 5.0.5". (I don't have "calcmath.pdf" to try what Adam L. says). Notwithstanding what Hans and others say about the Acrobat plug-in, I didn't encounter any problem with the buttons on "calculat.pdf".
Where can one find the file "calcmath.pdf" to try to reproduce the problem?
At 06:48 PM 12/19/2002 +0100, Otared Kavian wrote:
On jeudi, déc 19, 2002, at 15:26 Europe/Paris, Adam Lindsay wrote:
I'm running into odd problems with Acrobat Reader, though. I try filling out, say, calcmath.pdf with a simple formula, but the "Go Ahead" button gives the error: "Form submission is not allowed in this document." That seems wrong, especially when I examine the Document Security -> Form Field Fill-in or Signing and it says "Allowed."
It's starting to look like I need to use Acrobat as a web plugin before I can submit any forms. But it's not available as a browser plugin for Mac OS X yet...
Has anyone else encountered this? Solved it?
eXaMpLe seems really exciting...
adam
Hi,
I use ConTeXt under Mac OS X 10.2 and I just tried the file "calculat.pdf", opening it with "Acrobat Reader 5.0.5". (I don't have "calcmath.pdf" to try what Adam L. says). Notwithstanding what Hans and others say about the Acrobat plug-in, I didn't encounter any problem with the buttons on "calculat.pdf".
so, widgets are supported?
Where can one find the file "calcmath.pdf" to try to reproduce the problem?
in the cont-exa.zip on www.pragma-ade.tex/context/beta (see previous mails) Hans ------------------------------------------------------------------------- Hans Hagen | PRAGMA ADE | pragma@wxs.nl Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com ------------------------------------------------------------------------- information: http://www.pragma-ade.com/roadmap.pdf documentation: http://www.pragma-ade.com/showcase.pdf -------------------------------------------------------------------------
On vendredi, déc 20, 2002, at 09:59 Europe/Paris, Hans Hagen wrote:
At 06:48 PM 12/19/2002 +0100, Otared Kavian wrote:
On jeudi, déc 19, 2002, at 15:26 Europe/Paris, Adam Lindsay wrote:
I'm running into odd problems with Acrobat Reader, though. I try filling out, say, calcmath.pdf with a simple formula, but the "Go Ahead" button gives the error: "Form submission is not allowed in this document." That seems wrong, especially when I examine the Document Security -> Form Field Fill-in or Signing and it says "Allowed."
It's starting to look like I need to use Acrobat as a web plugin before I can submit any forms. But it's not available as a browser plugin for Mac OS X yet...
Has anyone else encountered this? Solved it?
eXaMpLe seems really exciting...
adam
Hi,
I use ConTeXt under Mac OS X 10.2 and I just tried the file "calculat.pdf", opening it with "Acrobat Reader 5.0.5". (I don't have "calcmath.pdf" to try what Adam L. says). Notwithstanding what Hans and others say about the Acrobat plug-in, I didn't encounter any problem with the buttons on "calculat.pdf".
so, widgets are supported?
Yes, I tried also another example file you have on your site "pdfclock.pdf", which works fine like "calculat.pdf", both with Acrobat Reader 5.0.5 and Acrobat Reader 5.1 for Mac OS X.
Where can one find the file "calcmath.pdf" to try to reproduce the problem?
in the cont-exa.zip on www.pragma-ade.tex/context/beta (see previous mails)
Hans
Thanks, Hans. I tried "calcmath.pdf" as well but when pushing the button "Go Ahead" I got the message "You need to be running inside a web browser in order to submit this form" with Acrobat Reader 5.0.5 (and with Acrobat 4.0 which works under the "Classic" or Mac OS 9 environment). The same experience with Acrobat Reader 5.1 produces the message "Form submission is not allowed in this document". Regarding native PDF support under Mac OS X, actually what is supported (as far as I have experienced) is that one can "print" into a PDF file. But when the document itself has hyperlinks (such as http://www.pragma-ade.nl for instance) in the resulting pdf file the link is NOT active. Cheers: OK
At 02:03 PM 12/20/2002 +0100, you wrote:
Thanks, Hans. I tried "calcmath.pdf" as well but when pushing the button "Go Ahead" I got the message "You need to be running inside a web browser in order to submit this form" with Acrobat Reader 5.0.5 (and with Acrobat 4.0 which works under the "Classic" or Mac OS 9 environment). The same experience with Acrobat Reader 5.1 produces the message "Form submission is not allowed in this document".
but in classic mode i suppose that you can run acrobat inside internet explorer? Hans ------------------------------------------------------------------------- Hans Hagen | PRAGMA ADE | pragma@wxs.nl Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com ------------------------------------------------------------------------- information: http://www.pragma-ade.com/roadmap.pdf documentation: http://www.pragma-ade.com/showcase.pdf -------------------------------------------------------------------------
On vendredi, déc 20, 2002, at 17:47 Europe/Paris, Hans Hagen wrote:
At 02:03 PM 12/20/2002 +0100, you wrote:
Thanks, Hans. I tried "calcmath.pdf" as well but when pushing the button "Go Ahead" I got the message "You need to be running inside a web browser in order to submit this form" with Acrobat Reader 5.0.5 (and with Acrobat 4.0 which works under the "Classic" or Mac OS 9 environment). The same experience with Acrobat Reader 5.1 produces the message "Form submission is not allowed in this document".
but in classic mode i suppose that you can run acrobat inside internet explorer?
Hans
Not really in Classic mode, even if one launches Internet Explorer 5.1.6 for Mac OS 9 (somehow the plugin PDFViewer appears to be incompatible with the surrounding environment which is Mac OS X). However running Mac OS 9 (without Mac OS X) one can run Acrobat Reader from within Internet Explorer, via PDFViewer; in this mode I opened the file "calcmath.pdf" but when I push the button "Go Ahead" IE tries to "connect to 127.0.0.4" and then nothing happens. There must be some problem with IE and Mac OS, and probably hasn't to do with ConTeXt. Cheers: Otared
At 07:37 PM 12/20/2002 +0100, you wrote:
However running Mac OS 9 (without Mac OS X) one can run Acrobat Reader from within Internet Explorer, via PDFViewer; in this mode I opened the file "calcmath.pdf" but when I push the button "Go Ahead" IE tries to "connect to 127.0.0.4" and then nothing happens. There must be some problem with IE and Mac OS, and probably hasn't to do with ConTeXt.
the attempt to connect sounds promissing; the next thing is to get exampler.rb running which will anwer the connection Hans ------------------------------------------------------------------------- Hans Hagen | PRAGMA ADE | pragma@wxs.nl Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com ------------------------------------------------------------------------- information: http://www.pragma-ade.com/roadmap.pdf documentation: http://www.pragma-ade.com/showcase.pdf -------------------------------------------------------------------------
Hans Hagen wrote:
I uploaded a first version of the lightweight eXaMpLe framework.
The example things are distributed in a separate zip:
http://www.pragma-ade.com/context/beta/cont-tmf.zip http://www.pragma-ade.com/context/beta/cont-exa.zip
This is the most fun toy I've had in years. Thanks Hans.
At 02:17 PM 12/23/2002 +0800, you wrote:
Hans Hagen wrote:
I uploaded a first version of the lightweight eXaMpLe framework.
The example things are distributed in a separate zip:
http://www.pragma-ade.com/context/beta/cont-tmf.zip http://www.pragma-ade.com/context/beta/cont-exa.zip
This is the most fun toy I've had in years. Thanks Hans.
more fun coming: labels, letters, envelops, graphic stuff, drill-practice, -) Hans ------------------------------------------------------------------------- Hans Hagen | PRAGMA ADE | pragma@wxs.nl Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com ------------------------------------------------------------------------- information: http://www.pragma-ade.com/roadmap.pdf documentation: http://www.pragma-ade.com/showcase.pdf -------------------------------------------------------------------------
On Monday 23 December 2002 06:17, Guy Worthington wrote:
Hans Hagen wrote:
I uploaded a first version of the lightweight eXaMpLe framework.
The example things are distributed in a separate zip:
http://www.pragma-ade.com/context/beta/cont-tmf.zip http://www.pragma-ade.com/context/beta/cont-exa.zip
This is the most fun toy I've had in years. Thanks Hans.
I missed something. What is it? What does it do? John Culleton Able Indexers and Typesetters Rowse Reviews Culleton Editorial Services http://wexfordpress.com ____________________________________________________________ Free 20MB Web Site Hosting and Personalized E-mail Service! Get It Now At Doteasy.com http://www.doteasy.com/et/
John Culleton wrote:
Hans Hagen wrote:
I uploaded a first version of the lightweight eXaMpLe framework.
The example things are distributed in a separate zip:
http://www.pragma-ade.com/context/beta/cont-tmf.zip http://www.pragma-ade.com/context/beta/cont-exa.zip
What is it? What does it do?
I can't answer the first question. The technology is way beyond my level of understanding. Hans Hagen explains what it does in the manual ex-gui.pdf. If you want a 50 word summary of what it does then eXaMpLe is: a graphical interface which integrates the editing and processing of XML documents. As a bonus, for more conventional TeX documents, eXaMpLe integrates some of the post-processing tools in the TeX armory, that are so difficult to set up.
A few questions: 1) Are gui sources available (eg, impose.tex)? 2) Is possible a context-daemon to avoid a new process for every request (I think to ok = session.execute(process) in exampler.rb) ? By the way, it's all very good luigi
participants (8)
-
Adam Lindsay
-
Bruce D'Arcus
-
guyw@multiline.com.au
-
Hans Hagen
-
Henning Hraban Ramm
-
John Culleton
-
Otared Kavian
-
scarso luigi