2011/2/2 John Culleton <span dir="ltr">&lt;<a href="mailto:john@wexfordpress.com">john@wexfordpress.com</a>&gt;</span><br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div><div></div><div class="h5">On Wednesday 02 February 2011 09:08:30 Gregory Pittman wrote:<br>
&gt; On 02/02/2011 08:30 AM, Sveinn í Felli wrote:<br>
&gt; &gt; Şann miğ 2.feb 2011 13:18, skrifaği Cezary Grabski:<br>
&gt; &gt;&gt;&gt; It is a feature.<br>
&gt; &gt;&gt;&gt;<br>
&gt; &gt;&gt;&gt; Perhaps save your odt file as text then import the text?<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt; No... It not solving my problem as I will lost bolds, italics<br>
&gt; &gt;&gt; etc this &quot;feature&quot; is maybe usable if you work with one ODT<br>
&gt; &gt;&gt; document, but in my<br>
&gt; &gt;&gt; case I import itno Scribus doc many (more than 20) ODT files.<br>
&gt; &gt;&gt; After that I<br>
&gt; &gt;&gt; have aprox 30-40 additional styles!<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt; I must try to add feature for omit styles from ODT file.<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt; cezaryece<br>
&gt; &gt;<br>
&gt; &gt; My poor memory recalls a similar subject not very long time ago,<br>
&gt; &gt; I think the solution was to use custom styles in OOo/LibO to make<br>
&gt; &gt; the italics and bold. That is you make a style *bold* and another<br>
&gt; &gt; /italics/ - Scribus imports all the ODT styles, you throw away<br>
&gt; &gt; all those except your bold/italics styles.<br>
&gt;<br>
&gt; some minimal testing in which I created no styles only produced an<br>
&gt; equivalent of the default style from oowriter.<br>
&gt; You might check in oowriter under Format &gt; Styles and Formatting to<br>
&gt; see what styles you have applied. If you haven&#39;t applied any, they<br>
&gt; shouldn&#39;t end up being created by Scribus.<br>
&gt;<br>
&gt; As Sveinn suggests, if you don&#39;t use styles to make bold and<br>
&gt; italics character style changes, you shouldn&#39;t get exported styles<br>
&gt; to Scribus.<br>
&gt;<br>
&gt; Greg<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; scribus mailing list<br>
&gt; <a href="mailto:scribus@lists.scribus.info">scribus@lists.scribus.info</a><br>
&gt; <a href="http://lists.scribus.info/mailman/listinfo/scribus" target="_blank">http://lists.scribus.info/mailman/listinfo/scribus</a><br>
<br>
</div></div>Here is a crazy idea that might work, using Linux.<br></blockquote><div><br>Everything below is crazy and I love it!<br><br>It is a perfect demonstration of computer power lots of users tend to be unaware of.<br>
<br>There is definitely a need for a cool “text tidy” process.<br><br>User definable filters. Super Find &amp; Replace function. Automated replacements. Etc.<br><br>We have a bug report for this somewhere.<br>Here.<br><a href="http://bugs.scribus.net/view.php?id=1752">http://bugs.scribus.net/view.php?id=1752</a><br>
<br>Louis<br><br> <br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
1. save the file as LaTeX from OO Writer.<br>
2. Using Gvim editor, delete all the frontmatter stuff before the<br>
actual content begins.<br>
3. Convert \textbf{...} and textit{...} to something Scribus will<br>
recognize as a Scribus style. Terminate each such string with a<br>
carriage return instead of  a } This can be done by a mass command<br>
also. AFAIK.<br>
4.Then Identify the other latex commands in the text and delete them<br>
one command at a time using mass changes. In other words to delete all<br>
\par commands do something like:<br>
:%s/\\par/\r\r/g<br>
This puts a blank line between paragraphs.<br>
5. Delete by mass change all those unneeded { and }. OO Writer fills<br>
the file with hundreds (thousands?) of such pairs.<br>
<br>
<br>
This method depends in large part on the users familiarity with the<br>
Gvim mass change commands, including the substitute (s) and / (find)<br>
commands and the  g (global) and c (conditional) suffixes.<br>
<br>
Anyhow that is how I would do it.  The Sed command which comes with<br>
Unix-like systems could also be used, or Awk etc.<br>
<font color="#888888"><br>
<br>
<br>
<br>
<br>
<br>
John Culleton<br>
Create Book Covers with Scribus:<br>
<a href="http://www.booklocker.com/p/books/4055.html" target="_blank">http://www.booklocker.com/p/books/4055.html</a><br>
Typesetting and indexing <a href="http://wexfordpress.com" target="_blank">http://wexfordpress.com</a><br>
book sales <a href="http://wexfordpress.net" target="_blank">http://wexfordpress.net</a><br>
Free  barcode: <a href="http://www.tux.org/%7Emilgram/bookland/" target="_blank">http://www.tux.org/~milgram/bookland/</a><br>
</font><div><div></div><br></div></blockquote></div><br>