2011/2/2 John Culleton <span dir="ltr"><<a href="mailto:john@wexfordpress.com">john@wexfordpress.com</a>></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>
> On 02/02/2011 08:30 AM, Sveinn í Felli wrote:<br>
> > Şann miğ 2.feb 2011 13:18, skrifaği Cezary Grabski:<br>
> >>> It is a feature.<br>
> >>><br>
> >>> Perhaps save your odt file as text then import the text?<br>
> >><br>
> >> No... It not solving my problem as I will lost bolds, italics<br>
> >> etc this "feature" is maybe usable if you work with one ODT<br>
> >> document, but in my<br>
> >> case I import itno Scribus doc many (more than 20) ODT files.<br>
> >> After that I<br>
> >> have aprox 30-40 additional styles!<br>
> >><br>
> >> I must try to add feature for omit styles from ODT file.<br>
> >><br>
> >> cezaryece<br>
> ><br>
> > My poor memory recalls a similar subject not very long time ago,<br>
> > I think the solution was to use custom styles in OOo/LibO to make<br>
> > the italics and bold. That is you make a style *bold* and another<br>
> > /italics/ - Scribus imports all the ODT styles, you throw away<br>
> > all those except your bold/italics styles.<br>
><br>
> some minimal testing in which I created no styles only produced an<br>
> equivalent of the default style from oowriter.<br>
> You might check in oowriter under Format > Styles and Formatting to<br>
> see what styles you have applied. If you haven't applied any, they<br>
> shouldn't end up being created by Scribus.<br>
><br>
> As Sveinn suggests, if you don't use styles to make bold and<br>
> italics character style changes, you shouldn't get exported styles<br>
> to Scribus.<br>
><br>
> Greg<br>
><br>
> _______________________________________________<br>
> scribus mailing list<br>
> <a href="mailto:scribus@lists.scribus.info">scribus@lists.scribus.info</a><br>
> <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 & 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>