Official:Adding Sample Text

Why Sample Text?
When creating page layouts a sample text, also known as “Lorem ipsum” or “lipsum” to typesetting professionals, is often used as a placeholder for actual text before the real text is inserted. The original Lorem ipsum consists of nonsensical Latin, the reason being the desire of typesetters to not distract from the impression of the text layout (font choice, font size, linespacing etc.). This can most easily be achieved with a nonsensical text, as the viewer will not be tempted to read. However, since one of the purposes of a Lorem ipsum is to show all letters in an alphabet, the original may not be well-suited for languages other than English or Latin, as most languages use either an extended Latin alphabet or no Latin alphabet at all.

Scribus makes it very convenient to insert a smaple text by simply selecting, then right-clicking a text frame and selecting “Sample Text” from the Conext Menu. This allows you to visualize the layout or experiment with different fonts and effects before finalizing your design.

Creating a Sample Text for your Language
This simple HOWTO shows you how easy it is to add your own language or alphabet if it’s not yet included with Scribus.

The structure of a lipsum file is very simple XML, which anyone can use. Below is a shortened version of a Finnish sample text.

 Finnish http://www.dlc.fi/~frank/ite.htm http://www.dlc.fi/~frank/huumori/trans/ Vaimo ja mies ajattelivat pitää illallisjuhlat kaikille Rooman silmäätekeville Italiassa. Vaimo jännitti kovasti ja halusi kaiken sujuvan täydellisesti. Viime minuuteilla hän tajusi, ettei hänellä ollut illallisille yhtään etanoita, jolloin hän käski miestään juoksemaan alas rannalle ja keräämään koriin joitain etanoita.

You can search on the internet for a lipsum in your language – there are many available – or simply create your own. Make sure that you can use and distribute an existing sample text without restrictions. If you create your own Lorem ipsum, you are advised to make sure that the sample text is as nonsensical as possible and that it contains all letters of your alphabet.

Insert the text, replace the name, author and URL data with the correct ones. Then simply put HTML-like tags around each of the paragraphs.

Insert the text, then save is as, where “language” must be replaced with an ISO 639-1 language code, a two letter abbreviation for the respective language, e.g.   for Russian. It’s important to make sure that you save the text in UTF-8 encoding. Otherwise, special characters won’t be displayed correctly.

To test your sample text, you can copy it to the subdirectory, whose location will vary depending on your operating system and the way you installed Scribus (e.g.   on Linux).

Once you made sure that your significant engineering effort works as expected, head over to the Scribus bugtracker, file a bug report with the severity “Feature” and upload your XML file. One of the Scribus developers will add it to the next release of Scribus for all to enjoy.