<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-2873066637293605914</id><updated>2011-12-17T15:03:50.311-08:00</updated><category term='Screenshots'/><category term='Manual'/><category term='Download'/><category term='License'/><title type='text'>Enpi</title><subtitle type='html'>almost a word processor for the console</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://enpiscript.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2873066637293605914/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://enpiscript.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>nazario</name><uri>http://www.blogger.com/profile/01424339521050491483</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>5</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-2873066637293605914.post-1690049996696415232</id><published>2008-02-29T02:46:00.000-08:00</published><updated>2011-12-17T15:03:50.501-08:00</updated><title type='text'></title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_O8zetFLnyXA/R8qTZ6X_FbI/AAAAAAAAACc/JhdtrIvoXtA/s1600-h/console_dinosaur.piccolo.jpg"&gt;&lt;img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer;" src="http://3.bp.blogspot.com/_O8zetFLnyXA/R8qTZ6X_FbI/AAAAAAAAACc/JhdtrIvoXtA/s200/console_dinosaur.piccolo.jpg" alt="" id="BLOGGER_PHOTO_ID_5173109195364308402" border="0" /&gt;&lt;/a&gt;&lt;span&gt;In the early days of word processing, writers would control the overall appearance of their printed documents through commands they embedded into their texts. One of the best known programs adopting this approach was &lt;a href="http://en.wikipedia.org/wiki/WordStar"&gt;WordStar&lt;/a&gt;&lt;/span&gt;, with its set of markup codes to be entered through special key sequences at the time of writing. Those codes would remain visible on screen within your document alongside your text, just like in HTML editors today. Because of the need to enter both words and codes with the keyboard, interaction with the writing software still closely resembled working with a typewriter. And the fact that no point-and-click activity with a mouse was involved made electronic writing inherently stress-free, as it let writers concentrate on words rather than on the word processor.&lt;br /&gt;&lt;br /&gt;Today WYSIWYG point-and-click environments enjoy general acceptance, and text-based applications are usually seen as useless scrap, good only for &lt;span style="font-weight: bold;"&gt;console dinosaurs&lt;/span&gt;. Yet all the pros of non-graphical writing software are still there, and it is a known fact that text-based word processors tend to improve their users' productivity. In addition, using a lightweight text-based console word processor would enable you to recycle old machines, thus protecting the environment from electronic waste while at the same time letting you save your money.&lt;br /&gt;&lt;br /&gt;Text editors aside, unfortunately, under the Un*x/Linux console you find very few character-based applications for writers. As I needed one such console tool, &lt;a href="http://enpiscript.blogspot.com/2008/02/download.html"&gt;and I wanted it to be simple&lt;/a&gt; to install and use and not too demanding in terms of required dependencies, I eventually decided to write this naive script (I am not a professional programmer or developer). Enpi sits on top of LaTeX (the actual text processor), and is capable of generating printable ps files from a human readable lightly tagged text source.&lt;br /&gt;&lt;br /&gt;What happens in practice when using enpi, is that you write and edit your documents as plain text files in your text editor of choice, then you add a few unobtrusive markup codes to control the typesetting details (justification of paragraphs, font family and dimensions, italicized or bold characters or whatever) and leave to the script the actual task of letting you preview and then properly print your work. The markup is made up of BBCode-like tags, so &lt;a href="http://enpiscript.blogspot.com/2008/02/how-to-use-enpi.html"&gt;using enpi is in fact as difficult as posting to a bulletin board&lt;/a&gt;. This simple script works for me, and my hope is that enpi can somehow prove useful to others as well.&lt;br /&gt;&lt;br /&gt;Enpi is &lt;a href="http://enpiscript.blogspot.com/2008/02/license.html"&gt;GPLed software&lt;/a&gt;. If you want to try it, you can &lt;a href="http://enpiscript.blogspot.com/2008/02/screenshots.html"&gt;download it here&lt;/a&gt;. The &lt;span style="font-style: italic;"&gt;console dinosaur&lt;/span&gt; drawing above is based on a drawing by my daughter when she was three years old, and is GPLed too.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2873066637293605914-1690049996696415232?l=enpiscript.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2873066637293605914/posts/default/1690049996696415232'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2873066637293605914/posts/default/1690049996696415232'/><link rel='alternate' type='text/html' href='http://enpiscript.blogspot.com/2008/02/why-enpi.html' title=''/><author><name>nazario</name><uri>http://www.blogger.com/profile/01424339521050491483</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_O8zetFLnyXA/R8qTZ6X_FbI/AAAAAAAAACc/JhdtrIvoXtA/s72-c/console_dinosaur.piccolo.jpg' height='72' width='72'/></entry><entry><id>tag:blogger.com,1999:blog-2873066637293605914.post-509348030342640081</id><published>2008-02-29T02:10:00.000-08:00</published><updated>2010-04-01T07:23:44.823-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Manual'/><title type='text'>How To Install and Use Enpi</title><content type='html'>To install the program unpack the tarball&lt;br /&gt;&lt;br /&gt;$ tar xzvf enpi.tar.gz&lt;br /&gt;&lt;br /&gt;The compressed archive contains the script in two versions: one is generic (enpi.nn, nn being the version number), and one is customized to work with Ubuntu (enpi-nn.ub). Just rename the main executable script you are planning to use as enpi, and copy it to somewhere in your PATH.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.ubuntu.com/"&gt;&lt;/a&gt;Ubuntu users may have to install two additional packages to their computers:&lt;br /&gt;&lt;br /&gt;- texlive-latex-recommended&lt;br /&gt;- psutils&lt;br /&gt;&lt;br /&gt;If you are updating from an older version of Enpi, do not forget to remove the hidden .enpi directory located inside your home directory before using version 0.3 of the script.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold; font-style: italic;"&gt;The tags&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;To use the script, first you must annotate your plain text document with a few simple formatting tags; to preview your document and to generate a printable formatted output, start enpi from the command line or from an x terminal with&lt;br /&gt;&lt;br /&gt;$   enpi filename&lt;br /&gt;&lt;br /&gt;where filename is the file you are editing.&lt;br /&gt;&lt;br /&gt;Below is a list of the basic text-formatting commands you can use with enpi. Tags are either the same as in the regular BBCode for bullettin boards, or made up after them. More commands are available to handle page numbering, images, lists, and to work with tabs. For the complete list of tags, see the manual coming with the script in the tarball.&lt;br /&gt;&lt;br /&gt;Font formatting: &lt;span style="font-weight: bold;"&gt;[12pt]&lt;/span&gt; is for normal fonts, &lt;span style="font-weight: bold;"&gt;[10pt]&lt;/span&gt; &lt;span style=";font-family:times new roman;font-size:85%;"  &gt;is for small fonts&lt;/span&gt;, and &lt;span style="font-weight: bold;"&gt;[14pt]&lt;/span&gt; &lt;span style="font-size:130%;"&gt;is for larger fonts&lt;span style="font-size:100%;"&gt;;&lt;/span&gt;&lt;/span&gt; &lt;span style="font-weight: bold;"&gt;[rm]&lt;/span&gt; &lt;span style="font-family:times new roman;"&gt;is for Roman&lt;/span&gt;, &lt;span style="font-weight: bold;"&gt;[hl]&lt;/span&gt; &lt;span style="font-family:arial;"&gt;is for Helvetica&lt;/span&gt;, and &lt;span style="font-weight: bold;"&gt;[co]&lt;/span&gt; &lt;span style="font-family:courier new;"&gt;is for Courier&lt;/span&gt;.  In addition&lt;br /&gt;&lt;br /&gt;this text is &lt;span style="font-weight: bold;"&gt;[b]&lt;/span&gt; bold &lt;span style="font-weight: bold;"&gt;[/b]&lt;/span&gt; - this text is &lt;span style="font-weight: bold;"&gt;bold&lt;/span&gt;&lt;br /&gt;this text is &lt;span style="font-weight: bold;"&gt;[i]&lt;/span&gt; italic &lt;span style="font-weight: bold;"&gt;[/i]&lt;/span&gt; - this text is &lt;i&gt;italic&lt;/i&gt;&lt;br /&gt;this text is &lt;span style="font-weight: bold;"&gt;[u]&lt;/span&gt; underlined &lt;span style="font-weight: bold;"&gt;[/u]&lt;/span&gt;  - this text is &lt;u&gt;underlined&lt;/u&gt;.&lt;br /&gt;&lt;br /&gt;You can nest tags to have - say - &lt;span style="font-weight: bold;"&gt;[rm][u][i]&lt;/span&gt; &lt;span style="font-style: italic;font-family:times new roman;font-size:100%;"  &gt; &lt;u&gt;underlined italicized text&lt;/u&gt;&lt;/span&gt; &lt;span style="font-weight: bold;"&gt;[/i][/u]&lt;/span&gt; in Roman; with other font families your mileage may vary, as under enpi not all LaTeX fonts seem to allow all possible combinations.&lt;br /&gt;&lt;br /&gt;Paragraph formatting: tags and commands will &lt;span style="font-style: italic;"&gt;not&lt;/span&gt; show up in the printable output, of course (see the screenshots below). Fully justified paragraphs are the default but&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;[le]&lt;br /&gt;&lt;/span&gt;&lt;span&gt;T&lt;/span&gt;&lt;span&gt;his would be a left-hand aligned paragraph.&lt;br /&gt;&lt;/span&gt;&lt;span style="font-weight: bold;"&gt;[/le]&lt;/span&gt;&lt;span&gt;&lt;br /&gt;&lt;/span&gt; &lt;div style="text-align: center;"&gt;  &lt;span style="font-weight: bold;"&gt;&lt;/span&gt; &lt;div style="text-align: justify;"&gt;&lt;span style="font-weight: bold;"&gt;[ce]&lt;/span&gt;&lt;span style="font-weight: bold;"&gt;&lt;br /&gt;&lt;/span&gt; &lt;div style="text-align: center;"&gt;these words would be centered&lt;br /&gt;&lt;/div&gt; &lt;span style="font-weight: bold;"&gt;[/ce]&lt;/span&gt;&lt;br /&gt;&lt;/div&gt; &lt;/div&gt; &lt;span&gt;&lt;span style="font-weight: bold;"&gt;[&lt;/span&gt;&lt;/span&gt;&lt;span style="font-weight: bold;"&gt;ri]&lt;br /&gt;&lt;/span&gt; &lt;div style="text-align: right;"&gt;&lt;span style="font-weight: bold;"&gt;&lt;/span&gt;&lt;span&gt;and finally&lt;/span&gt; this paragraph would be aligned to the right&lt;br /&gt;&lt;/div&gt; &lt;span style="font-weight: bold;"&gt; [/ri]&lt;/span&gt; &lt;div style="text-align: center;"&gt; &lt;div style="text-align: justify;"&gt;&lt;br /&gt;&lt;span&gt;With a double backslash \\&lt;br /&gt;you can force line breaks.&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;Footnotes can be added to your documents by putting them between double squared brackets. &lt;span style="font-weight: bold;"&gt;[[&lt;/span&gt; As an example, this would appear  as a footnote in your document &lt;span style="font-weight: bold;"&gt;]]&lt;/span&gt;.&lt;br /&gt;&lt;br /&gt;Quotations: the opening and closing tags are the same as in any BBCode-based bulletin board. Though margins are fixed and cannot be changed from within enpi, the script will have LaTeX nicely indent quoted text as necessary&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;[quote]&lt;/span&gt;&lt;br /&gt;&lt;blockquote&gt;The quoted excerpt can be of any length. It will appear as slightly smaller and both left- and right-hand side indented text.&lt;br /&gt;&lt;/blockquote&gt;&lt;span style="font-weight: bold;"&gt;[/quote]&lt;/span&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;span style="font-weight: bold; font-style: italic;"&gt;Enpi and the JOE editor&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;If you are editing your text inside the &lt;a href="http://joe-editor.sourceforge.net/"&gt;JOE editor&lt;/a&gt; you need not write the tags by hand. The task of adding the BBCode tags to your file can be handled through a specific set of key sequences coded into a JOE macro, called enpi4joe, in a manner which is reminiscent of the way old word processors used to work.&lt;br /&gt;&lt;br /&gt;The enpi4joe key sequences are based on the F2 through F9 function keys followed by one more character or number.&lt;br /&gt;&lt;br /&gt;As an example F5-based key sequences are for font formatting. F5-B will cause JOE to add the [b] &lt;span style="font-weight: bold;"&gt;bold&lt;/span&gt; [/b] text tags to your document; similarly, the F5-I sequence is for adding [i]&lt;span style="font-style: italic;"&gt; italic &lt;/span&gt;[/i]  text to documents, whereas F5-U is for [u] &lt;u&gt;underlined&lt;/u&gt; [/u] text.&lt;br /&gt;&lt;br /&gt;Font families and dimensions can be managed through F6- and F7- key sequences respectively. F6-H is for [hl] (Helvetica), F6-C is for [co] (courier), and F6-R is for [rm] (roman); F7-B is for big [14pt] fonts, while F7-S is for smaller [10pt] fonts; F7-D is for the default [12pt] font dimension.&lt;br /&gt;&lt;br /&gt;The manual contains the full list of key bindings you can use with enpi4joe and it also explains how to activate the macro. Key sequences are not case-sensitive.&lt;br /&gt;&lt;/div&gt; &lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2873066637293605914-509348030342640081?l=enpiscript.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2873066637293605914/posts/default/509348030342640081'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2873066637293605914/posts/default/509348030342640081'/><link rel='alternate' type='text/html' href='http://enpiscript.blogspot.com/2008/02/how-to-use-enpi.html' title='How To Install and Use Enpi'/><author><name>nazario</name><uri>http://www.blogger.com/profile/01424339521050491483</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-2873066637293605914.post-1671397541813305953</id><published>2008-02-29T01:53:00.000-08:00</published><updated>2008-03-02T09:54:13.280-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Screenshots'/><title type='text'>Screenshots</title><content type='html'>Here are two screenshots of enpi at work:&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_O8zetFLnyXA/R8k2YqX_FVI/AAAAAAAAABc/Ope4NLE5XrQ/s1600-h/c_preview.jpg"&gt;&lt;img style="cursor: pointer;" src="http://1.bp.blogspot.com/_O8zetFLnyXA/R8k2YqX_FVI/AAAAAAAAABc/Ope4NLE5XrQ/s200/c_preview.jpg" alt="" id="BLOGGER_PHOTO_ID_5172725444331378002" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;In fact the first image is not a real screenshot, but a sample of the temporary file generated for previewing in the console. You can see the title line and article 5 of the Universal Declaration of Human Rights appearing in a Roman font; part of the title is bold and italicized. Article 18 is Helvetica, and article 19 is Courier text.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_O8zetFLnyXA/R8k0i6X_FUI/AAAAAAAAABU/KusogLYnEac/s1600-h/enpi_screenshot.GUI.jpg"&gt;&lt;img style="cursor: pointer;" src="http://2.bp.blogspot.com/_O8zetFLnyXA/R8k0i6X_FUI/AAAAAAAAABU/KusogLYnEac/s200/enpi_screenshot.GUI.jpg" alt="" id="BLOGGER_PHOTO_ID_5172723421401781570" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;You can also use enpi as a lightweight substitute for your word processor in the GUI. Here you see the "source" (i.e. the tag-annotated plain text) being edited with Nedit, the terminal from which you start enpi, and gv showing the formatted output. In the GUI you can usually print out your text either from within enpi or through your viewer of choice.&lt;br /&gt;&lt;a href="http://zope.unimc.it/cla/risorse/documento.2007-03-19.6116257884/software"&gt;&lt;br /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2873066637293605914-1671397541813305953?l=enpiscript.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2873066637293605914/posts/default/1671397541813305953'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2873066637293605914/posts/default/1671397541813305953'/><link rel='alternate' type='text/html' href='http://enpiscript.blogspot.com/2008/02/download.html' title='Screenshots'/><author><name>nazario</name><uri>http://www.blogger.com/profile/01424339521050491483</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_O8zetFLnyXA/R8k2YqX_FVI/AAAAAAAAABc/Ope4NLE5XrQ/s72-c/c_preview.jpg' height='72' width='72'/></entry><entry><id>tag:blogger.com,1999:blog-2873066637293605914.post-6393419637182200366</id><published>2008-02-29T01:46:00.000-08:00</published><updated>2009-10-19T16:28:03.767-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Download'/><title type='text'>Download</title><content type='html'>Enpi can be downloaded from &lt;a href="http://peflic.pbworks.com/f/enpi-0.3.tar.gz"&gt;here&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;Previous versions are available from the University of Macerata &lt;a href="http://zope.unimc.it/cla/risorse/documento.2007-03-19.6116257884/software"&gt; Language Centre website&lt;/a&gt;.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2873066637293605914-6393419637182200366?l=enpiscript.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2873066637293605914/posts/default/6393419637182200366'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2873066637293605914/posts/default/6393419637182200366'/><link rel='alternate' type='text/html' href='http://enpiscript.blogspot.com/2008/02/screenshots.html' title='Download'/><author><name>nazario</name><uri>http://www.blogger.com/profile/01424339521050491483</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-2873066637293605914.post-8964591967606160769</id><published>2008-02-29T01:28:00.000-08:00</published><updated>2008-03-01T12:39:48.959-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='License'/><title type='text'>License</title><content type='html'>My "enpi" script is Free Software, released under the terms of the GNU General Public License, either version 2 of the License, or any later version published by the &lt;a href="http://www.fsf.org/"&gt;Free Software Foundation&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;The Enpi manual is released under the GNU Free Documentation License Version 1.2 or any later version published by the &lt;a href="http://www.fsf.org/"&gt;Free Software Foundation&lt;/a&gt;.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2873066637293605914-8964591967606160769?l=enpiscript.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2873066637293605914/posts/default/8964591967606160769'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2873066637293605914/posts/default/8964591967606160769'/><link rel='alternate' type='text/html' href='http://enpiscript.blogspot.com/2008/02/license.html' title='License'/><author><name>nazario</name><uri>http://www.blogger.com/profile/01424339521050491483</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry></feed>
