On Wed, Nov 08, 2006 at 06:50:00PM +0100, Enrico Forestieri wrote:
> On Wed, Nov 08, 2006 at 05:25:21PM +0100, Georg Baum wrote:
> > Bennett Helm wrote:
> > 
> > > On Nov 8, 2006, at 10:17 AM, Enrico Forestieri wrote:
> > > 
> > >> On Wed, Nov 08, 2006 at 03:59:04PM +0100, Joost Verburg wrote:
> > >>> Bennett Helm wrote:
> > >>>> 9. Some oddities with View menu remain: DVI does not appear in
> > >>>> the menu,
> > >>>> even though a converter and viewer are defined in Preferences.
> > >>>
> > >>> I have the same problem with PDF on Windows. Only the auto entires
> > >>> work.
> > >>
> > >> Then this must be another problem related to MSVC, as using GCC it
> > >> works.
> > >> Whatever viewer I define in lyxrc.dist is used, indeed.
> > > 
> > > To be clear, the issue is not with whether the converter/viewer gets
> > > used: entering <Cmd>-D will produce a .dvi file and open it in the
> > > viewer I've defined. The issue is merely with what items appear in
> > > the View menu.
> > 
> > That (and Kornels example) rings a bell:
> > You must put the "document" flag into the format line of the preferences
> > file. Otherwise the format will not be shown in the view menu. This is
> > changed from 1.4 (1.4 does not have a "document" flag).
> > 
> > Note to packagers: You should add that flag to all formats in lyxrc.dist
> > that should appear in the view menu.
> 
> It works for me even if I put the following lines in lyxrc.dist:
> 
> \Format pdf  pdf "PDF (ps2pdf)"   P "acroread" ""
> \Format pdf2 pdf "PDF (pdflatex)" F "acroread" ""
> \Format pdf3 pdf "PDF (dvipdfm)"  m "acroread" ""
> 
> I see the entries in the View menu and the script acroread is used for
> viewing, indeed. I see no difference when using
> 
> \Format pdf  pdf "PDF (ps2pdf)"   P "acroread" "" "document,vector"
> \Format pdf2 pdf "PDF (pdflatex)" F "acroread" "" "document,vector"
> \Format pdf3 pdf "PDF (dvipdfm)"  m "acroread" "" "document,vector"
> 
> or even
> 
> \Format pdf  pdf "PDF (ps2pdf)"   P "acroread" "" ""
> \Format pdf2 pdf "PDF (pdflatex)" F "acroread" "" ""
> \Format pdf3 pdf "PDF (dvipdfm)"  m "acroread" "" ""
> 
> So, what's wrong?

Me, I think. Never mind, I was experimenting with 1.4.4svn, not 1.5.0svn...

-- 
Enrico

Reply via email to