[Trac] Re: preserve line breaks plugin ?

2009-03-13 Thread Jens Vogel

Hi Thomas,

[[BR]] should work

regards
Jens


On 12.03.2009, at 15:10, tho...@goto10.org wrote:


 hi list,

 is there a way (a plugin) to enable preservation of line breaks when  
 editing a
 wiki page ?

 I had in mind something similar to this dokuwiki plugin which  
 replaces each \n
 with br / : http://www.dokuwiki.org/plugin:xbr
 Maybe that's something easy/obvious with Trac but I can't find out

 thanks for the hints,

 cheers,

 Thomas

 


__
Jens Vogel
Horst-Menzel-Str. 28
09112 Chemnitz
Germany
phone: 0371 50346114
mobil: 0160 7440660
E-Mail: j...@pepie.org
Internet: http://www.pepie.org
Skype: jenspepie
ICQ: 287976069
__

Bitte senden Sie mir keine Word- oder PowerPoint-Anhänge.
Siehe http://www.gnu.org/philosophy/no-word-attachments.de.html





--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Trac 
Users group.
To post to this group, send email to trac-users@googlegroups.com
To unsubscribe from this group, send email to 
trac-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~--~~~~--~~--~--~---



[Trac] Re: preserve line breaks plugin ?

2009-03-13 Thread Thomas Vriet

(of course [[BR]] works :)

But my question is : is there a way to avoid typing [[BR]] at the end of each 
line. For instance when you copy-paste a text with multiple linebreaks, trac 
won't 
consider these linebreaks.

best,
Thomas


Jens Vogel wrote:
 Hi Thomas,
 
 [[BR]] should work
 
 regards
 Jens
 
 
 On 12.03.2009, at 15:10, tho...@goto10.org wrote:
 
 hi list,

 is there a way (a plugin) to enable preservation of line breaks when  
 editing a
 wiki page ?

 I had in mind something similar to this dokuwiki plugin which  
 replaces each \n
 with br / : http://www.dokuwiki.org/plugin:xbr
 Maybe that's something easy/obvious with Trac but I can't find out

 thanks for the hints,

 cheers,

 Thomas

 
 __
 Jens Vogel
 Horst-Menzel-Str. 28
 09112 Chemnitz
 Germany
 phone: 0371 50346114
 mobil: 0160 7440660
 E-Mail: j...@pepie.org
 Internet: http://www.pepie.org
 Skype: jenspepie
 ICQ: 287976069
 __
 
 Bitte senden Sie mir keine Word- oder PowerPoint-Anhänge.
 Siehe http://www.gnu.org/philosophy/no-word-attachments.de.html
 
 
 
 
 
  
 

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Trac 
Users group.
To post to this group, send email to trac-users@googlegroups.com
To unsubscribe from this group, send email to 
trac-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~--~~~~--~~--~--~---



[Trac] Re: preserve line breaks plugin ?

2009-03-13 Thread Jeff Hammel

What about

{{{
this text
might have
line breaks
but its preformatted
}}}

or are you not looking for preformatted text?

Jeff

On Fri, Mar 13, 2009 at 02:25:24PM +0100, Thomas Vriet wrote:
 
 (of course [[BR]] works :)
 
 But my question is : is there a way to avoid typing [[BR]] at the end of each 
 line. For instance when you copy-paste a text with multiple linebreaks, trac 
 won't 
 consider these linebreaks.
 
 best,
 Thomas
 
 
 Jens Vogel wrote:
  Hi Thomas,
  
  [[BR]] should work
  
  regards
  Jens
  
  
  On 12.03.2009, at 15:10, tho...@goto10.org wrote:
  
  hi list,
 
  is there a way (a plugin) to enable preservation of line breaks when  
  editing a
  wiki page ?
 
  I had in mind something similar to this dokuwiki plugin which  
  replaces each \n
  with br / : http://www.dokuwiki.org/plugin:xbr
  Maybe that's something easy/obvious with Trac but I can't find out
 
  thanks for the hints,
 
  cheers,
 
  Thomas
 
  
  __
  Jens Vogel
  Horst-Menzel-Str. 28
  09112 Chemnitz
  Germany
  phone: 0371 50346114
  mobil: 0160 7440660
  E-Mail: j...@pepie.org
  Internet: http://www.pepie.org
  Skype: jenspepie
  ICQ: 287976069
  __
  
  Bitte senden Sie mir keine Word- oder PowerPoint-Anhänge.
  Siehe http://www.gnu.org/philosophy/no-word-attachments.de.html
  
  
  
  
  
   
  
 
  

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Trac 
Users group.
To post to this group, send email to trac-users@googlegroups.com
To unsubscribe from this group, send email to 
trac-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~--~~~~--~~--~--~---



[Trac] Re: preserve line breaks plugin ?

2009-03-13 Thread Thomas Vriet

If i remember correctly, this {{{ }}} trick works for small sentences only.
If a line is longer than the screen then you can't see it, you'll have to move 
the 
horizontal scrollbar to the right.

What I would like to know is if it's possible to have the whole trac to behave 
like a common text editor regarding the linebreaks.

best,
Thomas


Jeff Hammel wrote:
 What about
 
 {{{
 this text
 might have
 line breaks
 but its preformatted
 }}}
 
 or are you not looking for preformatted text?
 
 Jeff
 
 On Fri, Mar 13, 2009 at 02:25:24PM +0100, Thomas Vriet wrote:
 (of course [[BR]] works :)

 But my question is : is there a way to avoid typing [[BR]] at the end of 
 each 
 line. For instance when you copy-paste a text with multiple linebreaks, trac 
 won't 
 consider these linebreaks.

 best,
 Thomas


 Jens Vogel wrote:
 Hi Thomas,

 [[BR]] should work

 regards
 Jens


 On 12.03.2009, at 15:10, tho...@goto10.org wrote:

 hi list,

 is there a way (a plugin) to enable preservation of line breaks when  
 editing a
 wiki page ?

 I had in mind something similar to this dokuwiki plugin which  
 replaces each \n
 with br / : http://www.dokuwiki.org/plugin:xbr
 Maybe that's something easy/obvious with Trac but I can't find out

 thanks for the hints,

 cheers,

 Thomas

 __
 Jens Vogel
 Horst-Menzel-Str. 28
 09112 Chemnitz
 Germany
 phone: 0371 50346114
 mobil: 0160 7440660
 E-Mail: j...@pepie.org
 Internet: http://www.pepie.org
 Skype: jenspepie
 ICQ: 287976069
 __

 Bitte senden Sie mir keine Word- oder PowerPoint-Anhänge.
 Siehe http://www.gnu.org/philosophy/no-word-attachments.de.html





 
  
 

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Trac 
Users group.
To post to this group, send email to trac-users@googlegroups.com
To unsubscribe from this group, send email to 
trac-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~--~~~~--~~--~--~---



[Trac] Re: preserve line breaks plugin ?

2009-03-13 Thread Olemis Lang

On Fri, Mar 13, 2009 at 8:47 AM, Thomas Vriet tho...@goto10.org wrote:

 If i remember correctly, this {{{ }}} trick works for small sentences only.
 If a line is longer than the screen then you can't see it, you'll have to 
 move the
 horizontal scrollbar to the right.


This isn't what you want ... you are right ...

 What I would like to know is if it's possible to have the whole trac to behave
 like a common text editor regarding the linebreaks.


Or like Blogger posts editor ... In this case both behaviors are
possible and people can switch between one or the other by
checking/unchecking a lovely check box (i.e. a bool option) ... Oh my!
I love all those tiny  beatiful checkboxes ... ;)

For example, this is helpful when some text has been copied and pasted
from an external source ...

Have you already tried WYSIWYG editor ... It probably does this
(including copy/paste ;) ... You can see it in action here [1]_ ...

Let us know if it worked ... Good luck !

PD: Please don't create the ticket if you 'r not actually reporting an
issue, use the preview instead ... and try ASAYC since I am not sure
about granting TICKET_CREATE perms to anonymous users ... and maybe
I'll remove that soon ... ;)

.. [1] New ticket
 (https://opensvn.csie.org/traccgi/swlcu/newticket)

-- 
Regards,

Olemis.

Blog ES: http://simelo-es.blogspot.com/
Blog EN: http://simelo-en.blogspot.com/

Featured article:
Avanza el Clásico de Baseball ... entre records y sorpresas

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Trac 
Users group.
To post to this group, send email to trac-users@googlegroups.com
To unsubscribe from this group, send email to 
trac-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~--~~~~--~~--~--~---



[Trac] Re: preserve line breaks plugin ?

2009-03-13 Thread Olemis Lang

On Fri, Mar 13, 2009 at 9:35 AM, Olemis Lang ole...@gmail.com wrote:
 On Fri, Mar 13, 2009 at 8:47 AM, Thomas Vriet tho...@goto10.org wrote:

 What I would like to know is if it's possible to have the whole trac to 
 behave
 like a common text editor regarding the linebreaks.

 Have you already tried WYSIWYG editor ... It probably does this
 (including copy/paste ;) ... You can see it in action here [1]_ ...


I just tried it and it works as follows ...

- Check wisywig radio button
- Paste the text in the text control below
- If you switch back to wysiwyg you'll see that the editor has already
included[[BR]] macro for you ...

o|B-§

Is this what you want or not ... ?

-- 
Regards,

Olemis.

Blog ES: http://simelo-es.blogspot.com/
Blog EN: http://simelo-en.blogspot.com/

Featured article:
Clic y al Sur: Conociendo a Ubuntu Linux

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Trac 
Users group.
To post to this group, send email to trac-users@googlegroups.com
To unsubscribe from this group, send email to 
trac-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~--~~~~--~~--~--~---



[Trac] Re: preserve line breaks plugin ?

2009-03-13 Thread Olemis Lang

On Fri, Mar 13, 2009 at 10:24 AM, Olemis Lang ole...@gmail.com wrote:

 I just tried it and it works as follows ...

 - If you switch back to wysiwyg

Sorry, I mean 'textarea' ... :S

-- 
Regards,

Olemis.

Blog ES: http://simelo-es.blogspot.com/
Blog EN: http://simelo-en.blogspot.com/

Featured article:
Avanza el Clásico de Baseball ... entre records y sorpresas

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Trac 
Users group.
To post to this group, send email to trac-users@googlegroups.com
To unsubscribe from this group, send email to 
trac-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~--~~~~--~~--~--~---



[Trac] Re: preserve line breaks plugin ?

2009-03-13 Thread jevans

tho...@goto10.org wrote:
 hi list,

 is there a way (a plugin) to enable preservation of line breaks when editing a
 wiki page ?

 I had in mind something similar to this dokuwiki plugin which replaces each \n
 with br / : http://www.dokuwiki.org/plugin:xbr
 Maybe that's something easy/obvious with Trac but I can't find out

 thanks for the hints,

 cheers,

 Thomas

Seems the Trac wiki formatter already knows how to do this.  Could the
preserve_newlines ticket option be extended to regular wiki pages?
- jevans
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Trac 
Users group.
To post to this group, send email to trac-users@googlegroups.com
To unsubscribe from this group, send email to 
trac-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~--~~~~--~~--~--~---