Re: double spacing in vim, vi, or cream

2011-04-17 Thread david coder

+++ Matthias Apitz [17/04/11 06:25 +0200]:

El día Saturday, April 16, 2011 a las 09:47:58PM -0400, david coder escribió:


interesting suggestions that i hadn't thought of, esp knowing nothing about
LaTeX.  the 1st, however, results in spaces between characters, whereas what
i wanted was double-spacing between lines in a piece to be submitted for
publication.


At the end of editing the file:

:1,$s-$-^M-

(the ^M is to be done by holding down CTRL and pressing V and M)

HIH

matthias
--
Matthias Apitz
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e g...@unixarea.de - w http://www.unixarea.de/
¡Ya basta! ¡Imperialistas occidentales, quitad las manos de Libia!  
There's an end of it! Imperialists occidentals, hands off Libya!
Schluss jetzt endlich! Imperialisten des Westens, Haende weg von Libyen!

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Schoen!  Nun brauche ich nur Methoden das wie ich auf der Machine schreibe
machen.

(Auch wie man Umlauten auf eine Americanische Machine macht.)  ;)

Besten Dank,

David
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: double spacing in vim, vi, or cream

2011-04-17 Thread Polytropon
On Sun, 17 Apr 2011 06:25:45 +0200, Matthias Apitz g...@unixarea.de wrote:
 El día Saturday, April 16, 2011 a las 09:47:58PM -0400, david coder escribió:
 
  interesting suggestions that i hadn't thought of, esp knowing nothing about
  LaTeX.  the 1st, however, results in spaces between characters, whereas what
  i wanted was double-spacing between lines in a piece to be submitted for
  publication.

Okay, I see now. My mistake. :-)



 At the end of editing the file:
 
 :1,$s-$-^M-
 
 (the ^M is to be done by holding down CTRL and pressing V and M)

And if you want a postprocessing solution, use the command
awk '{ printf(%s\n\n, $0); }'  single.txt  double.txt
for vertical double-spacing.



-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: double spacing in vim, vi, or cream

2011-04-17 Thread Polytropon
On Sun, 17 Apr 2011 08:59:55 -0400, david coder daco...@dcoder.net wrote:
 +++ Matthias Apitz [17/04/11 06:25 +0200]:
 El día Saturday, April 16, 2011 a las 09:47:58PM -0400, david coder escribió:
 
  interesting suggestions that i hadn't thought of, esp knowing nothing about
  LaTeX.  the 1st, however, results in spaces between characters, whereas 
  what
  i wanted was double-spacing between lines in a piece to be submitted for
  publication.
 
 At the end of editing the file:
 
 :1,$s-$-^M-
 
 (the ^M is to be done by holding down CTRL and pressing V and M)
 
 HIH
 
  matthias
 -- 
 Matthias Apitz
 t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
 e g...@unixarea.de - w http://www.unixarea.de/
 ¡Ya basta! ¡Imperialistas occidentales, quitad las manos de Libia!   

 There's an end of it! Imperialists occidentals, hands off Libya! 

 Schluss jetzt endlich! Imperialisten des Westens, Haende weg von Libyen!
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
 
 Schoen!  Nun brauche ich nur Methoden das wie ich auf der Machine schreibe
 machen.
 
 (Auch wie man Umlauten auf eine Americanische Machine macht.)  ;)
 
 Besten Dank,
 
 David


That's quite simple: Use LaTeX. Really, it solves all your
problems. You can easily code Umlauts and Eszett in a smart
way: \usepackage{german} and then:

Der Lowe frist Musli.
Und Ol mag er auch.

LaTeX also pays attention to placing the ligatures properly.
You can easily create PDF output (for sending text to others),
as well as easy printing (PS output).

In pure text mode, you can of course use ae, oe, ue and ss
substitutions which are valid.






-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


double spacing in vim, vi, or cream

2011-04-16 Thread david coder
  
can anybody tell me how to set vi, vim, or cream so that text is  
double-spaced?
  
thx much.


david coder
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: double spacing in vim, vi, or cream

2011-04-16 Thread Polytropon
On Sat, 16 Apr 2011 18:02:36 -0400, david coder daco...@dcoder.net wrote:
   
  
 can anybody tell me how to set vi, vim, or cream so that text is  
 
 double-spaced?
 

If you're fine with postprocessing, use sed 's/./ /g'. If
you want to use LaTeX, \usepackage{soul} and then \so{The
text you want doublespaced}.


-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: double spacing in vim, vi, or cream

2011-04-16 Thread david coder

+++ Polytropon [17/04/11 00:28 +0200]:

On Sat, 16 Apr 2011 18:02:36 -0400, david coder daco...@dcoder.net wrote:
   
can anybody tell me how to set vi, vim, or cream so that text is  
double-spaced?


If you're fine with postprocessing, use sed 's/./ /g'. If
you want to use LaTeX, \usepackage{soul} and then \so{The
text you want doublespaced}.


interesting suggestions that i hadn't thought of, esp knowing nothing about
LaTeX.  the 1st, however, results in spaces between characters, whereas what
i wanted was double-spacing between lines in a piece to be submitted for
publication.

thx much.

dc





--
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: double spacing in vim, vi, or cream

2011-04-16 Thread Matthias Apitz
El día Saturday, April 16, 2011 a las 09:47:58PM -0400, david coder escribió:

 interesting suggestions that i hadn't thought of, esp knowing nothing about
 LaTeX.  the 1st, however, results in spaces between characters, whereas what
 i wanted was double-spacing between lines in a piece to be submitted for
 publication.

At the end of editing the file:

:1,$s-$-^M-

(the ^M is to be done by holding down CTRL and pressing V and M)

HIH

matthias
-- 
Matthias Apitz
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e g...@unixarea.de - w http://www.unixarea.de/
¡Ya basta! ¡Imperialistas occidentales, quitad las manos de Libia!  
There's an end of it! Imperialists occidentals, hands off Libya!
Schluss jetzt endlich! Imperialisten des Westens, Haende weg von Libyen!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org