Re: lyluatex collection for user without internet connection

2019-01-26 Thread Aaron Hill

On 2019-01-26 12:22 am, Aaron Hill wrote:

Unfortunately, I inadvertently broke the hyperlinks in the process, so
while the snippets render properly, you cannot click on links within
the documents.  Since I tend to manually search through PDFs, this
hasn't been a big enough issue for me to address.  But I suppose it is
worth pointing out the defect.


Fixed.  I checked online and found a command-line argument I needed to 
include to preserve the hyperlinks during the rebuild process.  The 
files on the share have been updated, so they should be good to go.


In case anyone cares, here's the command I used:

gs \
  -dCompatibilityLevel=1.4 \
  -dPDFSETTINGS=/screen \
  
-sFONTPATH=/usr/local/lilypond/usr/share/lilypond/current/fonts/otf \

  -dEmbedAllFonts=true \
  -dCompressFonts=true \
  -dSubsetFonts=true \
  -dPrinted=false \
  -dNOPAUSE \
  -dBATCH \
  -sDEVICE=pdfwrite \
  -sOutputFile=patched.pdf \
  -c ".setpdfwrite <> setdistillerparams" \
  -f original.pdf


-- Aaron Hill

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: lyluatex collection for user without internet connection

2019-01-26 Thread Aaron Hill

On 2019-01-25 6:13 pm, Karlin High wrote:
On Fri, Jan 25, 2019 at 7:10 PM Aaron Hill  
wrote:

> In case it helps your friend, I've attached a PDF of the Guile 1.8.7
> docs which can be used as a more technical reference for the specific
> flavor of Scheme used by LilyPond.
>
> The other day I was putting together a set of PDFs for my own offline
> reference


Oh, thank you! Did you also build the LilyPond PDF manuals in that
Google Drive share? I notice they are 2.19.82 without the defects in
the notation images currently found on the website copies. I'm glad to
see all the GUB work happening, hopefully there can soon be a clean
build of LilyPond that gets proper PDFs put up again.


I didn't rebuild the LilyPond docs, but I patched the broken ones from 
the web site by running them through ghostscript with the option to 
force embedding of fonts using the LilyPond distribution as source.


Unfortunately, I inadvertently broke the hyperlinks in the process, so 
while the snippets render properly, you cannot click on links within the 
documents.  Since I tend to manually search through PDFs, this hasn't 
been a big enough issue for me to address.  But I suppose it is worth 
pointing out the defect.


Regarding GUB, it is my understanding that the issue that caused the 
fonts to not embed is not expected to reoccur.  So once the team is 
ready to build and publish 2.20 (or if 2.19.83 happens first), the new 
PDFs should work properly again.



-- Aaron Hill

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: lyluatex collection for user without internet connection

2019-01-25 Thread Karlin High
On Fri, Jan 25, 2019 at 7:10 PM Aaron Hill  wrote:
> > In case it helps your friend, I've attached a PDF of the Guile 1.8.7
> > docs which can be used as a more technical reference for the specific
> > flavor of Scheme used by LilyPond.
> >
> > The other day I was putting together a set of PDFs for my own offline
> > reference

Oh, thank you! Did you also build the LilyPond PDF manuals in that
Google Drive share? I notice they are 2.19.82 without the defects in
the notation images currently found on the website copies. I'm glad to
see all the GUB work happening, hopefully there can soon be a clean
build of LilyPond that gets proper PDFs put up again.
-- 
Karlin High
Missouri, USA

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: lyluatex collection for user without internet connection

2019-01-25 Thread Aaron Hill

On 2019-01-25 3:52 am, Aaron Hill wrote:

On 2019-01-25 2:56 am, Karlin High wrote:

I know it's incomplete, but I still consider it the best resource for
learning Scheme in LilyPond.


In case it helps your friend, I've attached a PDF of the Guile 1.8.7
docs which can be used as a more technical reference for the specific
flavor of Scheme used by LilyPond.

The other day I was putting together a set of PDFs for my own offline
reference and found that the GNU website only includes a PDF download
for the latest version.  As there are some differences from the
version LilyPond employs, I had to download the source and manually
run the docs through texi2pdf.


Resending with link to a shared folder instead of attachment:
https://drive.google.com/open?id=19NYnDmx9bQ4gPUkv0hUUSeJOh6PFSVMc

-- Aaron Hill

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: lyluatex collection for user without internet connection

2019-01-25 Thread Michael Gerdau
> > at least the windows version of texlive 2018 contains lyluatex 1.06 
> > (installed via the net).
> >
> > However for windows the path provided on the program option must not 
> > include spaces - luatex or whoever parses them reliably removes any blanks. 
> > I had to copy my LP installation to a path w/o spaces
> 
> 
> Enclosing the option in curly brackets didn't help?
> 
>    [program={C:/Path/to/my local lilypond/lilypond-windows.exe}]

At least here
\usepackage[debug=true, nofragment, noragged-right, 
program=C:/LilyPond/usr/bin/lilypond.exe, 
includepaths=C:/Users/mgd/Documents/lilypond-Noten/include]{lyluatex}
works while
\usepackage[debug=true, nofragment, noragged-right, program={C:/Program Files 
(x86)/LilyPond/usr/bin/lilypond.exe}, 
includepaths=C:/Users/mgd/Documents/lilypond-Noten/include]
{lyluatex}
doesn't. However the errormsg seems to indicate that when enclosed in {} the 
problem is that when invoking LP the path would either need to be enclosed in 
'' or the spaces should be escaped.

Kind regards,
Michael
-- 
Michael Gerdau email: m...@qata.de
GPG-keys available on request or at public keyserver

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: lyluatex collection for user without internet connection

2019-01-25 Thread Karlin High

On 1/25/2019 5:09 AM, Urs Liska wrote:

In fact I would consider switching from Gitbook to another build system


For now, it's going to be easier for everyone if I make do with...

wget -r -k -p https://scheme-book.ursliska.de/

...and hope the results are reasonably functional offline.
--
Karlin High
Missouri, USA

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: lyluatex collection for user without internet connection

2019-01-25 Thread Urs Liska

Hi Karlin,

thank you for your interest.

Am 25.01.19 um 11:56 schrieb Karlin High:

Urs, is your Scheme Book available as a PDF?





Unfortunately not.


I know it's incomplete, but I still consider it the best resource for 
learning Scheme in LilyPond. The website seems generated with GitBook, 
which appears capable of making PDF and ebooks.


 




That's basically correct.




That does look like it needs changes to project settings, though. I 
tried cloning or downloading the GitLab repository so I could do that 
myself, but the private GitLab instance appears to not allow that. The 
downloads save as empty files and git clone gave an HTTP error of some 
sort.


This is a configuration problem of the Gitlab instance on that 
particular server, for some reason (unknown to me) both downloading and 
cloning is only possible through SSH with a registered SSH key. I was 
basically interrupted in the middle of moving all my stuff to a new 
server and didn't really recover from that shakeup.


What I *can* do is move this repository to my new server where it should 
be possible to get the code - but ...




Comments? If this project wasn't intended for availability as a PDF, 
I'll just omit it from the collection I'm gathering.


... I would be happy to provide this resource as a PDF too, and yet, 
Gitbook allows to do that.


However, the "other" thing I got stuck with at some point is that I 
couldn't get Gitbook working anymore. The basic Gitbook process would 
still work, but I didn't manage to get my custom plugin to work that 
uses python-ly to produce the syntax highlighting. That shouldn't be 
rocket science, but I didn't have the time to familiarize myself more 
with the matter.
(In addition this means that a number of fixes that I applied after 
people pointed me to them aren't available in the online version of the 
book).


In fact I would consider switching from Gitbook to another build system, 
for example based on Pandoc, maybe readthedocs.org would also be an 
alternative. The content is encoded as a bunch of Markdown files, with 
one "TOC" file organizing them to a hierarchy. The specific syntax for 
including stuff like code examples should easily be convertible with 
'sed' or similar tools, so that should in fact be a viable solution - 
provided there's someone who'd be willing to help me with the transition.


Best
Urs


___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: lyluatex collection for user without internet connection

2019-01-25 Thread Karlin High

Urs, is your Scheme Book available as a PDF?



I know it's incomplete, but I still consider it the best resource for 
learning Scheme in LilyPond. The website seems generated with GitBook, 
which appears capable of making PDF and ebooks.




That does look like it needs changes to project settings, though. I 
tried cloning or downloading the GitLab repository so I could do that 
myself, but the private GitLab instance appears to not allow that. The 
downloads save as empty files and git clone gave an HTTP error of some sort.


Comments? If this project wasn't intended for availability as a PDF, 
I'll just omit it from the collection I'm gathering.


--
Karlin High
Missouri, USA

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: lyluatex collection for user without internet connection

2019-01-25 Thread Urs Liska


Am 25.01.19 um 08:30 schrieb Michael Gerdau:

Hi list,

at least the windows version of texlive 2018 contains lyluatex 1.06 (installed 
via the net).

However for windows the path provided on the program option must not include 
spaces - luatex or whoever parses them reliably removes any blanks. I had to 
copy my LP installation to a path w/o spaces



Enclosing the option in curly brackets didn't help?

  [program={C:/Path/to/my local lilypond/lilypond-windows.exe}]



(c:/LilyPond/... in my case; also replacing any backslash with regular forward 
slashes helped )

After that it works like a charm on my windows 10 (mixing Gregorio, LilyPond 
and utilising TeX‘s powerful text processing capabilities)

Kind regards,
Michael


___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: lyluatex collection for user without internet connection

2019-01-24 Thread Michael Gerdau
Hi list,

at least the windows version of texlive 2018 contains lyluatex 1.06 (installed 
via the net).

However for windows the path provided on the program option must not include 
spaces - luatex or whoever parses them reliably removes any blanks. I had to 
copy my LP installation to a path w/o spaces (c:/LilyPond/... in my case; also 
replacing any backslash with regular forward slashes helped )

After that it works like a charm on my windows 10 (mixing Gregorio, LilyPond 
and utilising TeX‘s powerful text processing capabilities)

Kind regards,
Michael

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: lyluatex collection for user without internet connection

2019-01-24 Thread Urs Liska



Am 25.01.19 um 02:40 schrieb Karlin High:

Someone who writes hymns with LilyPond has asked me about methods for
compiling them into a songbook or hymnal. I responded that I like what
I see of lyluatex, but it's still a research topic for me. All I know
about it is notes I've gathered from the LilyPond mailing list. Soon
I'd agreed to mail a DVD with the software, as this person doesn't
have an Internet connection.

Now I'm trying to figure out what to include. I guess everything
needed to learn and use lyluatex. Would the TeX Live 2018 ISO be
sufficient? Would the GitHub repository have important additional
development?


I don't seem to be able to find out which lyluatex version is present on 
that ISO (my distribution's texlive is still 2017). If that is anything 
below 1.0b then you should definitely take the trouble to use the 
version from Github, otherwise I'd say the updates are marginal so far.


Urs


___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


lyluatex collection for user without internet connection

2019-01-24 Thread Karlin High
Someone who writes hymns with LilyPond has asked me about methods for
compiling them into a songbook or hymnal. I responded that I like what
I see of lyluatex, but it's still a research topic for me. All I know
about it is notes I've gathered from the LilyPond mailing list. Soon
I'd agreed to mail a DVD with the software, as this person doesn't
have an Internet connection.

Now I'm trying to figure out what to include. I guess everything
needed to learn and use lyluatex. Would the TeX Live 2018 ISO be
sufficient? Would the GitHub repository have important additional
development?
-- 
Karlin High
Missouri, USA

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user