Why do we add converters in frontends GuiPrefs.cpp?

José Abílio Matos jamatos at lyx.org
Tue Dec 28 13:07:19 UTC 2021


Hi all,
  while searching in order to solve the python issues, I searched for all the 
occurrences of "$$o" in src/

$ grep -r '$$o' src/*

The only case where I was surprised were the case of frontends GuiPrefs.cpp:

$ grep '$$o' src/frontends/qt/GuiPrefs.cpp
        dviCB->addItem("xdvi -sourceposition '$$n:\\ $$t' $$o");
        dviCB->addItem("yap -1 -s \"$$n $$t\" $$o");
        dviCB->addItem("okular --unique \"$$o#src:$$n $$f\"");
        dviCB->addItem("synctex view -i $$n:0:$$t -o $$o -x \"evince -i %
{page+1} $$o\"");
        pdfCB->addItem("CMCDDE SUMATRA control [ForwardSearch(\\\"$$o\\\",\\
\"$$t\\\",$$n,0,0,1)]");
        pdfCB->addItem("SumatraPDF -reuse-instance \"$$o\" -forward-search \"$
$t\" $$n");
        pdfCB->addItem("synctex view -i $$n:0:$$t -o $$o -x \"xpdf -raise -
remote $$t.tmp $$o %{page+1}\"");
        pdfCB->addItem("okular --unique \"$$o#src:$$n $$f\"");
        pdfCB->addItem("qpdfview --unique \"$$o#src:$$f:$$n:0\"");
        pdfCB->addItem("synctex view -i $$n:0:$$t -o $$o -x \"evince -i %
{page+1} $$o\"");
        pdfCB->addItem("/Applications/Skim.app/Contents/SharedSupport/
displayline $$n $$o $$t");

Does any one knows why we are injecting these calls manually there?

Best regards,
-- 
José Abílio
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20211228/3e763f3a/attachment.html>


More information about the lyx-devel mailing list