auctex
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Select and insert multiple bibliography entries into one \cite comma


From: Hongyi Zhao
Subject: Re: Select and insert multiple bibliography entries into one \cite command with regexp search.
Date: Thu, 12 Aug 2021 11:07:00 +0800

On Thu, Aug 12, 2021 at 10:20 AM Vladimir Lomov <lomov.vl@yandex.ru> wrote:
>
> Hello,
> ** Hongyi Zhao <hongyi.zhao@gmail.com> [2021-08-11 12:42:28 +0800]:
>
> Okay, let's try to clarify situation and to sort out different errors.
>
> > On Wed, Aug 11, 2021 at 10:43 AM Vladimir Lomov <lomov.vl@yandex.ru> wrote:
[...]
> >>
> >> I open the document in Emacs (with my configuration of 
> >> AUCTeX+RefTeX+CDLaTeX),
> >> did the same thing as Arash and got[1]
> >>
> >> ------------------------------------------------------------------------------
> >> (bib "/home/vladimir/tmp/test/sample.bib")
> >> ------------------------------------------------------------------------------
>
> > To be  sure, how to eval the form in the verbatim env?
>
> Ahh, I thought it might be unclear but didn't ask. Emacs allows you to
> "evaluate" any part of buffer as Emacs Lisp code (see, e.g., "Operating on the
> Region" in Emacs manual), even code on a line (see "27.9 Evaluating Emacs Lisp
> Expressions") running "C-x C-e" on the line.
>
> > I try to eval the following in *scratch* buffer with `C-j', but obtain 
> > `nilnil':
>
> > (insert "\n" (format "%S" (symbol-value reftex-docstruct-symbol)))
>
> > nilnil
>
> Do this in the buffer with open document.

Running "C-x C-e" on the line from within the opened document still
give me the following result:

 (insert "\n"
      (format "%S" (symbol-value reftex-docstruct-symbol)))
nil

Best, Hongyi



reply via email to

[Prev in Thread] Current Thread [Next in Thread]