Re: landscape printing and viewing

2018-09-10 Thread David Wright
On Mon 10 Sep 2018 at 00:55:36 (+0200), Simon Albrecht wrote:
> On 09.09.2018 23:13, David Kastrup wrote:
> > Kieren MacMillan  writes:
> > > Hi Martin,
> > > > \paper {
> > > >   #(set-paper-size "a4" 'landscape)
> > > > }
> > > If I’m not mistaken, the correct incantation is
> > > 
> > > \paper {
> > >   #(set-paper-size "a4landscape")
> > > }
> > That sets_only_  the papersize, not the orientation.  For the screen it
> > might be what you want.  Whether your printer driver is smart enough to
> > figure out what you want is a different question then.
> 
> It has to be, doesn’t it?

I don't see why, unless your PDF viewer is unable to rotate pages.

> #(set-paper-size "a4landscape" 'landscape)
> doesn’t help, because then it’s displayed wrong by both evince and
> PyQtPdfViewer (I don’t know its exact name, the one in Frescobaldi…).

I avoid ever writing that because it gives the impression that it's
going to produce a4landscape paper output, which of course it doesn't.
NR §4.1.2 has an odd way of saying this: "When the paper size ends
with an explicit ‘landscape’ or ‘portrait’, the presence of a
'landscape symbol only affects print orientation, not the paper
dimensions used for layout." AIUI the effect of the 'landscape symbol
is unchanged: the pages¹ are rotated and the layout changes to match.

> Can’t test printing right now.

OK, but the results of such a test would not in general be applicable
to others, as we all have different printers, queues, drivers, OSes, etc.
Rotating the print on a fixed-orientation page can be an efficient
strategy depending on the individual's circumstances.

> Although: I get furious every time I feed an A4 page into a normal
> copy machine (at my university) the wrong way and the damn thing isn’t
> able to figure it out, but goes exactly with the orthogonal relation
> and creates a cropped print. This is 2018, man… and that’s still
> happening.

Yes, copiers and printers aren't in the habit of saying, "Are you sure?"

¹ I would have written "print" rather than "pages". In the context,
"Pages" invites confusion with the paper itself.

Cheers,
David.

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


Re: landscape printing and viewing

2018-09-10 Thread Wols Lists
On 09/09/18 23:55, Simon Albrecht wrote:
> On 09.09.2018 23:13, David Kastrup wrote:
>> Kieren MacMillan  writes:
>>> Hi Martin,
 \paper {
   #(set-paper-size "a4" 'landscape)
 }
>>> If I’m not mistaken, the correct incantation is
>>>
>>> \paper {
>>>   #(set-paper-size "a4landscape")
>>> }
>> That sets_only_  the papersize, not the orientation.  For the screen it
>> might be what you want.  Whether your printer driver is smart enough to
>> figure out what you want is a different question then.
> 
> It has to be, doesn’t it? #(set-paper-size "a4landscape" 'landscape)
> doesn’t help, because then it’s displayed wrong by both evince and
> PyQtPdfViewer (I don’t know its exact name, the one in Frescobaldi…).
> Can’t test printing right now.
> Although: I get furious every time I feed an A4 page into a normal copy
> machine (at my university) the wrong way and the damn thing isn’t able
> to figure it out, but goes exactly with the orthogonal relation and
> creates a cropped print. This is 2018, man… and that’s still happening.
> 
fwiw, I use the

#(set-default-paper-size "a4" 'landscape)

syntax and everything works just fine and normal for me. I use okular as
my pdf viewer. It seems to be a hard thing to get right, however,
because that cropped print you mention, I seem to get quite a lot with
firefox. If the damn web-page won't print properly losing stuff to the
right, I often select landscape, only to discover the paper prints
landscape fine, but the print itself is still cropped to portrait width!!!

Cheers,
Wol

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


Re: landscape printing and viewing

2018-09-09 Thread Simon Albrecht

On 09.09.2018 23:13, David Kastrup wrote:

Kieren MacMillan  writes:

Hi Martin,

\paper {
  #(set-paper-size "a4" 'landscape)
}

If I’m not mistaken, the correct incantation is

\paper {
  #(set-paper-size "a4landscape")
}

That sets_only_  the papersize, not the orientation.  For the screen it
might be what you want.  Whether your printer driver is smart enough to
figure out what you want is a different question then.


It has to be, doesn’t it? #(set-paper-size "a4landscape" 'landscape) 
doesn’t help, because then it’s displayed wrong by both evince and 
PyQtPdfViewer (I don’t know its exact name, the one in Frescobaldi…). 
Can’t test printing right now.
Although: I get furious every time I feed an A4 page into a normal copy 
machine (at my university) the wrong way and the damn thing isn’t able 
to figure it out, but goes exactly with the orthogonal relation and 
creates a cropped print. This is 2018, man… and that’s still happening.


Best, Simon

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


Re: landscape printing and viewing

2018-09-09 Thread Martin Tarenskeen



On Sun, 9 Sep 2018, Kieren MacMillan wrote:


Hi Martin,


\paper {
 #(set-paper-size "a4" 'landscape)
}


If I’m not mistaken, the correct incantation is

\paper {
#(set-paper-size "a4landscape")
}

Hope that helps!


Thanks :-)

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


Re: landscape printing and viewing

2018-09-09 Thread Martin Tarenskeen



On Sun, 9 Sep 2018, David Kastrup wrote:


Kieren MacMillan  writes:


Hi Martin,


\paper {
 #(set-paper-size "a4" 'landscape)
}


If I’m not mistaken, the correct incantation is

\paper {
 #(set-paper-size "a4landscape")
}


That sets _only_ the papersize, not the orientation.  For the screen it
might be what you want.  Whether your printer driver is smart enough to
figure out what you want is a different question then.


It seems my printerdriver is smart enough :-)

--

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


Re: landscape printing and viewing

2018-09-09 Thread Urs Liska



Am 09.09.2018 um 19:42 schrieb Kieren MacMillan:

Hi Martin,


\paper {
  #(set-paper-size "a4" 'landscape)
}

If I’m not mistaken, the correct incantation is

\paper {
  #(set-paper-size "a4landscape")
}


This has changed in 2.19.60, see 
https://github.com/wbsoft/frescobaldi/issues/768 (for some discussion 
and the support for it in Frescobaldi.


IIUC the point is that
  "a4" 'landscape
expresses: "paper format: a4", option: landscape (meaning: rotate the 
score to print a landscape format on a "regular" paper), while

  "a4landscape"
refers to "landscape" as a property of the paper itself.

When you print I don't think there's any difference, this surfaces only 
when displayed on screen.


HTH
Urs



Hope that helps!
Kieren.


Kieren MacMillan, composer
‣ website: www.kierenmacmillan.info
‣ email: i...@kierenmacmillan.info


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



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


Re: landscape printing and viewing

2018-09-09 Thread David Kastrup
Kieren MacMillan  writes:

> Hi Martin,
>
>> \paper {
>>  #(set-paper-size "a4" 'landscape)
>> }
>
> If I’m not mistaken, the correct incantation is
>
> \paper {
>  #(set-paper-size "a4landscape")
> }

That sets _only_ the papersize, not the orientation.  For the screen it
might be what you want.  Whether your printer driver is smart enough to
figure out what you want is a different question then.

-- 
David Kastrup

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


Re: landscape printing and viewing

2018-09-09 Thread David Wright
On Sun 09 Sep 2018 at 19:17:54 (+0200), Martin Tarenskeen wrote:
> I used someting like
> 
> \paper {
>   #(set-paper-size "a4" 'landscape)
> }
> 
> My score is turned 90 degrees and formatted for landscape printing.
> This is ok for printing but my viewer (Evince) doesn't turn the page
> for viewing on my laptop's screen . I have a nice tool named "pdfmod"
> that allows me to fix this and now the file looks good on paper and on
> on screen.
> 
> But shouldn't lilypond do this for me?
> 
> I'm using lilypond 2.19.82 on Linux Fedora 28.

AIUI:

LilyLib/Letter-landscape.ily :
\version "2.19.49" % 2017-06-14

%% See http://lists.gnu.org/archive/html/lilypond-devel/2017-05/msg00017.html
%% The paper itself is rotated to landscape.

\paper {
  #(set-paper-size "letterlandscape")
}

LilyLib/Letter-rotated.ily :
\version "2.19.49" % 2017-06-14

%% See http://lists.gnu.org/archive/html/lilypond-devel/2017-05/msg00017.html
%% The music is rotated to landscape, but the paper itself is still portrait.

\paper {
  #(set-paper-size "letter" 'landscape)
}

Cheers,
David.

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


Re: landscape printing and viewing

2018-09-09 Thread Kieren MacMillan
Hi Martin,

> \paper {
>  #(set-paper-size "a4" 'landscape)
> }

If I’m not mistaken, the correct incantation is

\paper {
 #(set-paper-size "a4landscape")
}

Hope that helps!
Kieren.


Kieren MacMillan, composer
‣ website: www.kierenmacmillan.info
‣ email: i...@kierenmacmillan.info


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


landscape printing and viewing

2018-09-09 Thread Martin Tarenskeen



Hi,

I used someting like

\paper {
  #(set-paper-size "a4" 'landscape)
}

My score is turned 90 degrees and formatted for landscape printing. This 
is ok for printing but my viewer (Evince) doesn't turn the page for 
viewing on my laptop's screen . I have a nice tool named "pdfmod" that 
allows me to fix this and now the file looks good on paper and on on 
screen.


But shouldn't lilypond do this for me?

I'm using lilypond 2.19.82 on Linux Fedora 28.

--

MT



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