Personal

Contact

Anir

LSim

cb2Bib

Downloads

Site Map

Links

Embedded File Editor


 

The cb2Bib contains a practical editor suitable to manipulate the files related to a cb2Bib session. Abbreviations, bookmarks, regular expressions, and BibTeX are readily available. On BibTeX mode, the editor contains a Reference List to ease file navigation, and to extend the editor functionality. The BibTeX editor can optionally be turned to a reference browser.

Bookmarks

Bookmarks pointing to local or network files are available at the editor menu bar. They provide a fast access to external resources. Concretely, they are suitable for retrieving working documents, writing notes, or for accessing internet databases.

The editor bookmark functionality had been introduced in the cb2Bib version 0.9.3. Currently, bookmarks are set manually in the netqinf.txt file, see Configuring Files. Each bookmark is an entry line with the form

editorbookmark=Description|Target file name|Shortcut|Icon file name
having four fields, description, target file name, shortcut, and icon file name, separated with three (required) vertical bars |.
# Bookmark Examples:
# - A URL:
editorbookmark=URL Description|http://www.molspaces.com/d_cb2bib-d_cb2bib-c2beditor.php#bookmarks||
# - A separator, which is a blank line:
editorbookmark=
# - A TeX document, which will be opened with its default application:
editorbookmark=Document Description|/home/doc/chapter1.tex||
# - An application, specifying a shortcut and an icon:
editorbookmark=Application Description|/opt/kde3/bin/kile|Alt+K|/usr/share/icons/kile.png

 

Update Documents Metadata

The Update Documents Metadata functionality is available at the Edit and context menus on the BibTeX editor mode. Documents referred in the BibTeX file tags are scanned for metadata. If the BibTeX reference does not coincide with the bibliographic metadata, the document metadata is updated. In this way, metadata is synchronized with the BibTeX file contents. A log window appears, and possible errors are reported. Reported errors are, non-existence of a document file, read-only files, mismatches between BibTeX references and the actual metadata (often due to HTML tags or other illegal characters in BibTeX), or that the writing to the document format is not implemented. Note that this process will update all documents referenced in the BibTeX file. While this process is safe, it implies writing into the documents. Therefore take the usual measures and backup your data. See also Writing metadata.

 

Export Selected Entries

Selected entries can be exported to a separate BibTeX document. Click on 'File->Export Entries' menu option, and provide an export filename at the Export Dialog. Optionally, export will copy the document files attached to the citation. The copy of documents is similar to the cb2Bib 'rename/copy/move' general procedure. See Configuring Documents, on Set directory relative to the BibTeX File Directory, for copying options. Documents will not be overwritten: copying of existing documents is skipped. Possible issues are reported in the new document, as LaTeX comments.

 

Right-Click Menu Functionality

Keys Action
Ctrl+F Find in text
Toggle word wrapping
Selection to LaTeX
Selection to Unicode
Journals to full name
Journals to abbreviated name
Update documents metadata
Shift+Ins Paste current BibTeX
Alt+P Save and postprocess BibTeX file

 

Reference List Right-Click Menu Functionality

Keys Action
Alt+C Cite selected entries
Open document file
Browse by DOI
Web search by Author
Web search by Title
Web search settings
Clear entry selection
Refresh list and browser

 

BibTeX Browser Right-Click Menu Functionality

Keys Action
Alt+C Cite selected entries
Local search for selected text
Web search for selected text
Web search settings
Clear entry selection
Refresh list and browser

 

Additional Functionality

Backspace Deletes the character to the left of the cursor
Delete Deletes the character to the right of the cursor
Ctrl+A Selects all text
Ctrl+C Copy the selected text to the clipboard
Ctrl+Insert Copy the selected text to the clipboard
Ctrl+K Deletes to the end of the line
Ctrl+V Pastes the clipboard text into text edit
Shift+Insert Pastes the clipboard text into text edit
Ctrl+X Deletes the selected text and copies it to the clipboard
Shift+Delete Deletes the selected text and copies it to the clipboard
Ctrl+Z Undoes the last operation
Ctrl+Y Redoes the last operation
LeftArrow Moves the cursor one character to the left
Ctrl+LeftArrow Moves the cursor one word to the left
RightArrow Moves the cursor one character to the right
Ctrl+RightArrow Moves the cursor one word to the right
UpArrow Moves the cursor one line up
Ctrl+UpArrow Moves the cursor one word up
DownArrow Moves the cursor one line down
Ctrl+Down Arrow Moves the cursor one word down
PageUp Moves the cursor one page up
PageDown Moves the cursor one page down
Home Moves the cursor to the beginning of the line
Ctrl+Home Moves the cursor to the beginning of the text
End Moves the cursor to the end of the line
Ctrl+End Moves the cursor to the end of the text
Alt+Wheel Scrolls the page horizontally
Ctrl+Wheel Zooms the text