Ask Your Question
1

Drop caps not working with variables

asked 2018-06-25 17:38:21 +0200

Hello.

In a book I'm writing I'm using a number of variables (fields/variables) to define the name of characters - this is because I could need to change them later in a consistent way. Everything works but drop caps: whenever a paragraph starts with a variable, drop caps don't work even though the style has been properly defined (drop caps work fine when the paragraph starts with plain text).

Is it a bug? A known limitation? Any workaround?

Thanks.

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted
1

answered 2018-06-25 21:34:15 +0200

Jim K gravatar image

updated 2018-06-25 21:56:38 +0200

Looks like a limitation. The same behavior occurs with cross-references. Does not work in AOO 4.1.3 either, so probably that functionality was never implemented. Report at https://bugs.documentfoundation.org/e....

I do not see any workaround beyond the obvious: Avoid using variables in paragraphs where drop caps is needed.

Instead of variables for names, perhaps it would be enough to use Edit -> Find & Replace -> Replace All to manage them. So for example if your character is named "Bladorthin" then replace all occurrences with "Gandalf".

More Find/Replace capability is provided by AltSearch. Try setting a character style for the names to make searching more precise. Maybe even create a different character style for each name.

edit flag offensive delete link more

Comments

Since styles may vary for the same "variable" in different paragraphs (thus replace will not work correctly) better use some scrambled name. Example use Bla1dort2hin.

Xoristzatziki gravatar imageXoristzatziki ( 2018-06-26 22:17:08 +0200 )edit

Thanks Jim for confirming it's a limitation. Not a big trouble: at a certain point I'll "freeze" the character names and I'll replace the relevant variables with their contents. It will fix the thing.

Thanks for the tip about AltSearch.

Fabius Dieciscudi gravatar imageFabius Dieciscudi ( 2018-06-28 19:32:54 +0200 )edit
Login/Signup to Answer

Question Tools

1 follower

Stats

Asked: 2018-06-25 17:38:21 +0200

Seen: 63 times

Last updated: Jun 25 '18