That makes perfect sense. It's unlikely to occur very often really,  
since I would typically know in advance if I want landscape or not,  
I'm surprised I even ran into this at all. Thanks for the quick  
feedback.

Haris

On Sep 4, 2007, at 6:43 PM, Christiaan Hofman wrote:

> OK, that explains it all. It's not a Skim bug, and works exactly as
> expected. The print settings are only changed when  the file
> initially loads, not when it reloads. Doing it any other way would be
> wrong, as it would overwrite possible edits to the print settings.
> Note that reloading for tex etc is really a side issue for a PDF
> viewer like Skim. It's supported, but that's all (it's not primarily
> a tex previewer).
>
> Christiaan
>
> On 5 Sep 2007, at 12:36 AM, Charilaos Skiadas wrote:
>
>> On Sep 4, 2007, at 6:03 PM, Christiaan Hofman wrote:
>>
>>> As Ted Pavlic, I cannot reproduce it (using pdflatex). And from the
>>> code, I also cannot imagine it (we set the print orientation to
>>> landscape when either the page is rotated by 90 or 270 degrees, or
>>> (as in xor) the page is wider than high). Does the print settings
>>> sheet show the correct orientation?
>>
>> Ah now we are getting somewhere. I am guessing you mean the "File ->
>> Page Setup" menu? Then in that menu, the orientation shows
>> incorrectly (i.e. the first one is clicked).
>>
>> However! If I start a new tex file with the same content, then it
>> works just fine.
>>
>> I tested a bit further, and this is my conclusion: If I create a file
>> on regular mode (non-landscape), compile and show it in Skim, and
>> then later, while the pdf is still open in Skim, I change the tex
>> code to produce landscape and update Skim, then the "Page Setup"
>> setting will not be updated accordingly. On the other hand, closing
>> the pdf file and reloading fixes this.
>>
>> So to reproduce it:
>>
>> 1) Create plain tex document, compile and open in Skim.
>> 2) Look in "Page Setup", the first orientation option should be
>> showing.
>> 3) Add the line: \usepackage[landscape]{geometry} and compile. The
>> pdf in Skim gets updated. The file shows as landscape.
>> 4) Look in "Page Setup", the first orientation option is still
>> selected.
>> 5) Close and reopen the file, and go to "Page Setup", the second
>> orientation option will be selected.
>>
>> So could this be related to the refresh feature somehow?
>>
>>> Otherwise I should know exactly
>>> how to reproduce it.
>>>
>>> Christiaan
>>>
>>
>> Thanks,
>> Haris
>>
>>> On 4 Sep 2007, at 11:53 PM, Charilaos Skiadas wrote:
>>>
>>>> Hi Ted,
>>>>
>>>>    the whole thing goes through the TextMate compile command, but it
>>>> eventually calls pdflatex, and I believe the arguments passed at
>>>> that
>>>> point are something like "-interaction=nonstopmode -file-line- 
>>>> error-
>>>> style". But as I said in my email, Skim shows the file in landscape
>>>> just fine. The problem is not with showing it, but with printing  
>>>> it.
>>>> When it tries to print it, *then* it loses the landscapeness.
>>>>
>>>> Haris
>>>>
>>>> On Sep 4, 2007, at 2:52 PM, Ted Pavlic wrote:
>>>>
>>>>>> pdflatex test.tex
>>>>>
>>>>> NOTE: Running:
>>>>>
>>>>> pdflatex -output-format pdf test.tex
>>>>>
>>>>> does not even produce a landscape formatted PDF.
>>>>>
>>>>>   --Ted
>>>>>
>>>>>
>>>>>>
>>>>>> I get a PDF that opens properly in Skim.
>>>>>>
>>>>>>  Additionally, I have no trouble doing this:
>>>>>>
>>>>>> latex test.tex
>>>>>> dvips -t landscape test.dvi
>>>>>> ps2pdf test.ps
>>>>>>
>>>>>> The resulting PDF also opens fine in Skim. Notice the "-t
>>>>>> landscape"
>>>>>> option that I added to dvips. This option is necessary to make
>>>>>> landscape
>>>>>> work across the conversion, and it may not be included in your
>>>>>> default
>>>>>> methods for generating your PDF.
>>>>>>
>>>>>>  --Ted
>>>>>>
>>>>>> Charilaos Skiadas wrote:
>>>>>>> Sorry to revisit this old slightly thread, but I had a problem
>>>>>>> today
>>>>>>> with specifying landscape mode in a different way. My document
>>>>>>> this
>>>>>>> time was set by:
>>>>>>>
>>>>>>> \documentclass{article}
>>>>>>> \usepackage[landscape, vmargin=1cm,hmargin=1cm]{geometry}
>>>>>>> \begin{document}
>>>>>>>
>>>>>>> ... stuff here ...
>>>>>>>
>>>>>>> \end{document}
>>>>>>>
>>>>>>>
>>>>>>> It seems that this is not handled by Skim as expected, i.e. the
>>>>>>> same
>>>>>>> problem is encountered: Viewing is in landscape mode,  
>>>>>>> printing is
>>>>>>> not. Using version 0.8
>>>>>>>
>>>>>>> Haris
>>>>>>>
>>>>>>> On Aug 28, 2007, at 10:52 AM, Christiaan Hofman wrote:
>>>>>>>
>>>>>>>> Are you using 0.7 ? It should contain a fix for this.
>>>>>>>>
>>>>>>>> Christiaan
>>>>>>>>
>>>>>>>> On 28 Aug 2007, at 4:18 PM, Charilaos Skiadas wrote:
>>>>>>>>
>>>>>>>>> Hi all,
>>>>>>>>>
>>>>>>>>>       I encountered a problem today when I tried to print a  
>>>>>>>>> document
>>>>>>>>> that
>>>>>>>>> was in landscape mode. The document was creating from a tex
>>>>>>>>> file with
>>>>>>>>> the following structure:
>>>>>>>>>
>>>>>>>>> \documentclass{article}
>>>>>>>>> \usepackage{pdflscape}
>>>>>>>>> \usepackage[vmargin=1cm,hmargin=1cm]{geometry}
>>>>>>>>> \begin{document}
>>>>>>>>> \begin{landscape}
>>>>>>>>>
>>>>>>>>> ... stuff here
>>>>>>>>>
>>>>>>>>> \end{landscape}
>>>>>>>>> \end{document}
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> When I open the file in Skim, it shows it in its landscape
>>>>>>>>> mode.
>>>>>>>>> However, when I try to print, it prints it normally (of course
>>>>>>>>> resulting in half the data being lost). Even when I do a
>>>>>>>>> preview of
>>>>>>>>> the file from the print menu, it already shows up as not
>>>>>>>>> landscape.
>>>>>>>>>
>>>>>>>>> When on the other hand I open the file in Preview.app, and  
>>>>>>>>> then
>>>>>>>>> print/
>>>>>>>>> preview from there, everything is fine and the file stays in
>>>>>>>>> landscape mode.
>>>>>>>>>
>>>>>>>>> Any thoughts?


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Skim-app-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-users

Reply via email to