Commit graph

12 commits

Author SHA1 Message Date
John MacFarlane
60fb915351 Use {} around ctable caption. Closes #445. 2012-03-12 11:06:49 -07:00
John MacFarlane
b5411c06aa Improved LaTeX tables.
* Use ctable package, which allows footnotes and
  provides additional options.
* Made cell alignments work in multiline tables.
* Closes #272.
2011-07-10 12:33:45 -07:00
John MacFarlane
81403b8d80 LateX writer: In nonsimple tables, put cells in \parbox.
Otherwise we can get problems with linebreaks, and cell spacing
isn't right.

Thanks to Jef Allbright for pointing out the problem.
2011-01-14 14:45:04 -08:00
John MacFarlane
93c3e27731 pandoc: Add newline to output unless standalone.
This avoids output that does not end with a newline, which
is inconvenient when working with many tools.

Updated tests accordingly.
2011-01-06 21:05:28 -08:00
John MacFarlane
feb70b6e93 Made spacing at end of output more consistent.
Previously some of the writers added spurious whitespace.
This has been removed, resolving Issue #232.

NOTE: If your application combines pandoc's output with other
text, for example in a template, you may need to add spacing.
For example, a pandoc-generated markdown file will not have
a blank line after the final block element.  If you are inserting
it into another markdown file, you will need to make sure there
is a blank line between it and the next block element.
2010-07-20 12:42:12 -07:00
fiddlosopher
9eebaac7cf Updated latex and html table tests for new test case.
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1866 788f1e2b-df1e-0410-8736-df70ead52e1b
2010-03-07 19:35:27 +00:00
fiddlosopher
44bbe5c7de Added test for headerless table.
Updated test cases for latex and html.

git-svn-id: https://pandoc.googlecode.com/svn/trunk@1862 788f1e2b-df1e-0410-8736-df70ead52e1b
2010-03-07 19:34:57 +00:00
fiddlosopher
98ff6b2fd0 Better looking simple tables. Resolves Issue #180.
* Markdown reader: simple tables are now given column widths of 0.

* Column width of 0 is interpreted as meaning: use default column width.

* Writers now include explicit column width information only
  for multiline tables.  (Exception:  RTF writer, which requires
  column widths.  In this case, columns are given equal widths,
  adding up to the text width.)

* Simple tables should now look better in most output formats.

git-svn-id: https://pandoc.googlecode.com/svn/trunk@1631 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-11-28 03:22:33 +00:00
fiddlosopher
7ff2706838 Removed extra blank lines at end of LaTeX writer tests.
git-svn-id: https://pandoc.googlecode.com/svn/trunk@966 788f1e2b-df1e-0410-8736-df70ead52e1b
2007-08-30 22:49:41 +00:00
fiddlosopher
de72aea6b4 Brought test suite up to date.
git-svn-id: https://pandoc.googlecode.com/svn/trunk@828 788f1e2b-df1e-0410-8736-df70ead52e1b
2007-07-28 19:15:30 +00:00
fiddlosopher
06208f4e25 LaTeX writer tests updated,
+ for new handling of verbatim environments
+ for change from textwidth to columnwidth in table output
  (so that tables look right in columnar output)


git-svn-id: https://pandoc.googlecode.com/svn/trunk@811 788f1e2b-df1e-0410-8736-df70ead52e1b
2007-07-28 02:32:28 +00:00
fiddlosopher
8bbd11bf21 + Cleaned up runtests.pl. Incorporated table tests in loop with
main writer tests.
+ Renamed tables.tex to tables.latex, tables.db to tables.docbook,
  for consistency with the writer tests.


git-svn-id: https://pandoc.googlecode.com/svn/trunk@661 788f1e2b-df1e-0410-8736-df70ead52e1b
2007-07-09 02:19:15 +00:00
Renamed from tests/tables.tex (Browse further)