summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorIain McGinniss <iainmcgin@gmail.com>2012-11-03 14:43:13 +0000
committerIain McGinniss <iainmcgin@gmail.com>2012-11-03 14:43:13 +0000
commitfd283b64dd8ae98f7d17d2bb5b71b3d4aa1d51c6 (patch)
tree0748e6975056c039a844a0057c4f74f63ac0aab2 /README.md
parent79833dcccf2c02bc2a5621d534b0cbf1d941e4ef (diff)
downloadscala-fd283b64dd8ae98f7d17d2bb5b71b3d4aa1d51c6.tar.gz
scala-fd283b64dd8ae98f7d17d2bb5b71b3d4aa1d51c6.tar.bz2
scala-fd283b64dd8ae98f7d17d2bb5b71b3d4aa1d51c6.zip
conversion of classes and objects chapter
Diffstat (limited to 'README.md')
-rw-r--r--README.md16
1 files changed, 16 insertions, 0 deletions
diff --git a/README.md b/README.md
index c396e7c462..ee4d6cbf5c 100644
--- a/README.md
+++ b/README.md
@@ -31,6 +31,8 @@ Conversion from LaTeX - Guidelines
#. Convert all `\example`
#. Convert all `\code`
#. Convert all `\footnote`
+#. Convert all `\paragraph`
+#. Delete all `\comment{...}`
#. Convert all single quote pairs
#. Convert all double quote pairs
#. Look for manually defined enumerated lists (1. 2. 3. etc)
@@ -81,6 +83,18 @@ the pandoc equivalent of
where `<type>` is one of the classes representing the language of the
code fragment.
+### Definitions
+
+Pandoc supports definition lists, however these do not seem to be a good
+semantic match for the numbered definitions in the reference. The only
+compromise came up with here was to treat definitions like quotations:
+
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+> **Definition**
+> Let $C$ be a class with template ...
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+
+
### Macro replacements:
- While MathJAX just support LaTeX style command definition, it is recommended
@@ -103,6 +117,8 @@ code fragment.
use underscore emphasis and capitalise the text manually, `_LIKE THIS_`.
- `\code{...}` can be replaced with standard in-line verbatim markdown,
`` `like this` ``.
+- `\paragraph` (typically used for a non-numbered header) can be replaced by
+ a hard line break, which is a `\` followed immediately by a newline.
### Unicode Character replacements