I wrote
> What am I doing wrong / where should I put the 4 scripts ?
Thanks to help off-list from a kind correspondent,
I have the answers ... [1]
Richard H
[1] On 12/01/2015 06:04 PM, XXX wrote:
...snip...
> Put the files somewhere in your Path
> e.g. /usr/local/bin/
>
> Then edit the files, as follows
> 1. /usr/local/bin/adoc-edit
> For Firefox, comment out 3 lines thus (add leading #):-
> # UrlPath=$(echo "$Path"|uni2ascii -aJ)
> # echo "Launching viewer: file:$UrlPath"
> # chromium "--app=file:$UrlPath" &
>
> and add 1 line:-
> firefox "file://$Path" &
>
>
>
> 2. /usr/local/bin/adoc-new-note
> For Firefox, comment out this line:-
> #NewFileName="$Dir$(date +%Y%m%d)-${Basename}.adoc"
> (thats line 41)
>
> and add
> NewFileName="$Dir/$(date +%Y%m%d)-${Basename}.adoc"
>
>
> 3. /usr/local/bin/adoc-view
> For Firefox, comment out this line:-
> #iceweasel "$FilePathName" &
>
> and add
> firefox "$FilePathName" &
>
>
> 4. /usr/local/bin/adocTitleFilenameSync
> No change
--
On 11/30/2015 07:12 AM, rch wrote:
> On 11/29/2015 10:49 PM, Jens Getreu wrote:
>
> > All you need is the following 4 scripts and Firefox
> > or Chrome with the Firefox Asciidoctor.js Live
> > Preview extension or the Chrome Asciidoctor.js Live
> > Preview extension.
>
> The Firefox extension is v. nice
>
> So I tried the scripts. I put the 4 scripts in
> ~/Public/Applications/asciidoc_t2html_etc/Asciidoctor/
>
> But when I do $ ./adoc-new-note in that directory
> I get
> ./adoc-new-note: 74: ./adoc-new-note: adoc-edit: not found
>
> However, there is now a new file
> Asciidoctor20151130-Asciidoctor - Notes.adoc
> in the *parent* directory
> ~/Public/Applications/asciidoc_t2html_etc/
>
> What am I doing wrong / where should I put the 4 scripts ?
>
> I'm running Ubuntu 12.04
> Richard H
> --
>
--
You received this message because you are subscribed to the Google Groups
"asciidoc" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/asciidoc.
For more options, visit https://groups.google.com/d/optout.