maruku 0.4.0 → 0.4.1
Sign up to get free protection for your applications and to get access to all the features.
- data/bin/maruku +74 -22
- data/bin/marutest +15 -3
- data/docs/{changelog-0.3.md → changelog.md} +47 -18
- data/docs/entity_test.html +253 -0
- data/docs/entity_test.md +21 -0
- data/docs/index.html +124 -31
- data/docs/markdown_syntax.html +46 -46
- data/docs/maruku.html +124 -31
- data/docs/maruku.md +47 -9
- data/docs/proposal.html +4 -4
- data/lib/maruku.rb +1 -0
- data/lib/maruku/defaults.rb +1 -1
- data/lib/maruku/helpers.rb +4 -4
- data/lib/maruku/input/parse_block.rb +39 -33
- data/lib/maruku/input/parse_doc.rb +57 -3
- data/lib/maruku/input/parse_span_better.rb +28 -8
- data/lib/maruku/input/rubypants.rb +225 -0
- data/lib/maruku/input/type_detection.rb +1 -0
- data/lib/maruku/output/to_html.rb +46 -47
- data/lib/maruku/output/to_latex.rb +166 -45
- data/lib/maruku/output/to_latex_entities.rb +75 -43
- data/lib/maruku/string_utils.rb +21 -19
- data/lib/maruku/structures.rb +21 -12
- data/lib/maruku/structures_inspect.rb +12 -3
- data/lib/maruku/tests/new_parser.rb +2 -1
- data/lib/maruku/version.rb +1 -1
- data/tests/unittest/abbreviations.md +8 -8
- data/tests/unittest/attributes/attributes.md +10 -10
- data/tests/unittest/attributes/circular.md +4 -4
- data/tests/unittest/attributes/default.md +3 -3
- data/tests/unittest/blank.md +2 -2
- data/tests/unittest/blanks_in_code.md +12 -12
- data/tests/unittest/code.md +4 -4
- data/tests/unittest/code2.md +7 -6
- data/tests/unittest/code3.md +16 -16
- data/tests/unittest/easy.md +4 -4
- data/tests/unittest/email.md +4 -4
- data/tests/unittest/encoding/iso-8859-1.md +2 -2
- data/tests/unittest/encoding/utf-8.md +2 -2
- data/tests/unittest/entities.md +20 -20
- data/tests/unittest/escaping.md +16 -16
- data/tests/unittest/extra_dl.md +17 -7
- data/tests/unittest/extra_header_id.md +11 -11
- data/tests/unittest/extra_table1.md +4 -4
- data/tests/unittest/footnotes.md +38 -28
- data/tests/unittest/headers.md +6 -6
- data/tests/unittest/hrule.md +6 -6
- data/tests/unittest/images.md +18 -16
- data/tests/unittest/inline_html.md +7 -29
- data/tests/unittest/inline_html2.md +3 -3
- data/tests/unittest/links.md +7 -27
- data/tests/unittest/list1.md +9 -8
- data/tests/unittest/list2.md +15 -12
- data/tests/unittest/list3.md +16 -14
- data/tests/unittest/list4.md +4 -4
- data/tests/unittest/lists.md +33 -29
- data/tests/unittest/lists_after_paragraph.md +36 -36
- data/tests/unittest/lists_ol.md +43 -38
- data/tests/unittest/misc_sw.md +172 -156
- data/tests/unittest/notyet/escape.md +8 -8
- data/tests/unittest/notyet/header_after_par.md +6 -6
- data/tests/unittest/notyet/ticks.md +4 -4
- data/tests/unittest/notyet/triggering.md +21 -21
- data/tests/unittest/olist.md +5 -5
- data/tests/unittest/one.md +1 -1
- data/tests/unittest/paragraph.md +1 -1
- data/tests/unittest/paragraph_rules/dont_merge_ref.md +1 -1
- data/tests/unittest/paragraph_rules/tab_is_blank.md +2 -2
- data/tests/unittest/paragraphs.md +5 -5
- data/tests/unittest/recover/recover_links.md +2 -2
- data/tests/unittest/references/long_example.md +27 -19
- data/tests/unittest/smartypants.md +148 -0
- data/tests/unittest/syntax_hl.md +14 -14
- data/tests/unittest/test.md +2 -2
- data/tests/unittest/wrapping.md +8 -8
- data/tests/unittest/xml_instruction.md +82 -0
- metadata +149 -160
- data/docs/TOFIX.html +0 -22
- data/docs/TOFIX.md +0 -3
- data/docs/changelog-0.2.13.html +0 -30
- data/docs/changelog-0.2.13.md +0 -6
- data/docs/changelog-0.3.html +0 -113
- data/docs/faq.html +0 -57
- data/docs/faq.md +0 -32
- data/docs/hidden_o_n_squared.md +0 -10
- data/docs/todo.html +0 -40
- data/docs/todo.md +0 -9
data/tests/unittest/lists_ol.md
CHANGED
@@ -89,7 +89,9 @@ md_el(:document,[
|
|
89
89
|
md_el(:li,[
|
90
90
|
md_par(["This is a list item with two paragraphs."]),
|
91
91
|
md_par([
|
92
|
-
"This is the second paragraph in the list item. You
|
92
|
+
"This is the second paragraph in the list item. You",
|
93
|
+
md_entity("rsquo"),
|
94
|
+
"re only required to indent the first line. Lorem ipsum dolo sit amet, consectetuer adipiscing elit"
|
93
95
|
])
|
94
96
|
],{:want_my_paragraph=>true},[]),
|
95
97
|
md_el(:li,[md_par(["Another item in the same list."])],{:want_my_paragraph=>false},[])
|
@@ -151,7 +153,7 @@ md_el(:document,[
|
|
151
153
|
<li>
|
152
154
|
<p>This is a list item with two paragraphs.</p>
|
153
155
|
|
154
|
-
<p>This is the second paragraph in the list item. You&
|
156
|
+
<p>This is the second paragraph in the list item. You’re only required to indent the first line. Lorem ipsum dolo sit amet, consectetuer adipiscing elit</p>
|
155
157
|
</li>
|
156
158
|
|
157
159
|
<li>
|
@@ -257,12 +259,12 @@ Ancora
|
|
257
259
|
Ancora
|
258
260
|
|
259
261
|
-This is a list item with two paragraphs.
|
260
|
-
This is the second paragraph in the list item.
|
262
|
+
This is the second paragraph in the list item. Youre only required to indent the first line. Lorem ipsum dolo sit amet, consectetuer adipiscing elit
|
261
263
|
-nother item in the same list.
|
262
264
|
|
263
265
|
|
264
266
|
*** Output of to_s ***
|
265
|
-
Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aliquam hendrerit mi posuere lectus. Vestibulum enim wisi, viverra nec, fringilla in, laoreet vitae, risus.Donec sit amet nisl. Aliquam semper ipsum sit amet velit. Suspendisse id sem consectetuer libero luctus adipiscing.Donec sit amet nisl. Aliquam semper ipsum sit amet velit. Suspendisse id sem consectetuer libero luctus adipiscingDonec sit amet nisl. Aliquam semper ipsum sit amet velit. Suspendisse id sem consectetuer libero luctus adipiscingDonec sit amet nisl. Aliquam semper ipsum sit amet velit. Suspendisse id sem consectetuer libero luctus adipiscing.AncoraThis is a list item with two paragraphs. Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aliquam hendrerit mi posuere lectus.ATTENZIONE!UnoDuetretretreDueSuspendisse id sem consectetuer libero luctus adipiscing.AncoraThis is a list item with two paragraphs.This is the second paragraph in the list item.
|
267
|
+
Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aliquam hendrerit mi posuere lectus. Vestibulum enim wisi, viverra nec, fringilla in, laoreet vitae, risus.Donec sit amet nisl. Aliquam semper ipsum sit amet velit. Suspendisse id sem consectetuer libero luctus adipiscing.Donec sit amet nisl. Aliquam semper ipsum sit amet velit. Suspendisse id sem consectetuer libero luctus adipiscingDonec sit amet nisl. Aliquam semper ipsum sit amet velit. Suspendisse id sem consectetuer libero luctus adipiscingDonec sit amet nisl. Aliquam semper ipsum sit amet velit. Suspendisse id sem consectetuer libero luctus adipiscing.AncoraThis is a list item with two paragraphs. Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aliquam hendrerit mi posuere lectus.ATTENZIONE!UnoDuetretretreDueSuspendisse id sem consectetuer libero luctus adipiscing.AncoraThis is a list item with two paragraphs.This is the second paragraph in the list item. Youre only required to indent the first line. Lorem ipsum dolo sit amet, consectetuer adipiscing elitAnother item in the same list.
|
266
268
|
*** EOF ***
|
267
269
|
|
268
270
|
|
@@ -331,69 +333,72 @@ viverra nec, fringilla in, laoreet vitae, risus.
|
|
331
333
|
<ol>
|
332
334
|
<li>Donec sit amet nisl. Aliquam semper ipsum sit amet velit.
|
333
335
|
Suspendisse id sem consectetuer libero luctus adipiscing.</li
|
334
|
-
|
336
|
+
>
|
335
337
|
</ol
|
336
|
-
|
337
|
-
|
338
|
+
></li
|
339
|
+
>
|
338
340
|
<li>Donec sit amet nisl. Aliquam semper ipsum sit amet velit.
|
339
341
|
Suspendisse id sem consectetuer libero luctus adipiscing.
|
340
342
|
<ol>
|
341
343
|
<li>Donec sit amet nisl. Aliquam semper ipsum sit amet velit.
|
342
344
|
Suspendisse id sem consectetuer libero luctus adipiscing.</li
|
343
|
-
|
345
|
+
>
|
344
346
|
<li>Donec sit amet nisl. Aliquam semper ipsum sit amet velit.
|
345
347
|
Suspendisse id sem consectetuer libero luctus adipiscing.</li
|
346
|
-
|
348
|
+
>
|
347
349
|
</ol
|
348
|
-
|
349
|
-
|
350
|
+
></li
|
351
|
+
>
|
350
352
|
</ol
|
351
|
-
|
352
|
-
|
353
|
+
><p>Ancora</p
|
354
|
+
><ol>
|
353
355
|
<li
|
354
|
-
|
356
|
+
><p>This is a list item with two paragraphs. Lorem ipsum dolor
|
355
357
|
sit amet, consectetuer adipiscing elit. Aliquam hendrerit
|
356
358
|
mi posuere lectus.</p
|
357
|
-
|
359
|
+
>
|
360
|
+
|
358
361
|
<p>ATTENZIONE!</p
|
359
|
-
|
362
|
+
>
|
363
|
+
|
360
364
|
<ul>
|
361
365
|
<li>Uno</li
|
362
|
-
|
366
|
+
>
|
363
367
|
<li>Due
|
364
368
|
<ol>
|
365
369
|
<li>tre</li
|
366
|
-
|
370
|
+
>
|
367
371
|
<li>tre</li
|
368
|
-
|
372
|
+
>
|
369
373
|
<li>tre</li
|
370
|
-
|
374
|
+
>
|
371
375
|
</ol
|
372
|
-
|
373
|
-
|
376
|
+
></li
|
377
|
+
>
|
374
378
|
<li>Due</li
|
375
|
-
|
379
|
+
>
|
376
380
|
</ul
|
377
|
-
|
378
|
-
|
381
|
+
></li
|
382
|
+
>
|
379
383
|
<li
|
380
|
-
|
381
|
-
|
382
|
-
|
384
|
+
><p>Suspendisse id sem consectetuer libero luctus adipiscing.</p
|
385
|
+
></li
|
386
|
+
>
|
383
387
|
</ol
|
384
|
-
|
385
|
-
|
388
|
+
><p>Ancora</p
|
389
|
+
><ul>
|
386
390
|
<li
|
387
|
-
|
388
|
-
|
391
|
+
><p>This is a list item with two paragraphs.</p
|
392
|
+
>
|
393
|
+
|
389
394
|
<p>This is the second paragraph in the list item. You're
|
390
395
|
only required to indent the first line. Lorem ipsum dolor
|
391
396
|
sit amet, consectetuer adipiscing elit.</p
|
392
|
-
|
393
|
-
|
397
|
+
></li
|
398
|
+
>
|
394
399
|
<li
|
395
|
-
|
396
|
-
|
397
|
-
|
400
|
+
><p>Another item in the same list.</p
|
401
|
+
></li
|
402
|
+
>
|
398
403
|
</ul
|
399
|
-
|
404
|
+
>
|
data/tests/unittest/misc_sw.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
Write a comment abouth the test here.
|
2
2
|
*** Parameters: ***
|
3
|
-
{:order=>"-9.5", :
|
3
|
+
{:subject_short=>"painless software", :order=>"-9.5", :date=>"Nov 20 2006", :subject=>"Software not painful to use", :topic=>"/misc/coolsw", :archive=>false, :inmenu=>true}
|
4
4
|
*** Markdown input: ***
|
5
5
|
Subject: Software not painful to use
|
6
6
|
Subject_short: painless software
|
@@ -130,13 +130,25 @@ md_el(:document,[
|
|
130
130
|
md_em(["Email"]),
|
131
131
|
": ",
|
132
132
|
md_link(["GMail"],"gmail"),
|
133
|
-
",
|
133
|
+
", ",
|
134
|
+
md_entity("ldquo"),
|
135
|
+
"search, don",
|
136
|
+
md_entity("rsquo"),
|
137
|
+
"t sort",
|
138
|
+
md_entity("rdquo"),
|
139
|
+
" really works."
|
134
140
|
],{:want_my_paragraph=>false},[]),
|
135
141
|
md_el(:li_span,[
|
136
142
|
md_em(["Text Editor"]),
|
137
143
|
": ",
|
138
144
|
md_link(["TextMate"],"textmate"),
|
139
|
-
", you have to buy it, but it
|
145
|
+
", you have to buy it, but it",
|
146
|
+
md_entity("rsquo"),
|
147
|
+
"s worth every penny. There are rumours that it",
|
148
|
+
md_entity("rsquo"),
|
149
|
+
"s been converting (recovering) Emacs users (addicts). Unfortunately, it",
|
150
|
+
md_entity("rsquo"),
|
151
|
+
"s Mac only. An alternative is ",
|
140
152
|
md_link(["jedit"],"jedit"),
|
141
153
|
" (GPL, Java)."
|
142
154
|
],{:want_my_paragraph=>false},[])
|
@@ -193,7 +205,9 @@ md_el(:document,[
|
|
193
205
|
md_el(:li,[
|
194
206
|
md_par([
|
195
207
|
md_em(["Mark-up language"]),
|
196
|
-
": HTML is so 2001, why don
|
208
|
+
": HTML is so 2001, why don",
|
209
|
+
md_entity("rsquo"),
|
210
|
+
"t you take at look at ",
|
197
211
|
md_link(["Markdown"],"markdown"),
|
198
212
|
"? ",
|
199
213
|
md_im_link(["Look at the source of this page"], "data/misc_markdown.png", nil),
|
@@ -327,9 +341,9 @@ md_el(:document,[
|
|
327
341
|
|
328
342
|
<li><em>Browser</em>: <a href='http://getfirefox.com/'>Firefox</a>. On a Mac, <a href='http://www.caminobrowser.org/'>Camino</a>.</li>
|
329
343
|
|
330
|
-
<li><em>Email</em>: <a href='http://gmail.com/'>GMail</a>, &
|
344
|
+
<li><em>Email</em>: <a href='http://gmail.com/'>GMail</a>, “search, don’t sort” really works.</li>
|
331
345
|
|
332
|
-
<li><em>Text Editor</em>: <a href='http://www.apple.com/getamac/'>TextMate</a>, you have to buy it, but it&
|
346
|
+
<li><em>Text Editor</em>: <a href='http://www.apple.com/getamac/'>TextMate</a>, you have to buy it, but it’s worth every penny. There are rumours that it’s been converting (recovering) Emacs users (addicts). Unfortunately, it’s Mac only. An alternative is <a href='http://www.jedit.org/'>jedit</a> (GPL, Java).</li>
|
333
347
|
</ul>
|
334
348
|
|
335
349
|
<h3 id='development'>Development</h3>
|
@@ -353,16 +367,16 @@ md_el(:document,[
|
|
353
367
|
Python 2.4.1 (\#1, Jun 4 2005, 00:54:33)
|
354
368
|
Type "help", "copyright", "credits" or "license" for more information.
|
355
369
|
>>> exit
|
356
|
-
|
370
|
+
'Use Ctrl-D (i.e. EOF) to exit.'
|
357
371
|
>>> quit
|
358
|
-
|
372
|
+
'Use Ctrl-D (i.e. EOF) to exit.'</code></pre></li>
|
359
373
|
|
360
374
|
<li>
|
361
375
|
<p><em>Java IDE</em>: <a href='http://www.borland.com/us/products/jbuilder/index.html'>JBuilder</a> is great software and has a free version (IMHO better than Eclipse). Java is not a pain anymore since it gained <a href='http://java.sun.com/j2se/1.5.0/docs/guide/language/generics.html'>generics</a> and got opensourced.</p>
|
362
376
|
</li>
|
363
377
|
|
364
378
|
<li>
|
365
|
-
<p><em>Mark-up language</em>: HTML is so 2001, why don&
|
379
|
+
<p><em>Mark-up language</em>: HTML is so 2001, why don’t you take at look at <a href='http://en.wikipedia.org/wiki/Markdown'>Markdown</a>? <a href='data/misc_markdown.png'>Look at the source of this page</a>.</p>
|
366
380
|
</li>
|
367
381
|
|
368
382
|
<li>
|
@@ -404,7 +418,7 @@ Type "help", "copyright", "credits" or "licen
|
|
404
418
|
\begin{itemize}%
|
405
419
|
\item {\em Operating System} : \href{http://www.apple.com/getamac/}{Mac OS X}: heaven, after the purgatory of Linux and the hell of Windows.
|
406
420
|
\item {\em Browser}: \href{http://getfirefox.com/}{Firefox}. On a Mac, \href{http://www.caminobrowser.org/}{Camino}.
|
407
|
-
\item {\em Email}: \href{http://gmail.com/}{GMail},
|
421
|
+
\item {\em Email}: \href{http://gmail.com/}{GMail}, ``search, don't sort'' really works.
|
408
422
|
\item {\em Text Editor}: \href{http://www.apple.com/getamac/}{TextMate}, you have to buy it, but it's worth every penny. There are rumours that it's been converting (recovering) Emacs users (addicts). Unfortunately, it's Mac only. An alternative is \href{http://www.jedit.org/}{jedit} (GPL, Java).
|
409
423
|
|
410
424
|
\end{itemize}
|
@@ -433,7 +447,7 @@ Type "help", "copyright", "credits" or "license" for more information.
|
|
433
447
|
\item {\em Java IDE}: \href{http://www.borland.com/us/products/jbuilder/index.html}{JBuilder} is great software and has a free version (IMHO better than Eclipse). Java is not a pain anymore since it gained \href{http://java.sun.com/j2se/1.5.0/docs/guide/language/generics.html}{generics} and got opensourced.
|
434
448
|
|
435
449
|
|
436
|
-
\item {\em Mark-up language}: HTML is so 2001, why don't you take at look at \href{http://en.wikipedia.org/wiki/Markdown}{Markdown}? .
|
450
|
+
\item {\em Mark-up language}: HTML is so 2001, why don't you take at look at \href{http://en.wikipedia.org/wiki/Markdown}{Markdown}? \href{data/misc_markdown.png}{Look at the source of this page}.
|
437
451
|
|
438
452
|
|
439
453
|
\item {\em C++ libraries}: * \href{http://www.trolltech.no/}{QT} for GUIs. * \href{http://www.gnu.org/software/gsl/}{GSL} for math. * \href{http://www.imagemagick.org/Magick++/}{Magick++} for manipulating images. * \href{http://cairographics.org/}{Cairo} for creating PDFs. * \href{http://www.boost.org/}{Boost} for just about everything else.
|
@@ -467,13 +481,13 @@ General-perating System: Mac OS X: heaven,
|
|
467
481
|
after the purgatory of Linux and
|
468
482
|
the hell of Windows.
|
469
483
|
-rowser: Firefox. On a Mac, Camino.
|
470
|
-
-mail: GMail,
|
484
|
+
-mail: GMail, search, don t sort
|
471
485
|
really works.
|
472
486
|
-ext Editor: TextMate, you have to
|
473
|
-
buy it, but it
|
474
|
-
There are rumours that it
|
487
|
+
buy it, but it s worth every penny.
|
488
|
+
There are rumours that it s been
|
475
489
|
converting (recovering) Emacs users
|
476
|
-
(addicts). Unfortunately, it
|
490
|
+
(addicts). Unfortunately, it s Mac
|
477
491
|
only. An alternative is jedit(GPL,
|
478
492
|
Java).
|
479
493
|
|
@@ -482,7 +496,7 @@ Development-Build system: cmake, throw the autotools away.
|
|
482
496
|
-Project management: Trac tracks everything.
|
483
497
|
-Scripting language: Ruby is Japanese pragmatism (and has a poignant guide). Python, you say? Python is too academic and snob:
|
484
498
|
-Java IDE: JBuilder is great software and has a free version (IMHO better than Eclipse). Java is not a pain anymore since it gained generics and got opensourced.
|
485
|
-
-Mark-up language: HTML is so 2001, why
|
499
|
+
-Mark-up language: HTML is so 2001, why dont you take at look at Markdown? Look at the source of this page.
|
486
500
|
-C++ libraries: * QT for GUIs. * GSL for math. * Magick++ for manipulating images. * Cairo for creating PDFs. * Boost for just about everything else.
|
487
501
|
|
488
502
|
Research-riting papers: LaTeX
|
@@ -511,7 +525,7 @@ API you can use.
|
|
511
525
|
|
512
526
|
|
513
527
|
*** Output of to_s ***
|
514
|
-
GeneralOperating System : Mac OS X: heaven, after the purgatory of Linux and the hell of Windows.Browser: Firefox. On a Mac, Camino.Email: GMail,
|
528
|
+
GeneralOperating System : Mac OS X: heaven, after the purgatory of Linux and the hell of Windows.Browser: Firefox. On a Mac, Camino.Email: GMail, search, dont sort really works.Text Editor: TextMate, you have to buy it, but its worth every penny. There are rumours that its been converting (recovering) Emacs users (addicts). Unfortunately, its Mac only. An alternative is jedit (GPL, Java).DevelopmentBuild system: cmake, throw the autotools away.Source code control system: ditch CVS for subversion.Project management: Trac tracks everything.Scripting language: Ruby is Japanese pragmatism (and has a poignant guide). Python, you say? Python is too academic and snob:Java IDE: JBuilder is great software and has a free version (IMHO better than Eclipse). Java is not a pain anymore since it gained generics and got opensourced.Mark-up language: HTML is so 2001, why dont you take at look at Markdown? Look at the source of this page.C++ libraries: * QT for GUIs. * GSL for math. * Magick++ for manipulating images. * Cairo for creating PDFs. * Boost for just about everything else.ResearchWriting papers: LaTeXWriting papers & enjoying the process: LyXHandsome figures in your papers: xfig or, better, jfig.The occasional presentation with many graphical content: OpenOffice Impress (using the OOOlatex plugin); the alternative is PowerPoint with the TexPoint plugin.Managing BibTeX: jabref: multi-platform, for all your bibtex needs.IEEExplore and BibTeX: convert citations using BibConverter.Cool websitesBest site in the wwworld: WikipediaMutopia for sheet music; the Gutenberg Project for books; LiberLiber for books in italian.Blogs: BloglinesSharing photos: flickr exposes an API you can use.
|
515
529
|
*** EOF ***
|
516
530
|
|
517
531
|
|
@@ -608,184 +622,186 @@ Archive: no
|
|
608
622
|
Date: Nov 20 2006
|
609
623
|
Order: -9.5
|
610
624
|
inMenu: true</p
|
611
|
-
|
612
|
-
|
625
|
+
><h3>General</h3
|
626
|
+
><ul>
|
613
627
|
<li
|
614
|
-
|
615
|
-
|
616
|
-
|
628
|
+
><em>Operating System</em
|
629
|
+
> : <a href='http://www.apple.com/getamac/'>Mac OS X</a
|
630
|
+
>: heaven, after the purgatory of Linux
|
617
631
|
and the hell of Windows.</li
|
618
|
-
|
632
|
+
>
|
619
633
|
<li
|
620
|
-
|
621
|
-
|
622
|
-
|
623
|
-
|
624
|
-
|
634
|
+
><em>Browser</em
|
635
|
+
>: <a href='http://getfirefox.com/'>Firefox</a
|
636
|
+
>. On a Mac, <a href='http://www.caminobrowser.org/'>Camino</a
|
637
|
+
>.</li
|
638
|
+
>
|
625
639
|
<li
|
626
|
-
|
627
|
-
|
628
|
-
|
629
|
-
|
640
|
+
><em>Email</em
|
641
|
+
>: <a href='http://gmail.com/'>GMail</a
|
642
|
+
>, "search, don't sort" really works.</li
|
643
|
+
>
|
630
644
|
<li
|
631
|
-
|
632
|
-
|
633
|
-
|
645
|
+
><em>Text Editor</em
|
646
|
+
>: <a href='http://www.apple.com/getamac/'>TextMate</a
|
647
|
+
>, you have to buy it, but it's worth every
|
634
648
|
penny. There are rumours that it's been converting (recovering) Emacs
|
635
649
|
users (addicts). Unfortunately, it's Mac only. An alternative is
|
636
650
|
<a href='http://www.jedit.org/'>jedit</a
|
637
|
-
|
638
|
-
|
651
|
+
> (GPL, Java).</li
|
652
|
+
>
|
639
653
|
</ul
|
640
|
-
|
641
|
-
|
654
|
+
><h3>Development</h3
|
655
|
+
><ul>
|
642
656
|
<li
|
643
|
-
|
644
|
-
|
645
|
-
|
646
|
-
|
647
|
-
|
657
|
+
><em>Build system</em
|
658
|
+
>: <a href='http://www.cmake.org/'>cmake</a
|
659
|
+
>, throw the <a href='http://sources.redhat.com/autobook/'>autotools</a
|
660
|
+
> away.</li
|
661
|
+
>
|
648
662
|
<li
|
649
|
-
|
650
|
-
|
651
|
-
|
652
|
-
|
663
|
+
><em>Source code control system</em
|
664
|
+
>: ditch CVS for <a href='http://subversion.tigris.org'>subversion</a
|
665
|
+
>.</li
|
666
|
+
>
|
653
667
|
<li
|
654
|
-
|
655
|
-
|
656
|
-
|
657
|
-
|
668
|
+
><em>Project management</em
|
669
|
+
>: <a href='http://trac.edgewall.org/'>Trac</a
|
670
|
+
> tracks everything.</li
|
671
|
+
>
|
658
672
|
<li
|
659
|
-
|
660
|
-
|
661
|
-
|
662
|
-
|
663
|
-
|
673
|
+
><p
|
674
|
+
><em>Scripting language</em
|
675
|
+
>: <a href='http://www.ruby-lang.org/'>Ruby</a
|
676
|
+
> is Japanese pragmatism (and has a <a href='http://poignantguide.net/ruby/'>poignant</a
|
677
|
+
> guide).
|
664
678
|
Python, you say? Python is too academic and snob:</p
|
665
|
-
|
666
|
-
|
667
|
-
|
668
|
-
|
669
|
-
|
670
|
-
|
679
|
+
>
|
680
|
+
|
681
|
+
<p>$ python <br/
|
682
|
+
>
|
683
|
+
Python 2.4.1 (#1, Jun 4 2005, 00:54:33)
|
684
|
+
Type "help", "copyright", "credits" or "license" for more information.</p
|
685
|
+
>
|
686
|
+
|
671
687
|
<blockquote>
|
672
|
-
|
673
|
-
|
674
|
-
|
675
|
-
|
676
|
-
|
677
|
-
|
678
|
-
|
679
|
-
|
680
|
-
|
681
|
-
|
682
|
-
|
688
|
+
<blockquote>
|
689
|
+
<blockquote>
|
690
|
+
<p>exit
|
691
|
+
'Use Ctrl-D (i.e. EOF) to exit.'
|
692
|
+
quit
|
693
|
+
'Use Ctrl-D (i.e. EOF) to exit.'</p
|
694
|
+
>
|
695
|
+
</blockquote
|
696
|
+
>
|
697
|
+
</blockquote
|
698
|
+
>
|
683
699
|
</blockquote
|
684
|
-
|
685
|
-
|
700
|
+
></li
|
701
|
+
>
|
686
702
|
<li
|
687
|
-
|
688
|
-
|
689
|
-
|
690
|
-
|
703
|
+
><p
|
704
|
+
><em>Java IDE</em
|
705
|
+
>: <a href='http://www.borland.com/us/products/jbuilder/index.html'>JBuilder</a
|
706
|
+
> is great software and has a free version (IMHO better than Eclipse). Java
|
691
707
|
is not a pain anymore since it gained <a href='http://java.sun.com/j2se/1.5.0/docs/guide/language/generics.html'>generics</a
|
692
|
-
|
693
|
-
|
694
|
-
|
708
|
+
> and got opensourced.</p
|
709
|
+
></li
|
710
|
+
>
|
695
711
|
<li
|
696
|
-
|
697
|
-
|
698
|
-
|
699
|
-
|
700
|
-
|
712
|
+
><em>Mark-up language</em
|
713
|
+
>: HTML is so 2001, why don't you take at look at <a href='http://en.wikipedia.org/wiki/Markdown'>Markdown</a
|
714
|
+
>? <a href='data/misc_markdown.png'>Look at the source of this page</a
|
715
|
+
>.</li
|
716
|
+
>
|
701
717
|
<li
|
702
|
-
|
703
|
-
|
718
|
+
><em>C++ libraries</em
|
719
|
+
>:
|
704
720
|
<ul>
|
705
721
|
<li
|
706
|
-
|
707
|
-
|
708
|
-
|
722
|
+
><a href='http://www.trolltech.no/'>QT</a
|
723
|
+
> for GUIs.</li
|
724
|
+
>
|
709
725
|
<li
|
710
|
-
|
711
|
-
|
712
|
-
|
726
|
+
><a href='http://www.gnu.org/software/gsl/'>GSL</a
|
727
|
+
> for math.</li
|
728
|
+
>
|
713
729
|
<li
|
714
|
-
|
715
|
-
|
716
|
-
|
730
|
+
><a href='http://www.imagemagick.org/Magick++/'>Magick++</a
|
731
|
+
> for manipulating images.</li
|
732
|
+
>
|
717
733
|
<li
|
718
|
-
|
719
|
-
|
720
|
-
|
734
|
+
><a href='http://cairographics.org/'>Cairo</a
|
735
|
+
> for creating PDFs.</li
|
736
|
+
>
|
721
737
|
<li
|
722
|
-
|
723
|
-
|
724
|
-
|
738
|
+
><a href='http://www.boost.org/'>Boost</a
|
739
|
+
> for just about everything else.</li
|
740
|
+
>
|
725
741
|
</ul
|
726
|
-
|
727
|
-
|
742
|
+
></li
|
743
|
+
>
|
728
744
|
</ul
|
729
|
-
|
730
|
-
|
745
|
+
><h3>Research</h3
|
746
|
+
><ul>
|
731
747
|
<li
|
732
|
-
|
733
|
-
|
734
|
-
|
735
|
-
|
748
|
+
><em>Writing papers</em
|
749
|
+
>: <a href='http://en.wikipedia.org/wiki/LaTeX'>LaTeX</a
|
750
|
+
></li
|
751
|
+
>
|
736
752
|
<li
|
737
|
-
|
738
|
-
|
739
|
-
|
740
|
-
|
753
|
+
><em>Writing papers & enjoying the process</em
|
754
|
+
>: <a href='http://www.lyx.org'>LyX</a
|
755
|
+
></li
|
756
|
+
>
|
741
757
|
<li
|
742
|
-
|
743
|
-
|
744
|
-
|
745
|
-
|
746
|
-
|
758
|
+
><em>Handsome figures in your papers</em
|
759
|
+
>: <a href='http://www.xfig.org/'>xfig</a
|
760
|
+
> or, better, <a href='http://tams-www.informatik.uni-hamburg.de/applets/jfig/'>jfig</a
|
761
|
+
>.</li
|
762
|
+
>
|
747
763
|
<li
|
748
|
-
|
749
|
-
|
764
|
+
><em>The occasional presentation with many graphical content</em
|
765
|
+
>:
|
750
766
|
<a href='http://www.openoffice.org/product/impress.html'>OpenOffice Impress</a
|
751
|
-
|
752
|
-
|
767
|
+
> (using the <a href='http://ooolatex.sourceforge.net/'>OOOlatex plugin</a
|
768
|
+
>);
|
753
769
|
the alternative is PowerPoint with the <a href='http://texpoint.necula.org/'>TexPoint</a
|
754
|
-
|
755
|
-
|
770
|
+
> plugin.</li
|
771
|
+
>
|
756
772
|
<li
|
757
|
-
|
758
|
-
|
759
|
-
|
760
|
-
|
773
|
+
><em>Managing BibTeX</em
|
774
|
+
>: <a href='http://jabref.sourceforge.net/'>jabref</a
|
775
|
+
>: multi-platform, for all your bibtex needs.</li
|
776
|
+
>
|
761
777
|
<li
|
762
|
-
|
763
|
-
|
764
|
-
|
765
|
-
|
778
|
+
><em>IEEExplore and BibTeX</em
|
779
|
+
>: convert citations using <a href='http://www.bibconverter.net/ieeexplore/'>BibConverter</a
|
780
|
+
>.</li
|
781
|
+
>
|
766
782
|
</ul
|
767
|
-
|
768
|
-
|
783
|
+
><h3>Cool websites</h3
|
784
|
+
><ul>
|
769
785
|
<li
|
770
|
-
|
771
|
-
|
772
|
-
|
773
|
-
|
786
|
+
><em>Best site in the wwworld</em
|
787
|
+
>: <a href='http://en.wikipedia.org/'>Wikipedia</a
|
788
|
+
></li
|
789
|
+
>
|
774
790
|
<li
|
775
|
-
|
776
|
-
|
777
|
-
|
778
|
-
|
779
|
-
|
791
|
+
><a href='http://www.mutopiaproject.org/'>Mutopia</a
|
792
|
+
> for sheet music; <a href='http://www.gutenberg.org/'>the Gutenberg Project</a
|
793
|
+
> for books; <a href='http://www.liberliber.it/'>LiberLiber</a
|
794
|
+
> for books in italian.</li
|
795
|
+
>
|
780
796
|
<li
|
781
|
-
|
782
|
-
|
783
|
-
|
784
|
-
|
797
|
+
><em>Blogs</em
|
798
|
+
>: <a href='http://bloglines.com/'>Bloglines</a
|
799
|
+
></li
|
800
|
+
>
|
785
801
|
<li
|
786
|
-
|
787
|
-
|
788
|
-
|
789
|
-
|
802
|
+
><em>Sharing photos</em
|
803
|
+
>: <a href='http://www.flickr.com/'>flickr</a
|
804
|
+
> exposes an API you can use.</li
|
805
|
+
>
|
790
806
|
</ul
|
791
|
-
|
807
|
+
>
|