Opened 8 years ago

Closed 8 years ago

#1197 closed defect (fixed)

Style formatting defaults are applied to entire paragraph

Reported by: dstillman Owned by: bparr
Priority: major Milestone: 1.5 Beta 2
Component: word integration Version: 1.5
Keywords: Cc:

Description (last modified by dstillman)

From http://forums.zotero.org/discussion/4402/:

When inserting citation using fields, zotero applies the style
formatting defaults to the paragraph. People properly using styles
to format their text may not notice this bug. The problem does not
occur when using bookmarks.

Steps to reproduce:
* write some text.
* change the paragraph formatting (text alignment for example)
* Insert a reference (use fields, and Nature journal reference style)
Using the Nature reference style helps to see that the field also 
gets formatted with the style defaults, and instead of superscript 
is in regular text. Putting the cursor outside the field and 
hitting Refresh formats properly the citation field.

Reproduced. Does not occur in Word 2008.

Change History (3)

comment:1 Changed 8 years ago by dstillman

  • Description modified (diff)

comment:2 Changed 8 years ago by bparr

  • Owner changed from simon to bparr
  • Status changed from new to accepted

comment:3 Changed 8 years ago by bparr

  • Resolution set to fixed
  • Status changed from accepted to closed

(In [4295]) Fixes #1197

  • avoid losing all paragraph properties by first moving the citation to its own paragraph, and then removing the newly created paragraph breaks after the citation has been inserted
  • fixes the problem where a citation would lose its character properties because OpenOffice would automatically change the citation character properties to that of the text around it
  • makes it easier for the user to escape the bibliography range
Note: See TracTickets for help on using tickets.