LibreOffice changes typographic quotes to dummy quotes

Help with installation and general system troubleshooting questions concerning the office suite LibreOffice.
Locked
User avatar
CannedMan
Posts: 256
Joined: Wed Aug 04, 2010 12:06 am

LibreOffice changes typographic quotes to dummy quotes

Post by CannedMan »

I am trying to get a specific error message printed. English works fine:

Code: Select all

=KJED.SAMAN("Language mismatch (check ‘"&$Start.B5&"’, ‘"&$Start.B7&"’ and ‘"&$Start.E7&"’)")
(kjed.saman = concatenate)

However, doing the same for Norwegian does not work. The only difference is that the two quotes (‘/’) are replaced with guillemetes («/»), and whichever way I choose to input them, they get replaced by typewriter quotes ("/") after I press Enter or click the accept function button (which I yesterday did for the first time since my days of Microsoft Works). The same thing happens irregardless of whether autoreplace is on or off (under localised options) and whether or not spellcheck is on. How can I get Calc to accept my typographic quotes as characters and not replace them?

I have tried both of these:

Code: Select all

=KJED.SAMAN("Manglande språksamsvar (sjekk «"&$Start.B5&"», «"&$Start.B7&"» og «"&$Start.E7&"»)")
=KJED.SAMAN("Manglande språksamsvar (sjekk «";$Start.B5;"», «";$Start.B7;"» og «";$Start.E7;"»)")
Neither work.
LibreOffice 7.6.7.2 (X86_64) on Windows 10.0 (19045)
John_Ha
Volunteer
Posts: 9605
Joined: Fri Sep 18, 2009 5:51 pm
Location: UK

Re: LibreOffice changes typographic quotes to dummy quotes

Post by John_Ha »

A hack - try setting UK English for the sentence you want printed.
LO 6.4.4.2, Windows 10 Home 64 bit

See the Writer Guide, the Writer FAQ, the Writer Tutorials and Writer for students.

Remember: Always save your Writer files as .odt files. - see here for the many reasons why.
User avatar
Villeroy
Volunteer
Posts: 31365
Joined: Mon Oct 08, 2007 1:35 am
Location: Germany

Re: LibreOffice changes typographic quotes to dummy quotes

Post by Villeroy »

109471.ods
(8.55 KiB) Downloaded 124 times
works for me
Please, edit this topic's initial post and add "[Solved]" to the subject line if your problem has been solved.
Ubuntu 18.04 with LibreOffice 6.0, latest OpenOffice and LibreOffice
User avatar
CannedMan
Posts: 256
Joined: Wed Aug 04, 2010 12:06 am

Re: LibreOffice changes typographic quotes to dummy quotes

Post by CannedMan »

So this is what I did:
  1. I selected both cells with Norwegian text
  2. I pressed Ctrl+1
  3. I changed their language to UK English
  4. I edited the first cell to include guillemets
  5. I pressed Enter
  6. The cell reverted back to typewriter quotes
The hack unfortunately didn’t work for me. Maybe I did something wrong? My installation is set to Norwegian Nynorsk. The document’s standard style is set to English (as much of the document is in English. Some styles are specifically Norwegian. Doing the manual formatting as listed above unfortunately did not, as stated, solve the issue.
LibreOffice 7.6.7.2 (X86_64) on Windows 10.0 (19045)
Locked