For 2, as Angus suggested, it seems I need to change the path_prefix.
However, I can't find this option anywhere. I can also manually edit
one of the preferences files (I'm guessing $HOME/.lyx/lyxrc.defaults)
but I have no idea how. Also, 1 still has no solution. Can anybody
help? Thanks!
On 9/17/05, Yang Zhang <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> I have two questions.
>
> 1. How do I insert a line break in an inline math formula (C-m)? Enter
> and M-Enter don't work. I tried C-Enter, but this changes my math to
> some other math environment (I'm guessing an eqnarray). Note that this
> works fine in LaTeX:
>
> $a\\b$
>
> 2. I tried setting my preferences so that the viewer for the PDF file
> types was (including the quotes):
>
> "C:\Program Files\Adobe\Acrobat 7.0\Reader\acrord32.exe"
>
> That worked fine. However, whenever I restart LyX, this path
> disappears from those fields. I found that in my preferences file, LyX
> wrote this out using double quotes, so I had:
>
> \viewer "pdf" ""C:\Program Files\Adobe\Acrobat 7.0\Reader\acrord32.exe""
>
> As a result, the app would only see an empty string (""). So I changed
> this to use the DOS (8-3) path:
>
> \viewer "pdf" "C:\PROGRA~1\Adobe\ACROBA~2.0\Reader\acrord32.exe"
>
> However, now whenever I go to View > PDF (pdflatex), Acrobat gives me
> this error:
>
> "There was an error opening this document. This file cannot be found."
>
> What's going on? Please help, thanks in advance!
>