On Mon, 5 Mar 2007, Mojca Miklavec wrote:

> On 3/5/07, Aditya Mahajan wrote:
>> On Mon, 5 Mar 2007, Wolfgang Schuster wrote:
>>>> On Mon, 05 Mar 2007 13:43:51 +0100
>>> Xan <[EMAIL PROTECTED]> wrote:
>>>
>>>> 1) The first question is about landscape mode and xdvi. In latex, if we
>>>> want landscape, we put:
>>>>
>>>> \documentclass[a4paper,10ptt,landscape]{article}
>>>>
>>>> but when we see .dvi in xdvi, xdvi does not detects automatically that
>>>> it's in landscape mode.
>>>>
>>>> For that, we have to put:
>>>>
>>>> \usepackage[dvips,...]{geometry}
>>>>
>>>> now the xdvi show .dvi in landscape mode
>>>>
>>>>
>>>> The question is, how we get the same in context?. If we put:
>>>>
>>>> \setuppapersize[A4,landscape][A4,landscape]
>>>>
>>>> the xdvi program does not detect that .dvi is in landscape mode. Is
>>>> there an equivalent command of geometry that allow that?
>>>
>>> ConTeXt use PDF as default output format. A short test with the dvips
>>> way show a rotated content but the page is not roatated, this seems to
>>> be not suported
>>
>> I do not use dvi route, but the page should be rotated in the ps file.
>> AFAIU, dvi has no option for specifying the page size or page
>> orientation. The viewers that honor ps code for page orientation and
>> size rely on the manner that latex puts in those commands in the dvi
>> file. I do not know if ConTeXt follows that route or not.
>
> Also note that dvi mode is not really supported any more. How old is
> your ConTeXt/TeX distribution? (texexec --version or ctxtools
> --contextversion)
> New versions should give you pdf output by default.


What do you mean by "not supported any more". ConTeXt defaults to pdf, but 
texexec --dvi --nobackends will give you a dvi file.

> Yes, dvi is indeed faster, but ...

and allows source specials for forward and backward search. Occasionally, 
that is really handy.

Aditya

_______________________________________________
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context

Reply via email to