Re: [AUCTeX-devel] AUCTeX without Desktop Environment

2017-08-18 Thread Tassilo Horn
Easior Lars  writes:

Hi!

> It's well-known that Evince has direct/inverse research functions with
> the help of AUCTeX in the desktop environment, such as Gnome, Mate,
> KDE, etc. Not long time ago, I installed Qtile, a lightweight window
> manager, instead of Gnome in my Gentoo box. I found that AUCTeX can't
> work well under Qtile. Emacs always complains that
> ,---
> | Debugger entered--Lisp error: (dbus-error "No connection to bus" :session)
> |   dbus-get-unique-name(:session)
> |   TeX-evince-dbus-p("gnome" "evince" :forward)
> |   TeX-view-program-select-evince("gnome" "evince")
> `---
> while any LaTeX source file opened in Emacs. I have no idea about
> how to resolve it. Is it possible to let AUCTeX without desktop
> environment work? Any hint?

First of all, evince and auctex communicate over the session dbus for
forward/backward search.  And apparently your WM without a DE doesn't
start a session bus.

But that can be fixed, I think.  I'm not sure, but wherever you start
qtile (maybe from .xsession or so), you might want to try to start
"dbus-run-session -- qtile" instead.

See https://dbus.freedesktop.org/doc/dbus-run-session.1.html

That would fire up a dbus session and qtile, and then my hope is that
forward/backward search with evince work as usual.

Bye,
Tassilo


___
auctex-devel mailing list
auctex-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/auctex-devel


Re: [AUCTeX-devel] AUCTeX without Desktop Environment

2017-08-02 Thread Colin Baxter
Dear Uwe,

> "Uwe" == Uwe Brauer  writes:

Uwe> Hello


>> Hello Easior,


>> This is probably not what you want to hear but I'm tempted to
>> suggest you dump evince, which, in my opinion, is bloated. Auctex
>> and xpdf work happily without a graphical user interface. I use
>> them in xmonad.

Uwe> Interesting, I like xpdf because it is lightweight, but how do
Uwe> you manage inverse and forward search in your pdf files with
Uwe> xpdf?

I don't. I just grep the source files.

Uwe> I switched from xpdf to okular (which is recently quite buggy)
Uwe> and then to evince which is not as fast as xpdf but supports
Uwe> both searches.

Yes, I tried okular but found it often hung - or crashed! Xpdf is old, I
know, but it works.

-- 
--
Colin Baxter
m43...@yandex.com
GnuPG fingerprint: 68A8 799C 0230 16E7 BF68  2A27 BBFA 2492 91F5 41C8

___
auctex-devel mailing list
auctex-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/auctex-devel


Re: [AUCTeX-devel] AUCTeX without Desktop Environment

2017-08-02 Thread Colin Baxter
Hello Easior,
> Easior Lars  writes:

> Thank you, Colin.

> "CB" == Colin Baxter  writes:
CB> This is probably not what you want to hear but I'm tempted to
CB> suggest you dump evince, which, in my opinion, is
CB> bloated. Auctex and xpdf work happily without a graphical user
CB> interface. I use them in xmonad.

> Maybe, it is a good idea to use xpdf in Qtile. Can you share an
> AUCTeX configuration about xpdf to me? It's better if AUCTeX can
> automatically tell itself in GNOME DE or not.

I have attached my auctex settings, and also a small org-mode setting
for use in exporting to pdf (which you may not want, of course).



my-autec.el
Description: application/emacs-lisp


my-pdf-org.el
Description: application/emacs-lisp

You probably don't need this, but I have the following in my ~/.mailcap

application/pdf; xpdf %s
application/postscript; gv %s
application/x-dvi; xdvi %s

Best wishes.

-- 
--
Colin Baxter
m43...@yandex.com
GnuPG fingerprint: 68A8 799C 0230 16E7 BF68  2A27 BBFA 2492 91F5 41C8
___
auctex-devel mailing list
auctex-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/auctex-devel


Re: [AUCTeX-devel] AUCTeX without Desktop Environment

2017-08-02 Thread Uwe Brauer

Hello


> Hello Easior,


> This is probably not what you want to hear but I'm tempted to
> suggest you dump evince, which, in my opinion, is bloated. Auctex
> and xpdf work happily without a graphical user interface. I use
> them in xmonad.

Interesting, I like xpdf because it is lightweight, but how do you
manage inverse and forward search in your pdf files with xpdf?

I switched from xpdf to okular (which is recently quite buggy) and then
to evince which is not as fast as xpdf but supports both searches.

Regards

Uwe Brauer

___
auctex-devel mailing list
auctex-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/auctex-devel


Re: [AUCTeX-devel] AUCTeX without Desktop Environment

2017-08-01 Thread Easior Lars

Thank you, Colin.

> "CB" == Colin Baxter  writes:
CB> This is probably not what you want to hear but I'm tempted to suggest
CB> you dump evince, which, in my opinion, is bloated. Auctex and xpdf work
CB> happily without a graphical user interface. I use them in xmonad.

Maybe, it is a good idea to use xpdf in Qtile. Can you share an
AUCTeX configuration about xpdf to me? It's better if AUCTeX can
automatically tell itself in GNOME DE or not.

Best wishes,

EL


___
auctex-devel mailing list
auctex-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/auctex-devel


Re: [AUCTeX-devel] AUCTeX without Desktop Environment

2017-07-31 Thread Colin Baxter
Hello Easior,

> Easior Lars  writes:

> while any LaTeX source file opened in Emacs. I have no idea about
> how to resolve it. Is it possible to let AUCTeX without desktop
> environment work? Any hint?

This is probably not what you want to hear but I'm tempted to suggest
you dump evince, which, in my opinion, is bloated. Auctex and xpdf work
happily without a graphical user interface. I use them in xmonad.

Best wishes,

Colin.

-- 
--
Colin Baxter
m43...@yandex.com
GnuPG fingerprint: 68A8 799C 0230 16E7 BF68  2A27 BBFA 2492 91F5 41C8

___
auctex-devel mailing list
auctex-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/auctex-devel


Re: [AUCTeX-devel] AUCTeX without Desktop Environment

2017-07-30 Thread Vladimir Lomov
Hello,
** Easior Lars [2017-07-30 16:55:13 +0800]:

> Hi, all!
> 
> It's well-known that Evince has direct/inverse research functions
> with the help of AUCTeX in the desktop environment, such as Gnome,
> Mate, KDE, etc. Not long time ago, I installed Qtile, a lightweight
> window manager, instead of Gnome in my Gentoo box. I found that
> AUCTeX can't work well under Qtile. Emacs always complains that
> ,---
> | Debugger entered--Lisp error: (dbus-error "No connection to bus" :session)
> |   dbus-get-unique-name(:session)
> |   TeX-evince-dbus-p("gnome" "evince" :forward)
> |   TeX-view-program-select-evince("gnome" "evince")
> `---
> while any LaTeX source file opened in Emacs. I have no idea about
> how to resolve it. Is it possible to let AUCTeX without desktop
> environment work? Any hint?

Take a look on pdf-tools,
https://github.com/politza/pdf-tools

> Best regards,
> 
> EL

---
WBR, Vladimir Lomov


-- 
To err is human; to admit it, a blunder.

___
auctex-devel mailing list
auctex-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/auctex-devel


[AUCTeX-devel] AUCTeX without Desktop Environment

2017-07-30 Thread Easior Lars
Hi, all!

It's well-known that Evince has direct/inverse research functions
with the help of AUCTeX in the desktop environment, such as Gnome,
Mate, KDE, etc. Not long time ago, I installed Qtile, a lightweight
window manager, instead of Gnome in my Gentoo box. I found that
AUCTeX can't work well under Qtile. Emacs always complains that
,---
| Debugger entered--Lisp error: (dbus-error "No connection to bus" :session)
|   dbus-get-unique-name(:session)
|   TeX-evince-dbus-p("gnome" "evince" :forward)
|   TeX-view-program-select-evince("gnome" "evince")
`---
while any LaTeX source file opened in Emacs. I have no idea about
how to resolve it. Is it possible to let AUCTeX without desktop
environment work? Any hint?

Best regards,

EL
-
Ich bin von heute und ehedam, aber etwas ist in mir, das ist vor
morgen und übermorgen und einstmal.

 Friedrich Wilhelm Nietzsche


___
auctex-devel mailing list
auctex-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/auctex-devel