metalj
Posts: 212
Joined: Sat Feb 07, 2015 11:56 pm

generate lorem ipsum

Wed Jun 03, 2015 9:21 am

How do you generate a couple pages of lorem ipsum in the text editor?
Backspace 28 times :)

ame
Posts: 3172
Joined: Sat Aug 18, 2012 1:21 am
Location: Korea

Re: generate lorem ipsum

Wed Jun 03, 2015 9:27 am

Copy the lorem ipsum text (from Wikipedia).

Paste it into the text editor.

Repeat the paste operation until you have filled a couple of pages.

User avatar
DougieLawson
Posts: 36515
Joined: Sun Jun 16, 2013 11:19 pm
Location: Basingstoke, UK
Contact: Website Twitter

Re: generate lorem ipsum

Wed Jun 03, 2015 10:30 am

Try this: http://lipsum.com/feed
Or: http://www.lipsum.com/

Or this: https://code.google.com/p/pypsum/ (which can be embedded in a python program).

cd /tmp
wget https://pypsum.googlecode.com/files/pyp ... ny.tar.bz2
tar xavf pypsum_1.1.0_any.tar.bz2
cd pypsum
./pypsum.py --howmany=20 -w words -l
./pypsum.py --howmany=5 -w paras -l
Note: Having anything humorous in your signature is completely banned on this forum. Wear a tin-foil hat and you'll get a ban.

Any DMs sent on Twitter will be answered next month.

This is a doctor free zone.

metalj
Posts: 212
Joined: Sat Feb 07, 2015 11:56 pm

Re: generate lorem ipsum

Wed Jun 03, 2015 12:06 pm

So you can copy the text output of a python program. So I could just generate an eBook if I wanted to.
Backspace 28 times :)

User avatar
kusti8
Posts: 3439
Joined: Sat Dec 21, 2013 5:29 pm
Location: USA

Re: generate lorem ipsum

Wed Jun 03, 2015 12:08 pm

metalj wrote:So you can copy the text output of a python program. So I could just generate an eBook if I wanted to.
A pretty boring ebook.
There are 10 types of people: those who understand binary and those who don't.

User avatar
DougieLawson
Posts: 36515
Joined: Sun Jun 16, 2013 11:19 pm
Location: Basingstoke, UK
Contact: Website Twitter

Re: generate lorem ipsum

Wed Jun 03, 2015 4:19 pm

I've got one of those. They're very easy to make following the instructions at http://webdesign.about.com/od/epub/a/build-an-epub.htm

It's too big at 100K to upload it here.

You can pipe the output from pypsum.py into a file to fill up the text with boring Lorem Ipsum.
Note: Having anything humorous in your signature is completely banned on this forum. Wear a tin-foil hat and you'll get a ban.

Any DMs sent on Twitter will be answered next month.

This is a doctor free zone.

Return to “Beginners”