Recently, most of papers can be obtained via web sites and PDF files.
When you paste author names, titles of papers etc. to BibCompanion, it is recommended to copy those information from web sites rather than from PDF files.
That is because, lots of times when pasting strings from a PDF file, the pasted string contains special (mostly invisible) control characters which may cause a problem to BibCompanion and also BibTeX.
For example, super and subscripts and letters with accents (umlaut etc.) in a web site can be copied correctly, but those in a PDF file often fails because in a PDF file those letters are converted to internal expressions.
Smart paste function for author and title fields works fairly well but not perfect.
For example, smart title paste can understand a chemical formula “Ga1-xAlxAs” as “Ga1-xAlxAs” but not “M1-xAlxAs” (just treated as a mixed expression of letters and numbers) because ‘M’ is not a chemical element.
Of course you can edit manually, but here is an easier way to do by semiautomatic.
First, paste the string to other text editor such as TextEdit and edit the string to what BibCompanion can understand. For example of the above, change the string to “Mo1-xAlxAs” (change ‘M’ to ‘Mo’ (molybdenum)) and paste it to BibCompanion that yields “Mo1-xAlxAs”.
Then you just delete extra ‘o’ of ‘Mo’ to get a correct result.
A smart library applies either of AND or OR to all conditions and can not make a complicated conditions such as {(A and B) or (C and D)}.
To obtain such a result, you can create a library group that includes two smart libraries such as shown below.
A library group works as OR operator, therefore, when you select the library group “{(A&B) or (C&D)}”, you can get desired result.
BibCompanion can holds several list format definitions for each bib type.
For example, there are 3 definitions for <ARTICLE> type by default.
To distinguish them, you can add small note to each definitions.
Because BibCompanion ignores a bracketed block with undefined field, you can append a note block as follows:
When you get a write privilege of a database in the database property, both of user name and host name are set. Those information is saved in the first @COMMENT{} block of the database file. You can remove one of them to make a privilege to all user on one host or one user on any host.
Be sure to backup your database before following the below procedure.
Get a write privilege of the database.
Close the database ([File - Close Database] menu, do not quit BibCompanion) then the database is removed from the database list.
Open the database by a text editor such as TextEdit (the editor should be able to treat a text encoding used for the database, otherwise you may lost some information or break the database).
Find a line “privileged_host = {HostName},” or “privileged_user = {UserName},”, here, ‘HostName’ and ‘UserName’ are host name of your Macintosh and your user name respectively.
If you want to make a privilege to a certain user on all hosts, delete a line with “privileged_host”. For all users on a certain host, delete a line with “privileged_user”.
Save the database and re-open from BibCompanion.
Open property sheet of the database. You may see “UserName@(Any Host)” or “(Any User)@HostName” if the modification is succeeded.
Smart paste function only works when total length of the pasted field string extends by at least 5 letters.
Therefore, when overwriting paste (make a selection before pasting) or short string paste was done, the function does not work.
To workaround this problem, delete a selection before pasting a string.
BibCompanion makes backup files as xxxx.bib.1, xxxx.bib.2... when it saves a database named xxxx.bib.
These backups are for emergency use when the database was broken and can not be opened by BibCompanion or BibTeX.
To use a backup file, just you do is to rename the file to the original one (remove an extra number with period).
Then you can open it as usual.