LyXPlease help - weird export

Information and discussion about LyX, a WYSIWYM editor, available for Linux, Windows and Mac OS X systems.
Post Reply
Stefan R.
Posts: 2
Joined: Wed Jul 16, 2008 3:51 pm

Please help - weird export

Post by Stefan R. »

Greetings,

I have been using LyX for a while now, but only in English. Now, I am working on a document in Romanian, a language which uses certain special letters. I have set the language to Romanian - and all the letters appear normally in the framework - but when I export to *.pdf, these two: "ş" and "ţ" appear as "o" and "þ". Is a certain language pack necessary? If so, can you please tell me where to get it?

I apologize if this is a repost, but I did look around before I wrote this.

Hope you can help, thank you!

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

Please help - weird export

Post by localghost »

I'm not using using LyX, but documents should have a preamble as known from usual source code. Add the babel package and switch to Romanian language.

Code: Select all

\usepackage[T1]{fontenc}
\usepackage[latin1]{inputenc}
\usepackage[romanian]{babel}
Special characters should work now. More information is available with according documentations of the other mentioned packages.


Best regards and welcome to the board
Thorsten¹
Stefan R.
Posts: 2
Joined: Wed Jul 16, 2008 3:51 pm

Re: Please help - weird export

Post by Stefan R. »

Greetings,
Thank you for your answer, bur as I looked through the file "romanian.dtx" from the babel archive, I saw none of the letters I need.
I must point out that these letters appear in the LyX interface as I imported a *.tex file (which I previously converted to from a *.doc file :) ), but two of them do not when I export to *.pdf.
I have also noticed that the babel instalation is rather tricky - isn't there a package with a simple *.exe installation or something close to this?
I find myself in an umpleasant emergency to finish the book by Saturday and this is my last issue.
Thank you again for the post, but it seems that I still need help!

Best regards,
Stefan R.
User avatar
Juanjo
Posts: 657
Joined: Sat Jan 27, 2007 12:46 am

Re: Please help - weird export

Post by Juanjo »

Try \c{s} and \c{t}. It seems similar to writing French: for example, fran\c{c}ais yields "français".
The CTAN lion is an artwork by Duane Bibby. Courtesy of www.ctan.org.
Post Reply