Fonts & Character SetsRomanian hyphenation with utf8 diacritics

Information and discussion about fonts and character sets (e.g. how to use language specific characters)
Post Reply
raduned
Posts: 3
Joined: Thu Jun 02, 2011 12:52 pm

Romanian hyphenation with utf8 diacritics

Post by raduned »

Hello,

Does anybody know how to make hyphenation to work with Romanian diacritics?

Is there a way to convert OpenOffice hyphenation patterns to LaTeX? The default ones are old and do not work with diacritics from

Code: Select all

inputenc{utf8}
.

It is very frustrating to hyphenate manually.

Any ideas?

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Romanian hyphenation with utf8 diacritics

Post by localghost »

In OpenOffice.org (OOo) or LibreOffice (LO) you should be able to rather properly convert a document to LaTeX with Writer2LaTeX. These additions to your document preamble then should work.

Code: Select all

\documentclass[…,romanian]{…}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{babel}
Note the language option in the option list for the document class. This enables other packages to use it also.


Best regards and welcome to the board
Thorsten
raduned
Posts: 3
Joined: Thu Jun 02, 2011 12:52 pm

Romanian hyphenation with utf8 diacritics

Post by raduned »

Hello Thorsten,

Sorry for the delay, but thank you very much, that fixed my problem. I was missing the

Code: Select all

\usepackage[T1]{fontenc}
.

I am new to LaTeX, but it is not my intention to use office suites to generate LaTeX sources, I am learning it hardcore, with a plain text editor.

Best Regards,

Radu
Post Reply