Chris:

I think I have my problem narrowed down to Pandoc not handling the space in
my user name, even when I use double quotes around it

**The paste below is from the command prompt window:**

C:\Users\Tom Arneson>pandoc "c:/users/tom
arneson/j64-802-user/temp/joxygen.md"
-c "joxygen.css" -f markdown-auto_identifiers -o c:/users/tom
arneson/j64-802-us
er/temp/joxygen.htm
pandoc: arneson/j64-802-user/temp/joxygen.htm: openFile: does not exist (No
such
 file or directory)

** pastes below are from the J Terminal and were done before I used the
command prompt **

NB. run test:
   load 'c:/users/tom arneson/j64-802/addons/docs/joxygen/test.ijs'
compare.ijs
dir.ijs
text.ijs

NB. check for files 
   Target
c:/users/tom arneson/j64-802-user/temp/joxygen
   dir Target
joxygen.css         715 08-Sep-14 20:18:16
   
   dir 'c:/users/tom arneson/j64-802-user/temp'
joxygen            <dir>     08-Sep-14 20:18:16
joxygen.md              1046 09-Sep-14 09:20:44
pound-cannon.ijs          56 08-Sep-14 16:20:46
tangetplot.ijs           265 21-Aug-14 18:56:42

NB. make sure pandoc will run:
   shell 'pandoc --version'
pandoc 1.13.0.1
Compiled with texmath 0.8, highlighting-kate 0.5.8.5.
Syntax highlighting is supported for the following languages:
    actionscript, ada, apache, asn1, asp, awk, bash, bibtex, boo, c,
changelog,
    clojure, cmake, coffee, coldfusion, commonlisp, cpp, cs, css, curry, d,
    diff, djangotemplate, doxygen, doxygenlua, dtd, eiffel, email, erlang,
    fortran, fsharp, gcc, gnuassembler, go, haskell, haxe, html, ini,
isocpp,
    java, javadoc, javascript, json, jsp, julia, latex, lex, literatecurry,
    literatehaskell, lua, makefile, mandoc, markdown, matlab, maxima,
metafont,
    mips, modelines, modula2, modula3, monobasic, nasm, noweb, objectivec,
    objectivecpp, ocaml, octave, pascal, perl, php, pike, postscript,
prolog,
    pure, python, r, relaxngcompact, restructuredtext, rhtml, roff, ruby,
rust,
    scala, scheme, sci, sed, sgml, sql, sqlmysql, sqlpostgresql, tcl,
texinfo,
    verilog, vhdl, xml, xorg, xslt, xul, yacc, yaml
Default user data directory: C:\Users\Tom Arneson\AppData\Roaming\pandoc
Copyright (C) 2006-2014 John MacFarlane
Web:  http://johnmacfarlane.net/pandoc
This is free software; see the source for copying conditions.
There is no warranty, not even for merchantability or fitness
for a particular purpose.

NB. 
     m=. jpath '~temp/joxygen.md'
     h=. jpath '~temp/joxygen.htm'
   m
c:/users/tom arneson/j64-802-user/temp/joxygen.md
   h
c:/users/tom arneson/j64-802-user/temp/joxygen.htm
     shell 'pandoc ',m,' -c "joxygen.css" -f markdown-auto_identifiers -o
',h
pandoc: c:/users/tom: openFile: does not exist (No such file or directory)

   m
c:/users/tom arneson/j64-802-user/temp/joxygen.md


-----Original Message-----
From: programming-boun...@forums.jsoftware.com
[mailto:programming-boun...@forums.jsoftware.com] On Behalf Of chris burke
Sent: Monday, September 08, 2014 17:36
To: Programming forum
Subject: Re: [Jprogramming] joxygen not working for me

When I tested this on Windows, installing Pandoc put it on the path, so that
no change was needed to the shell call in makescript.

Can you experiment to find out why this is not working on your machine? You
should be able to call pandoc from the command prompt with the same
expression.

On Mon, Sep 8, 2014 at 3:21 PM, tom arneson <t...@tomarneson.com> wrote:

> Chris,
>
> After posting I looked at joxygen.ijs and saw that it used Pandoc. I 
> downloaded & installed it. The installer put it in: C:\Users\Tom 
> Arneson\AppData\Local\Pandoc
>
> I modified the shell line in makescript to:
>
> shell '"C:\Users\Tom Arneson\AppData\Local\Pandoc\pandoc" ',m,' -c 
> "joxygen.css" -f markdown-auto_identifiers -o ',h
>
> I still don't get the html files.
>
>
>
> -----Original Message-----
> From: programming-boun...@forums.jsoftware.com
> [mailto:programming-boun...@forums.jsoftware.com] On Behalf Of chris 
> burke
> Sent: Monday, September 08, 2014 15:47
> To: Programming forum
> Subject: Re: [Jprogramming] joxygen not working for me
>
> It works for me. Perhaps you don't have Pandoc installed? The docs 
> need to make it clear that this is needed to build the output.
>
> On Mon, Sep 8, 2014 at 12:23 PM, tom arneson <t...@tomarneson.com> wrote:
>
> > I'm trying to use Joxygen and the example in the wiki doesn't work 
> > for
> me:
> >
> >
> >
> > The script ~addons/docs/joxygen/test.ijs builds docs from source in 
> > the ~addons/docs/joxygen/testscripts directory, with output to
> ~temp/joxygen.
> > The output should match the example output in
> ~addons/docs/joxygen/testdocs.
> >
> >
> >
> > When I run ~addons/docs/joxygen/test.ijs   all that I see in
C:\Users\Tom
> > Arneson\j64-802-user\temp\joxygen is joxygen.css
> >
> >
> >
> >    JVERSION
> >
> > Engine: j701/2011-01-10/11:25
> >
> > Library: 8.02.12
> >
> > Qt IDE: 1.1.5/5.3.1
> >
> > Platform: Win 64
> >
> > Installer: J802 install
> >
> > InstallPath: c:/users/tom arneson/j64-802
> >
> > --------------------------------------------------------------------
> > -- For information about J forums see 
> > http://www.jsoftware.com/forums.htm
> >
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
>
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
>
----------------------------------------------------------------------
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