Had a chance to look this up:
In J6:
load '~system/packages/export/export.ijs'
export_run_jexport_''

This will run a dialog box that lets you choose a script file. You can
choose the color scheme you want and it will then write the script as
html to a file and open it in your browser. You can print from there.

On Thu, Nov 17, 2011 at 11:21 AM, Ric Sherlock <[email protected]> wrote:
> From memory in J6 there is a GUI interface (export<something>) or
> similar that optionally uses pp.ijs to generate syntax highlighted
> html page
>
> On Thu, Nov 17, 2011 at 10:27 AM, Brian Schott <[email protected]> wrote:
>> By looking at the code for pp.ijs, I think I see why the 1 changed to
>> 0: the original file pp.ijs was rewritten by the verb pp.ijs and now
>> the result of the verb pp is 0 instead of 1.
>>
>> But I do not see where pp.ijs PRINTS, which is what I was expecting.
>>
>> On Wed, Nov 16, 2011 at 4:13 PM, Brian Schott <[email protected]> wrote:
>>> Raul,
>>>
>>> Yes, that eschews the error message, but produces only the integer 1
>>> for output, regardless of the correct filename I input. No, wait...
>>> Now the only output is the integer 0. I have no idea what changed
>>> that, except that I entered the instruction "pp_jpp_ init" or maybe it
>>> was just "pp init" before the result became 0 always. The reason I
>>> don't remember which I entered is that I quit J and relaunched to see
>>> if it would revert to result 1, but it has stayed as 0.
>>>
>>> Thank you.
>>>
>>> On Wed, Nov 16, 2011 at 2:25 PM, Raul Miller <[email protected]> wrote:
>>>> I think I see your problem.
>>>>
>>>> You are using:
>>>>   pp_jpp_ '~system/extras/util/pp.ijs'
>>>>
>>>> I think you should be using:
>>>>   pp_jpp_ jpath '~system/extras/util/pp.ijs'
>>>>
>>>
>>
>>
>>
>> --
>> (B=) <-----my sig
>> Brian Schott
>> ----------------------------------------------------------------------
>> For information about J forums see http://www.jsoftware.com/forums.htm
>>
>
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to