{"action":"created","issue":{"url":"https://api.github.com/repos/JabRef/jabref/issues/908","repository_url":"https://api.github.com/repos/JabRef/jabref","labels_url":"https://api.github.com/repos/JabRef/jabref/issues/908/labels{/name}","comments_url":"https://api.github.com/repos/JabRef/jabref/issues/908/comments","events_url":"https://api.github.com/repos/JabRef/jabref/issues/908/events","html_url":"https://github.com/JabRef/jabref/issues/908","id":138622500,"number":908,"title":"LO/OO :  Add LineSpacing and HangingIndent to jstyle files","user":{"login":"Marisano","id":17232351,"avatar_url":"https://avatars.githubusercontent.com/u/17232351?v=3","gravatar_id":"","url":"https://api.github.com/users/Marisano","html_url":"https://github.com/Marisano","followers_url":"https://api.github.com/users/Marisano/followers","following_url":"https://api.github.com/users/Marisano/following{/other_user}","gists_url":"https://api.github.com/users/Marisano/gists{/gist_id}","starred_url":"https://api.github.com/users/Marisano/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Marisano/subscriptions","organizations_url":"https://api.github.com/users/Marisano/orgs","repos_url":"https://api.github.com/users/Marisano/repos","events_url":"https://api.github.com/users/Marisano/events{/privacy}","received_events_url":"https://api.github.com/users/Marisano/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/JabRef/jabref/labels/documentation","name":"documentation","color":"0052cc"},{"url":"https://api.github.com/repos/JabRef/jabref/labels/enhancement","name":"enhancement","color":"6AC46A"},{"url":"https://api.github.com/repos/JabRef/jabref/labels/openoffice/libreoffice","name":"openoffice/libreoffice","color":"00A500"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-03-05T00:06:36Z","updated_at":"2016-04-01T05:28:28Z","closed_at":null,"body":"This is really a feature request rather than a bug.\r\n\r\nCurrently there does not appear to be a way to adjust the line spacing or hanging indents of bibliographies from within a jstyle file - one has to go to the word processor itself instead (for example, LibreOffice). However, these are common attributes bibliographic styles need to support to be fully complient. Can this functionality be added to jstyle files and implemented across the JabRef-LibreOffice interface?\r\n\r\nI am thinking of there being a couple of attributes added to the CITATION section of jstyle files. Maybe one called, \"LineSpacing\", and another called, \"HangingIndent\" (whether in inches or millimeters is fine, as long as its specified somewhere). I have found that when I want to submit a paper, journals have very specific ideas about how they want citations set out. I think it would be nice if this formatting information was present in the jstyle file itself, and enforced from there, rather than having to be manually added to each section that uses a particular jstyle.\r\n\r\n* JabRef versions: 2.10b2, 2.11.1, 3.2, and 3.3dev 2016-02-26\r\n* Operating system and version: Ubuntu Linux 14.04\r\n* LibreOffice version: 5.1.1.2\r\n* Steps to produce the \"bug\"\r\n1. Open a document in LibreOffice\r\n2. Open JabRef\r\n3. Connect to the LibreOffice document\r\n4. Make a few citations\r\n5. 'Ensure that the bibliography is up-to-date'\r\n\r\nAttached is a PDF with the actual example output, followed by the preferred output.\r\n[Example jstyle formatting request.pdf](https://github.com/JabRef/jabref/files/159567/Example.jstyle.formatting.request.pdf)\r\n\r\nThank you!\r\nMarisano"},"comment":{"url":"https://api.github.com/repos/JabRef/jabref/issues/comments/204253880","html_url":"https://github.com/JabRef/jabref/issues/908#issuecomment-204253880","issue_url":"https://api.github.com/repos/JabRef/jabref/issues/908","id":204253880,"user":{"login":"Marisano","id":17232351,"avatar_url":"https://avatars.githubusercontent.com/u/17232351?v=3","gravatar_id":"","url":"https://api.github.com/users/Marisano","html_url":"https://github.com/Marisano","followers_url":"https://api.github.com/users/Marisano/followers","following_url":"https://api.github.com/users/Marisano/following{/other_user}","gists_url":"https://api.github.com/users/Marisano/gists{/gist_id}","starred_url":"https://api.github.com/users/Marisano/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Marisano/subscriptions","organizations_url":"https://api.github.com/users/Marisano/orgs","repos_url":"https://api.github.com/users/Marisano/repos","events_url":"https://api.github.com/users/Marisano/events{/privacy}","received_events_url":"https://api.github.com/users/Marisano/received_events","type":"User","site_admin":false},"created_at":"2016-04-01T05:28:28Z","updated_at":"2016-04-01T05:28:28Z","body":"Right, but I'm trying to write a .jstyle that other people can just use. *I*\ncan set the appropriate property in the .jstyle file, and set up a\ncorresponding style in LibreOffice (LO) so as to have it applied whenever\nthe references list is updated, but if I distribute that .jstyle to someone\nwho doesn't have an LO style file with that name, they'll get this error:\n\nYour style file specifies the paragraph format 'zFL_Ent Reference Style',\nwhich is undefined in your current OpenOffice [sic.] document.\nThe paragraph format is controlled by the property\n'ReferenceParagraphFormat' or 'ReferenceHeaderParagraphFormat' in the style\nfile.\n\nBecause LibreOffice does not export styles, this is even more problematic -\nthough oddly enough, it does *import* them. Maybe I'll make a blank\ndocument with just the FL_Ent style in it, so any of the 11 authors who\nwrite for *Florida Entomologist* *and* use JabRef will be able to import it\nfrom there, and semi-automatically get the proper formatting applied.\nHowever, even then I think that that would have to be done for every new\ndocument a user would write that they'd want this custom format applied to.\nIt would amount to a very confusing problem when they would forget to do so.\n\nI know there's no desire to address this issue as I've suggested, but this,\nat least, is the kind of problem I am trying to avoid, while still having\nthe correct formatting applied.\n\nCiao,\nMarisano\n\nPS. Sorry for the delay. I've been working on a paper.\n\nOn Mon, Mar 7, 2016 at 3:46 AM, teertinker <notifications@github.com> wrote:\n\n> I completely agree with Oscargus\n>\n> For LibreOffice Styles have a look at:\n> https://help.libreoffice.org/Writer/Load_Styles\n>\n> [image: image]\n> <https://cloud.githubusercontent.com/assets/8830305/13568509/e9b968f8-e461-11e5-8b91-247607973e49.png>\n>\n> -> click on the small triangle\n>\n> There you can import your paragraph styles from any file. (Thus no\n> exporting needed)\n>\n> —\n> Reply to this email directly or view it on GitHub\n> <https://github.com/JabRef/jabref/issues/908#issuecomment-193218004>.\n>\n"}}