Bug 64154

Summary: Bibliography citation does not allow Brazillian citation norm
Product: LibreOffice Reporter: Luiz Angelo Daros de Luca <luizluca>
Component: WriterAssignee: Not Assigned <libreoffice-bugs>
Status: RESOLVED WONTFIX    
Severity: enhancement CC: jbfaure
Priority: medium    
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
Crash report or crash signature: Regression By:
Attachments: Document with some citations

Description Luiz Angelo Daros de Luca 2013-05-02 14:35:50 UTC
Hello,

In Brazil, the most common way to reference inside long documents is called Author/Date. Numeric reference is also allowed but generally used only in short documents. Libreoffice can deal with both without problems when creating the bibliography index. However, the citation inside the text for Author/Date is someway limiting.

In the current norm, an author can be called directly or indirectly. For example:

Directly: Acording to White (2008), blue is more dark inside the box.
Indirectly: Blue is more dark inside the box (WHITE, 2008)
Indirectly: Blue is more dark inside the box (WHITE, 2008, p.32)

However, Libreoffice forces me to use only one or another. If I cited the author twice, I cannot use a different way to call it. If I change the text inside the parenthesis, it duplicate this entry in the bibliography index.

The worse part is when I have two authors at the same year called directly.

Directly: Acording to White (2008), blue is more dark inside the box. However, Black (2008) says blue is the same inside the box.

The text inside the parenthesis must be the reference short name. And this short name is also used as the "primary key" for the bibliography entry. If I repeat a short name, the previous entry is replaced.

I don't know that is the best way to solve this without libreoffice limiting the author choices. Maybe libreoffice could allow the author to use, alternatively from the short name, any text for the citation object string. I would be better if the text could go even outside the parenthesis. I.e., the "insert bibliography entry" could have:


 Short Name               Citation Text
 +--------------------+   +--------------------+  
 |WHITE, 2008      |V |   |(<short name>)   |V |
 +--------------------+   +--------------------+
                          | White (2008)       |
                          | Roger White        | 
                          +--------------------+

Where the "Citation Text" would have an default value "(<short name>)" but it would be manually editable, offering the author previous used texts for this entry.

The best solution would be someway to pre-build all forms of allowed citations, as I can do with bibliography index entries. However, I would need additional fields that are not currently present. The latex Abntex module might give some idea of how this could be implemented:

% - \cite
%     This command depends on if the style is alf or num
%     If alf, then \cite produces (<explicit (capital)>, <year>)
%     If num, then \cite produces a superscript with [<implicit (lowercase)>]
% - \citeonline
%     This command depends on if the style is alf or num
%     If alf, \citeonline produces <implicit (lowercase)>, (<year>)
%     If num, \citeonline then produces <implicit (lowercase)>
% - \citeyear
%     Produces <year>
% - \citeauthor
%     Produces <explicit (capital) author>
% - \citeauthoronline
%     Produces <implicit (lowercase) author>

Source: https://code.google.com/p/abntex2/source/browse/tex/latex/abntex2/abntex2cite.sty
Comment 1 Luiz Angelo Daros de Luca 2013-05-02 14:37:12 UTC
Created attachment 78781 [details]
Document with some citations

This is just an example of citations inside a document.
Comment 2 Luiz Angelo Daros de Luca 2013-05-02 14:40:27 UTC
And BTW, please, change the entries formatting (Numeric Entries/Brackets) from the "Insert Index" dialog to the "Insert Bibliography Entry". It is too much hidden for new users. Who would look for how Bibliography Entry are formatted inside the dialog that adds indexes?
Comment 3 Jean-Baptiste Faure 2014-01-26 15:31:22 UTC
Nobody works on the bibliography internal tool. You should switch to an external tool like Zotero (free and open-source) which has a nice extension for LibreOffice to manage citations.

Closing as WontFix. Feel free to reopen if you know somebody who want to work on this.

Best regards. JBF