foreign languages and caching bugs?

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

foreign languages and caching bugs?

Markian Hlynka
Hi.

I've been looking for a music notation program that supports non-
latin text. Finale and Sibelius are a hack and need to be re-written,  
so I'm looking elsewhere. As a computer geek, lilypond is somewhat  
appealing!

So, I've tried it out, but I've got a few issues. Specifically,  
updating the pdf doesn't seem to work correctly. When I typeset a  
file, the change does not show up in the pdf if it was already  
displayed. It seems that I have to close the file, and re-open the  
pdf manually. Is this a known issue? Could it be because I'm using  
non-latin text?

My system is Mac OS X 10.4.2, lillypond 2.6.4-1, and I'm using  
Preview to view the pdf (do I have a choice?)

How can I trace this down, please? And, does anyone else know if  
lillypond will work with non-english text? I'd attach a sample file,  
but I don't know if the list will accept attachments.

Thanks,

Markian
----
Early to bed and early to rise, makes a man stupid and blind in the  
eyes.
                                                      --Mazer Rackham




_______________________________________________
bug-lilypond mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/bug-lilypond
Reply | Threaded
Open this post in threaded view
|

Re: foreign languages and caching bugs?

Graham Percival-2

On 3-Nov-05, at 11:07 AM, Markian Hlynka wrote:

> So, I've tried it out, but I've got a few issues. Specifically,
> updating the pdf doesn't seem to work correctly. When I typeset a
> file, the change does not show up in the pdf if it was already
> displayed. It seems that I have to close the file, and re-open the pdf
> manually. Is this a known issue? Could it be because I'm using
> non-latin text?

This is an issue with the OSX Preview application; it has nothing to do
with non-latin text.  It has been discussed here before, but I don't
think there's any solution planned.

Cheers,
- Graham



_______________________________________________
bug-lilypond mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/bug-lilypond
Reply | Threaded
Open this post in threaded view
|

Re: foreign languages and caching bugs?

Jukka Akkanen
In reply to this post by Markian Hlynka
On Nov 3, 2005, at 2:07 PM, Markian Hlynka wrote:

> So, I've tried it out, but I've got a few issues. Specifically,  
> updating the pdf doesn't seem to work correctly. When I typeset a  
> file, the change does not show up in the pdf if it was already  
> displayed. It seems that I have to close the file, and re-open the  
> pdf manually. Is this a known issue? Could it be because I'm using  
> non-latin text?
>
> My system is Mac OS X 10.4.2, lillypond 2.6.4-1, and I'm using  
> Preview to view the pdf (do I have a choice?)

You can use File > Revert in Preview to make it read and display the  
updated file, which feels a bit less annoying than closing and re-
opening.

In case someone is interested and has time to work on a solution,  
Preview is not scriptable but it can be controlled through GUI  
scripting when checkbox "Enable access for assistive devices" is  
selected in the Universal Access control panel. For example:

tell application "Preview" to activate
tell application "System Events"
     tell application process "Preview"
         tell menu bar 1
             click menu item "Revert" of menu "File"
         end tell
     end tell
end tell

-Jukka


_______________________________________________
bug-lilypond mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/bug-lilypond
Reply | Threaded
Open this post in threaded view
|

Re: foreign languages and caching bugs?

Markian Hlynka

On Nov 3, 2005, at 18:45, Jukka Akkanen wrote:
>
> You can use File > Revert in Preview to make it read and display  
> the updated file, which feels a bit less annoying than closing and  
> re-opening.
>

thanks for this tip! very useful!

> In case someone is interested and has time to work on a solution,  
> Preview is not scriptable but it can be controlled through GUI  
> scripting when checkbox "Enable access for assistive devices" is  
> selected in the Universal Access control panel. For example:
>

Not scriptable?! what insanity. But, this is why it would be nice to  
use a different app. Or, is the viewer in TexShop open source?


> tell application "Preview" to activate
> tell application "System Events"
>     tell application process "Preview"
>         tell menu bar 1
>             click menu item "Revert" of menu "File"
>         end tell
>     end tell
> end tell

I was wondering whether something similar might be accomplished with  
the "open" command...?

So, if I wanted to work on this... where would I begin? I have no  
idea how lilypond interfaces with anything!


Markian

----
Quantum mechanics -- the dreams that stuff is made of.




_______________________________________________
bug-lilypond mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/bug-lilypond
Reply | Threaded
Open this post in threaded view
|

Re: foreign languages and caching bugs?

Graham Percival-2

On 3-Nov-05, at 6:24 PM, Markian Hlynka wrote:

> On Nov 3, 2005, at 18:45, Jukka Akkanen wrote:
>> In case someone is interested and has time to work on a solution,
>> Preview is not scriptable but it can be controlled through GUI
>> scripting when checkbox "Enable access for assistive devices" is
>> selected in the Universal Access control panel. For example:
>
> Not scriptable?! what insanity.

Complain to apple.  :)

>  But, this is why it would be nice to use a different app. Or, is the
> viewer in TexShop open source?

Lilypond itself only creates a pdf; if you run it from the command line
you can use any pdf viewer you want.

The lilypond.app is a new thing, which includes the "standard"
lilypond, a simple text editor, and hooks to display pdfs (which use
Preview in OSX).

> So, if I wanted to work on this... where would I begin? I have no idea
> how lilypond interfaces with anything!

Look at the source code.  :)
http://savannah.gnu.org/cvs/?group=lilypond

I believe that this code is in the installers/  module, but I'm not
sure.  The lilypond module does the basic command-line program.

Cheers,
- Graham



_______________________________________________
bug-lilypond mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/bug-lilypond