maruku 0.4.0 → 0.4.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (87) hide show
  1. data/bin/maruku +74 -22
  2. data/bin/marutest +15 -3
  3. data/docs/{changelog-0.3.md → changelog.md} +47 -18
  4. data/docs/entity_test.html +253 -0
  5. data/docs/entity_test.md +21 -0
  6. data/docs/index.html +124 -31
  7. data/docs/markdown_syntax.html +46 -46
  8. data/docs/maruku.html +124 -31
  9. data/docs/maruku.md +47 -9
  10. data/docs/proposal.html +4 -4
  11. data/lib/maruku.rb +1 -0
  12. data/lib/maruku/defaults.rb +1 -1
  13. data/lib/maruku/helpers.rb +4 -4
  14. data/lib/maruku/input/parse_block.rb +39 -33
  15. data/lib/maruku/input/parse_doc.rb +57 -3
  16. data/lib/maruku/input/parse_span_better.rb +28 -8
  17. data/lib/maruku/input/rubypants.rb +225 -0
  18. data/lib/maruku/input/type_detection.rb +1 -0
  19. data/lib/maruku/output/to_html.rb +46 -47
  20. data/lib/maruku/output/to_latex.rb +166 -45
  21. data/lib/maruku/output/to_latex_entities.rb +75 -43
  22. data/lib/maruku/string_utils.rb +21 -19
  23. data/lib/maruku/structures.rb +21 -12
  24. data/lib/maruku/structures_inspect.rb +12 -3
  25. data/lib/maruku/tests/new_parser.rb +2 -1
  26. data/lib/maruku/version.rb +1 -1
  27. data/tests/unittest/abbreviations.md +8 -8
  28. data/tests/unittest/attributes/attributes.md +10 -10
  29. data/tests/unittest/attributes/circular.md +4 -4
  30. data/tests/unittest/attributes/default.md +3 -3
  31. data/tests/unittest/blank.md +2 -2
  32. data/tests/unittest/blanks_in_code.md +12 -12
  33. data/tests/unittest/code.md +4 -4
  34. data/tests/unittest/code2.md +7 -6
  35. data/tests/unittest/code3.md +16 -16
  36. data/tests/unittest/easy.md +4 -4
  37. data/tests/unittest/email.md +4 -4
  38. data/tests/unittest/encoding/iso-8859-1.md +2 -2
  39. data/tests/unittest/encoding/utf-8.md +2 -2
  40. data/tests/unittest/entities.md +20 -20
  41. data/tests/unittest/escaping.md +16 -16
  42. data/tests/unittest/extra_dl.md +17 -7
  43. data/tests/unittest/extra_header_id.md +11 -11
  44. data/tests/unittest/extra_table1.md +4 -4
  45. data/tests/unittest/footnotes.md +38 -28
  46. data/tests/unittest/headers.md +6 -6
  47. data/tests/unittest/hrule.md +6 -6
  48. data/tests/unittest/images.md +18 -16
  49. data/tests/unittest/inline_html.md +7 -29
  50. data/tests/unittest/inline_html2.md +3 -3
  51. data/tests/unittest/links.md +7 -27
  52. data/tests/unittest/list1.md +9 -8
  53. data/tests/unittest/list2.md +15 -12
  54. data/tests/unittest/list3.md +16 -14
  55. data/tests/unittest/list4.md +4 -4
  56. data/tests/unittest/lists.md +33 -29
  57. data/tests/unittest/lists_after_paragraph.md +36 -36
  58. data/tests/unittest/lists_ol.md +43 -38
  59. data/tests/unittest/misc_sw.md +172 -156
  60. data/tests/unittest/notyet/escape.md +8 -8
  61. data/tests/unittest/notyet/header_after_par.md +6 -6
  62. data/tests/unittest/notyet/ticks.md +4 -4
  63. data/tests/unittest/notyet/triggering.md +21 -21
  64. data/tests/unittest/olist.md +5 -5
  65. data/tests/unittest/one.md +1 -1
  66. data/tests/unittest/paragraph.md +1 -1
  67. data/tests/unittest/paragraph_rules/dont_merge_ref.md +1 -1
  68. data/tests/unittest/paragraph_rules/tab_is_blank.md +2 -2
  69. data/tests/unittest/paragraphs.md +5 -5
  70. data/tests/unittest/recover/recover_links.md +2 -2
  71. data/tests/unittest/references/long_example.md +27 -19
  72. data/tests/unittest/smartypants.md +148 -0
  73. data/tests/unittest/syntax_hl.md +14 -14
  74. data/tests/unittest/test.md +2 -2
  75. data/tests/unittest/wrapping.md +8 -8
  76. data/tests/unittest/xml_instruction.md +82 -0
  77. metadata +149 -160
  78. data/docs/TOFIX.html +0 -22
  79. data/docs/TOFIX.md +0 -3
  80. data/docs/changelog-0.2.13.html +0 -30
  81. data/docs/changelog-0.2.13.md +0 -6
  82. data/docs/changelog-0.3.html +0 -113
  83. data/docs/faq.html +0 -57
  84. data/docs/faq.md +0 -32
  85. data/docs/hidden_o_n_squared.md +0 -10
  86. data/docs/todo.html +0 -40
  87. data/docs/todo.md +0 -9
@@ -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're only required to indent the first line. Lorem ipsum dolo sit amet, consectetuer adipiscing elit"
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&apos;re only required to indent the first line. Lorem ipsum dolo sit amet, consectetuer adipiscing elit</p>
156
+ <p>This is the second paragraph in the list item. You&rsquo;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. You're only required to indent the first line. Lorem ipsum dolo sit amet, consectetuer adipiscing elit
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. You're only required to indent the first line. Lorem ipsum dolo sit amet, consectetuer adipiscing elitAnother item in the same list.
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
- ></li
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
- ></li
349
- >
350
+ ></li
351
+ >
350
352
  </ol
351
- ><p>Ancora</p
352
- ><ol>
353
+ ><p>Ancora</p
354
+ ><ol>
353
355
  <li
354
- ><p>This is a list item with two paragraphs. Lorem ipsum dolor
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
- ></li
373
- >
376
+ ></li
377
+ >
374
378
  <li>Due</li
375
- >
379
+ >
376
380
  </ul
377
- ></li
378
- >
381
+ ></li
382
+ >
379
383
  <li
380
- ><p>Suspendisse id sem consectetuer libero luctus adipiscing.</p
381
- ></li
382
- >
384
+ ><p>Suspendisse id sem consectetuer libero luctus adipiscing.</p
385
+ ></li
386
+ >
383
387
  </ol
384
- ><p>Ancora</p
385
- ><ul>
388
+ ><p>Ancora</p
389
+ ><ul>
386
390
  <li
387
- ><p>This is a list item with two paragraphs.</p
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
- ></li
393
- >
397
+ ></li
398
+ >
394
399
  <li
395
- ><p>Another item in the same list.</p
396
- ></li
397
- >
400
+ ><p>Another item in the same list.</p
401
+ ></li
402
+ >
398
403
  </ul
399
- >
404
+ >
@@ -1,6 +1,6 @@
1
1
  Write a comment abouth the test here.
2
2
  *** Parameters: ***
3
- {:order=>"-9.5", :subject_short=>"painless software", :date=>"Nov 20 2006", :topic=>"/misc/coolsw", :archive=>false, :subject=>"Software not painful to use", :inmenu=>true}
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
- ", \"search, don't sort\" really works."
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's worth every penny. There are rumours that it's been converting (recovering) Emacs users (addicts). Unfortunately, it's Mac only. An alternative is ",
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't you take at look at ",
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>, &quot;search, don&apos;t sort&quot; really works.</li>
344
+ <li><em>Email</em>: <a href='http://gmail.com/'>GMail</a>, &ldquo;search, don&rsquo;t sort&rdquo; 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&apos;s worth every penny. There are rumours that it&apos;s been converting (recovering) Emacs users (addicts). Unfortunately, it&apos;s Mac only. An alternative is <a href='http://www.jedit.org/'>jedit</a> (GPL, Java).</li>
346
+ <li><em>Text Editor</em>: <a href='http://www.apple.com/getamac/'>TextMate</a>, you have to buy it, but it&rsquo;s worth every penny. There are rumours that it&rsquo;s been converting (recovering) Emacs users (addicts). Unfortunately, it&rsquo;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 &quot;help&quot;, &quot;copyright&quot;, &quot;credits&quot; or &quot;license&quot; for more information.
355
369
  &gt;&gt;&gt; exit
356
- &apos;Use Ctrl-D (i.e. EOF) to exit.&apos;
370
+ &#39;Use Ctrl-D (i.e. EOF) to exit.&#39;
357
371
  &gt;&gt;&gt; quit
358
- &apos;Use Ctrl-D (i.e. EOF) to exit.&apos;</code></pre></li>
372
+ &#39;Use Ctrl-D (i.e. EOF) to exit.&#39;</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&apos;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>
379
+ <p><em>Mark-up language</em>: HTML is so 2001, why don&rsquo;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 &quot;help&quot;, &quot;copyright&quot;, &quot;credits&quot; or &quot;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}, "search, don't sort" really works.
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, "search, don't sort"
484
+ -mail: GMail, search, don t sort
471
485
  really works.
472
486
  -ext Editor: TextMate, you have to
473
- buy it, but it's worth every penny.
474
- There are rumours that it's been
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's Mac
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 don't you take at look at Markdown? Look at the source of this page.
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, "search, don't sort" really works.Text Editor: 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 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 don't 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.
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
- ><h3>General</h3
612
- ><ul>
625
+ ><h3>General</h3
626
+ ><ul>
613
627
  <li
614
- ><em>Operating System</em
615
- > : <a href='http://www.apple.com/getamac/'>Mac OS X</a
616
- >: heaven, after the purgatory of Linux
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
- ><em>Browser</em
621
- >: <a href='http://getfirefox.com/'>Firefox</a
622
- >. On a Mac, <a href='http://www.caminobrowser.org/'>Camino</a
623
- >.</li
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
- ><em>Email</em
627
- >: <a href='http://gmail.com/'>GMail</a
628
- >, "search, don't sort" really works.</li
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
- ><em>Text Editor</em
632
- >: <a href='http://www.apple.com/getamac/'>TextMate</a
633
- >, you have to buy it, but it's worth every
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
- > (GPL, Java).</li
638
- >
651
+ > (GPL, Java).</li
652
+ >
639
653
  </ul
640
- ><h3>Development</h3
641
- ><ul>
654
+ ><h3>Development</h3
655
+ ><ul>
642
656
  <li
643
- ><em>Build system</em
644
- >: <a href='http://www.cmake.org/'>cmake</a
645
- >, throw the <a href='http://sources.redhat.com/autobook/'>autotools</a
646
- > away.</li
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
- ><em>Source code control system</em
650
- >: ditch CVS for <a href='http://subversion.tigris.org'>subversion</a
651
- >.</li
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
- ><em>Project management</em
655
- >: <a href='http://trac.edgewall.org/'>Trac</a
656
- > tracks everything.</li
657
- >
668
+ ><em>Project management</em
669
+ >: <a href='http://trac.edgewall.org/'>Trac</a
670
+ > tracks everything.</li
671
+ >
658
672
  <li
659
- ><p
660
- ><em>Scripting language</em
661
- >: <a href='http://www.ruby-lang.org/'>Ruby</a
662
- > is Japanese pragmatism (and has a <a href='http://poignantguide.net/ruby/'>poignant</a
663
- > guide).
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
- <p>$ python <br
667
- />
668
- Python 2.4.1 (#1, Jun 4 2005, 00:54:33)
669
- Type "help", "copyright", "credits" or "license" for more information.</p
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
- <blockquote>
673
- <blockquote>
674
- <p>exit
675
- 'Use Ctrl-D (i.e. EOF) to exit.'
676
- quit
677
- 'Use Ctrl-D (i.e. EOF) to exit.'</p
678
- >
679
- </blockquote
680
- >
681
- </blockquote
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
- ></li
685
- >
700
+ ></li
701
+ >
686
702
  <li
687
- ><p
688
- ><em>Java IDE</em
689
- >: <a href='http://www.borland.com/us/products/jbuilder/index.html'>JBuilder</a
690
- > is great software and has a free version (IMHO better than Eclipse). Java
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
- > and got opensourced.</p
693
- ></li
694
- >
708
+ > and got opensourced.</p
709
+ ></li
710
+ >
695
711
  <li
696
- ><em>Mark-up language</em
697
- >: HTML is so 2001, why don't you take at look at <a href='http://en.wikipedia.org/wiki/Markdown'>Markdown</a
698
- >? <a href='data/misc_markdown.png'>Look at the source of this page</a
699
- >.</li
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
- ><em>C++ libraries</em
703
- >:
718
+ ><em>C++ libraries</em
719
+ >:
704
720
  <ul>
705
721
  <li
706
- ><a href='http://www.trolltech.no/'>QT</a
707
- > for GUIs.</li
708
- >
722
+ ><a href='http://www.trolltech.no/'>QT</a
723
+ > for GUIs.</li
724
+ >
709
725
  <li
710
- ><a href='http://www.gnu.org/software/gsl/'>GSL</a
711
- > for math.</li
712
- >
726
+ ><a href='http://www.gnu.org/software/gsl/'>GSL</a
727
+ > for math.</li
728
+ >
713
729
  <li
714
- ><a href='http://www.imagemagick.org/Magick++/'>Magick++</a
715
- > for manipulating images.</li
716
- >
730
+ ><a href='http://www.imagemagick.org/Magick++/'>Magick++</a
731
+ > for manipulating images.</li
732
+ >
717
733
  <li
718
- ><a href='http://cairographics.org/'>Cairo</a
719
- > for creating PDFs.</li
720
- >
734
+ ><a href='http://cairographics.org/'>Cairo</a
735
+ > for creating PDFs.</li
736
+ >
721
737
  <li
722
- ><a href='http://www.boost.org/'>Boost</a
723
- > for just about everything else.</li
724
- >
738
+ ><a href='http://www.boost.org/'>Boost</a
739
+ > for just about everything else.</li
740
+ >
725
741
  </ul
726
- ></li
727
- >
742
+ ></li
743
+ >
728
744
  </ul
729
- ><h3>Research</h3
730
- ><ul>
745
+ ><h3>Research</h3
746
+ ><ul>
731
747
  <li
732
- ><em>Writing papers</em
733
- >: <a href='http://en.wikipedia.org/wiki/LaTeX'>LaTeX</a
734
- ></li
735
- >
748
+ ><em>Writing papers</em
749
+ >: <a href='http://en.wikipedia.org/wiki/LaTeX'>LaTeX</a
750
+ ></li
751
+ >
736
752
  <li
737
- ><em>Writing papers &amp; enjoying the process</em
738
- >: <a href='http://www.lyx.org'>LyX</a
739
- ></li
740
- >
753
+ ><em>Writing papers &amp; enjoying the process</em
754
+ >: <a href='http://www.lyx.org'>LyX</a
755
+ ></li
756
+ >
741
757
  <li
742
- ><em>Handsome figures in your papers</em
743
- >: <a href='http://www.xfig.org/'>xfig</a
744
- > or, better, <a href='http://tams-www.informatik.uni-hamburg.de/applets/jfig/'>jfig</a
745
- >.</li
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
- ><em>The occasional presentation with many graphical content</em
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
- > (using the <a href='http://ooolatex.sourceforge.net/'>OOOlatex plugin</a
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
- > plugin.</li
755
- >
770
+ > plugin.</li
771
+ >
756
772
  <li
757
- ><em>Managing BibTeX</em
758
- >: <a href='http://jabref.sourceforge.net/'>jabref</a
759
- >: multi-platform, for all your bibtex needs.</li
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
- ><em>IEEExplore and BibTeX</em
763
- >: convert citations using <a href='http://www.bibconverter.net/ieeexplore/'>BibConverter</a
764
- >.</li
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
- ><h3>Cool websites</h3
768
- ><ul>
783
+ ><h3>Cool websites</h3
784
+ ><ul>
769
785
  <li
770
- ><em>Best site in the wwworld</em
771
- >: <a href='http://en.wikipedia.org/'>Wikipedia</a
772
- ></li
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
- ><a href='http://www.mutopiaproject.org/'>Mutopia</a
776
- > for sheet music; <a href='http://www.gutenberg.org/'>the Gutenberg Project</a
777
- > for books; <a href='http://www.liberliber.it/'>LiberLiber</a
778
- > for books in italian.</li
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
- ><em>Blogs</em
782
- >: <a href='http://bloglines.com/'>Bloglines</a
783
- ></li
784
- >
797
+ ><em>Blogs</em
798
+ >: <a href='http://bloglines.com/'>Bloglines</a
799
+ ></li
800
+ >
785
801
  <li
786
- ><em>Sharing photos</em
787
- >: <a href='http://www.flickr.com/'>flickr</a
788
- > exposes an API you can use.</li
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
+ >