Send Ebib-users mailing list submissions to
[email protected]
To subscribe or unsubscribe via the World Wide Web, visit
https://lists.sourceforge.net/lists/listinfo/ebib-users
or, via email, send a message with subject or body 'help' to
[email protected]
You can reach the person managing the list at
[email protected]
When replying, please edit your Subject line so it is more specific
than "Re: Contents of Ebib-users digest..."
Today's Topics:
1. ebib patch 1 (Leo)
2. Ebib + LaTeX (Isaac Waisberg)
3. Re: Ebib + LaTeX (Isaac Waisberg)
4. Hot to print title at texttt{} (bin dong)
5. Re: Hot to print title at texttt{} (Joost Kremers)
6. Multiline fields in Index Entry (Massimo Lauria)
7. Re: Multiline fields in Index Entry (Joost Kremers)
----------------------------------------------------------------------
Message: 1
Date: Fri, 08 Feb 2008 01:57:02 +0000
From: Leo <[email protected]>
Subject: [Ebib-users] ebib patch 1
To: [email protected]
Message-ID: <[email protected]>
Content-Type: text/plain; charset="us-ascii"
A non-text attachment was scrubbed...
Name: not available
Type: text/x-patch
Size: 1636 bytes
Desc: ebib-1.diff
------------------------------
Message: 2
Date: Sat, 26 Apr 2008 11:47:47 -0700
From: "Isaac Waisberg" <[email protected]>
Subject: [Ebib-users] Ebib + LaTeX
To: [email protected]
Message-ID:
<[email protected]>
Content-Type: text/plain; charset=ISO-8859-1
I am using Ebib with LaTeX and Emacs 22.2 in Windows XP.
I redefined the insertion strings as follows:
0: {%s}
1: \citet{%s}
2: \citep{%s}
Everything works fine when I push an entry to a LaTeX buffer (using
either M-1 or M-2 and p).
However, when I am working on my LaTeX buffer and try to insert an
entry using ebib-insert-bibtex-key I get a message saying that the
bibliography file is not loaded.
If I do M-x ebib the bibliography file opens properly and seems to be loaded.
How do I load the bibliography file from within LaTeX or make sure
that it is loaded?
Thanks.
Isaac
------------------------------
Message: 3
Date: Mon, 28 Apr 2008 08:47:51 -0700
From: "Isaac Waisberg" <[email protected]>
Subject: Re: [Ebib-users] Ebib + LaTeX
To: [email protected], [email protected]
Message-ID:
<[email protected]>
Content-Type: text/plain; charset="iso-8859-1"
Joost,
Thank you for your reply. The relevant lines from *Messages* are as follows.
Loading ebib (compiled; note, source file is newer)...
Loading cl-macs...done
Loading ebib (compiled; note, source file is newer)...done
1332 entries, 0 @STRINGs and no @PREAMBLE found in file.
Mark set
Pushed entries to buffer blah.tex
Mark set
Saving file c:/blah.tex...
Wrote c:/blah.tex
Database C:/references.bib not loaded
The filename in the \bibliography command matches the one above.
Isaac
On Mon, Apr 28, 2008 at 4:14 AM, Joost Kremers <[email protected]>
wrote:
> (i sent a reply to this message to the list yesterday, but it doesn't seem
> to have gotten through. so i'm replying again, sending a CC to the OP.)
>
> On Sat, Apr 26, 2008 at 11:47:47AM -0700, Isaac Waisberg wrote:
> > How do I load the bibliography file from within LaTeX or make sure
> > that it is loaded?
>
> ebib searches the LaTeX file for a \bibliography command and reads the
> file
> name from its argument. that filename should be identical to the filename
> that ebib displays in the modeline of the index buffer.
>
> could you tell me the exact error message you get from ebib? (check the
> *Messages* buffer if it disappears from the minibuffer too quickly.) does
> the filename in the \bibliography command match the one in the mode line
> of
> the index buffer? if not, how are they different?
>
>
> --
> Joost Kremers
> Life has its moments
>
-------------- next part --------------
An HTML attachment was scrubbed...
------------------------------
Message: 4
Date: Wed, 25 Nov 2009 12:01:36 +0800
From: bin dong <[email protected]>
Subject: [Ebib-users] Hot to print title at texttt{}
To: [email protected]
Message-ID:
<[email protected]>
Content-Type: text/plain; charset="iso-8859-1"
Hi all,
ebib is wonerdfull!
But when i want to print my data base, i found it put "key (type)"
at texttt{} for each tab entry. i wonder how can i choose
field like title of each entry to be printed at texttt{}.
Thanks a lot!
Bin
---------------------------
Beihang University
-------------- next part --------------
An HTML attachment was scrubbed...
------------------------------
Message: 5
Date: Wed, 25 Nov 2009 10:09:16 +0100
From: Joost Kremers <[email protected]>
Subject: Re: [Ebib-users] Hot to print title at texttt{}
To: [email protected]
Message-ID: <[email protected]>
Content-Type: text/plain; charset=utf-8
On Wed, Nov 25, 2009 at 12:01:36PM +0800, bin dong wrote:
> Hi all,
> ??????? ebib is wonerdfull!
Thanks. ;-)
> ??????? But when i want to print my data base, i found it? put
> "key (type)"? at texttt{} for each tab entry. ? i wonder how can i
> choose
> field like title of each entry to be printed at texttt{}.
Unfortunately, this isn't possible. The way the entries are printed is
hard-coded in Ebib, it's not really customizable. I also don't see an easy way
to make it customizable, I'd have to think about how best to implement that. The
only thing you could do is to modify the LaTeX file that Ebib creates...
Best,
Joost
--
Joost Kremers
Life has its moments
------------------------------
Message: 6
Date: Wed, 7 Apr 2010 16:33:32 +0200
From: Massimo Lauria <[email protected]>
Subject: [Ebib-users] Multiline fields in Index Entry
To: [email protected]
Message-ID:
<[email protected]>
Content-Type: text/plain; charset=UTF-8
Hi guy,
I have an issue with ebib. I set up the Index Display Fields
to show
Year; Author; Title.
Sometimes these fields are multiline (notice that i've no full control
of all .bib files).
This results in some entries to span several lines in the index buffer.
This produces two bugs:
- (minor) only one line of the entry is highlighted
- (major)
when I move up/down or using whatever keys trigger ebib-prev/next-entry,
the prev/next entry is correctly shown in the Entry buffer, but the
cursor only moves one line up/down.
Since there are entries spanning more than one line, this completely
disconnect position in the database with the
cursor position in the index buffer.
The following is a dirty hack workaround which print only the first
line of a multiline field in the index entries.
(defun ebib-display-entry (entry-key)
"Displays ENTRY-KEY in the index buffer at POINT."
(set-buffer ebib-index-buffer)
(insert (format "%-30s %s\n"
entry-key
(if ebib-index-display-fields
(let ((cur-entry-hash (ebib-retrieve-entry entry-key
ebib-cur-db)))
(mapconcat #'(lambda (field)
(or
(to-raw (let (
(str (gethash field cur-entry-hash))
)
(if (multiline-p str)
(first-line str)
str
))
)
""))
ebib-index-display-fields
"; "))
""))))
The correct solution maybe using something different that
(forward-line -1/+1) in ebib-prev/next-entry:
something like searching backward/forward for the first line beginning
with the new displayed entry.
Another less robust solution is to search backward/forward for a line
beginning with a character, because all lines
of fields displayed in the index buffer are indented.
Thank you
--
Massimo Lauria
------------------------------
Message: 7
Date: Wed, 7 Apr 2010 20:52:07 +0200
From: Joost Kremers <[email protected]>
Subject: Re: [Ebib-users] Multiline fields in Index Entry
To: [email protected]
Message-ID: <20100407185207.ga2...@eeenterprise>
Content-Type: text/plain; charset=utf-8
On Wed, Apr 07, 2010 at 04:33:32PM +0200, Massimo Lauria wrote:
> I have an issue with ebib. I set up the Index Display Fields
> to show
> Year; Author; Title.
>
> Sometimes these fields are multiline (notice that i've no full control
> of all .bib files).
> This results in some entries to span several lines in the index buffer.
Mmm... This shouldn't really be happening... The index buffer uses
ebib-index-mode, which sets the variable truncate-lines to t. That should cause
lines that are too long for the window to be truncated rather than to be
wrapped.
> This produces two bugs:
> - (minor) only one line of the entry is highlighted
> - (major)
> when I move up/down or using whatever keys trigger ebib-prev/next-entry,
> the prev/next entry is correctly shown in the Entry buffer, but the
> cursor only moves one line up/down.
> Since there are entries spanning more than one line, this completely
> disconnect position in the database with the
> cursor position in the index buffer.
This is ever weirder, because even if lines are too long for the window and are
wrapped, Emacs should treat the wrapped line as a single line, so that moving
the cursor down on such a line should actually move two screen lines...
Try starting Emacs with the -Q option and then load ebib by hand (with M-x
load-file RET /path/to/ebib.el RET followed by M-x ebib) and see if the problem
still occurs. If not, then I suspect you have some setting that conflicts with
truncate-lines. If that is the case, check if you have any word-wrap-related
settings in your ~/.emacs, or send me your ~/.emacs so I can take a look.
(BTW, 'emacs -Q' doesn't load ~/.emacs, so you'll have to customize Index
Display Fields in the Emacs session before you can test it.)
Joost
--
Joost Kremers
Life has its moments
------------------------------
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
------------------------------
_______________________________________________
Ebib-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ebib-users
End of Ebib-users Digest, Vol 11, Issue 1
*****************************************