Re: reverse search sumatra xetex...maybe I am almost there...
dc writes: > > Enrico Forestieri writes: > > > > > dc writes: > > > > > I have synchronize with output set to: \synctex=-1 > > > > Maybe miktex doesn't understand that? Please, try modifying the converter > > from "xelatex $$i" to "xelatex --synctex=-1 $$i" and see whether forward > > search works after that. > > > > In document-settings-output under synchronize with output/custom macro, > I get > > "x > elatex --synctex=-1 $$i No, don't do that. Even leave it unchecked. Instead, go to Tools->Preferences->File Handling->Converters find the "LaTeX (XeTeX) -> PDF (XeTeX)" entry and select it. In the "Converter:" field you should see "xelatex $$i". Change that to "xelatex --synctex=-1 $$i", hit the Modify button and then Save or Apply. -- Enrico
Re: reverse search sumatra xetex...maybe I am almost there...
Enrico Forestieri lyx.org> writes: > > dc writes: > > > I have synchronize with output set to: \synctex=-1 > > Maybe miktex doesn't understand that? Please, try modifying the converter > from "xelatex $$i" to "xelatex --synctex=-1 $$i" and see whether forward > search works after that. > In document-settings-output under synchronize with output/custom macro, I get "x elatex --synctex=-1 $$i You're in trouble here. Try typingto proceed. If that doesn't work, type X to quit." if I use exactly what you told me. I also tried --synctex=-1 $$i -synctex=-1 $$i --synctex=-1 -synctex=-1 xelatex \\synctex=-1 $$i etc. But in the end the only thing that passes through are /synctex=-1 /synctex=1 but neither succeeds at reverse search. Double clicking either gives no result or a message: no synchronization file found. I can see lyxeditor.cmd "%f" "%l" in my command line in the sumatra settings window. I must be using that in my reverse search command. I try modifying this to C:\Program Files\LyX20\bin\Lyx.exe "%f" "%l" still no go. I give up...
Re: reverse search sumatra xetex...maybe I am almost there...
dc writes: > I have synchronize with output set to: \synctex=-1 Maybe miktex doesn't understand that? Please, try modifying the converter from "xelatex $$i" to "xelatex --synctex=-1 $$i" and see whether forward search works after that. -- Enrico
reverse search sumatra xetex...maybe I am almost there...
I may be almost there. Any pointers would be appreciated... as far as I can see, these are the key parameter locations documents>settings>output my default output format is pdf(xetex) I have synchronize with output set to: \synctex=-1 in Tools>Preferences>Output For forward search, I don't know what the default is. I may have messed it up... I tried Forward search set to: CMCDDE SUMATRA control [ForwardSearch(\"$$o\",\"$$t\",$$n,0,0,1)] or CMCDDE SUMATRA control [ForwardSearch(\\\"$$o\\\",\\\"$$t\\\",$$n,0,0,1)] per http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg159513.html to no avail. I then discovered that I needed to install separately CMCDDE to use this. I downloaded it, and unzipped to get to cmcdde.exe. No installation instructions, so I put it in my lyx/bin folder, but I feel this is wrong, just wrong. Anyhow, it opened sumatra, but told me it couldn't open the file. Because it was trying to open the file from lyx's bin folder. So I tried this, which mentions that: http://permalink.gmane.org/gmane.editors.lyx.devel/135713 (installing lyxeditor.exe and putting sumatra.bat in Tools>settings>output>file formats for pdf(xetex) as described in the article). It opened sumatra, and put "lyxeditor.exe %f %l" into the inverse search command line. but double clicking was inoperative. it is installed in my sumatra program folder... I tried this too, which seems very similar to the above...instead using a cmd file: http://wiki.lyx.org/LyX/SyncTeX even though it sounded complicated and it requires pdfsync which I read is deprecated now. I get the same lyx/bin folder problem as above. HELP.