This project is read-only.

Controlling formatting in PDFs

May 24, 2013 at 8:37 AM
Edited May 24, 2013 at 8:40 AM
Hi there,

I'm using a lightly modified version of the CSE Citation Sequence style in Word 2010, and I have a cosmetic problem with my PDF output. The bibliography is formatted as a two column table, and it seems to adjust the column size dynamically when distilling to PDF, no matter what manual overrides I may have made to the bibliography in Word.

As a general rule, this results in the numeric citation (i.e. the first column) wrapping more than I would like. For instance, instead of say
  1. Author. Title.
I usually get

12 Author. Title.

It gets worse if I remove the full stop following the numeric citation from the stylesheet. This results in

1 Author. Title.

How can I control this?

Thanks in advance,

May 24, 2013 at 8:42 AM
For some reason, the number "2" disappears from the above post when I post this, but it reappears when I edit. The first example should read "12. Author. Title.", all on one line.

Thanks again,

May 27, 2013 at 6:20 AM
Hi again,

I see that there was a previous discussion a little like this at I can adjust the table manually without problems, but my manual overrides get wiped out during the PDF creation process.

The default MS bibliography styles don't seem to have this problem, but so far I haven't been able to understand their XSL files.

Thanks again,

May 27, 2013 at 8:54 AM
The best workaround that I've found so far is to copy the bibliography into a new table, and manually create index numbers for each one.
Jun 3, 2013 at 8:29 PM
The default MS bibliography styles don't have this problem because they are not using a table layout. Try adding more than 100 sources to a bibliography and you will see that sources are no longer correctly aligned for those styles. A table layout is the only way to guarantee that this problem doesn't occur.

When you have finished your Word document, convert your bibliography to static text. Then set the column widths of the table columns to fixed sizes. The pdf generator should honor fixed sizes.
Jun 5, 2013 at 1:39 AM
Thanks Yves, I have to admit I haven't tried creating bibliographies with 100+ entries.

While I'm personally happy to convert bibliographies to static text, I know that my end users won't. This is compounded by the fact that most of our references cite URLs, which produce an ugly HYPERLINK marker which will then need to be deleted for each instance.

I suppose the technical fix that I was hoping for was some way of fixing the width of the first table column in the output to say 1cm, and then letting the other column fill the rest of the available horizontal space.

If that's more difficult than I'd hoped, I'm thinking that I should revise the stylesheet to output via a single column instead of a table, and formatting each line with a hanging indent.

Kind regards,

Jul 5, 2013 at 7:47 AM
Edited Jul 5, 2013 at 7:48 AM
Hi Yves,

I'm happy to say that I've found a simple solution to my problem. The stylesheet defines a single table cell, with a paragraph inside it, i.e.
Are all the two column stylesheets like this? I would imagine so.

Anyhow, the solution (or hack, if you like) is to insert non-breaking spaces before the end of the paragraph. Inserting four works well for me, thus:

Kind regards