You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Nesting output like `1-1` is not supported by default (nesting can be expressed using `//beginchild` - `//endchild`).
116
116
117
117
Usage:
118
118
@@ -122,15 +122,24 @@ Usage:
122
122
3. 3rd condition
123
123
```
124
124
125
-
The value of Number is ignored.
125
+
You must write one more space character at line head like itemize.
126
+
127
+
Whether the numbers appear as described depends on the software that produces the output.
128
+
129
+
* HTML (EPUB), TeX: The number will start from 1 regardless of the number entered.
130
+
* IDGXML, text: The numbers will be output as described. Therefore, writing all numbers as "1." will produce strange results.
131
+
132
+
In HTML (EPUB) and TeX builders, use `//olnum[number]` to change the first number. Note that the intermediate numbers cannot be changed.
133
+
134
+
Usage:
126
135
127
136
```
128
-
1. 1st condition
129
-
1. 2nd condition
130
-
1. 3rd condition
131
-
```
137
+
//olnum[10]
132
138
133
-
You must write one more space character at line head like itemize.
139
+
1. This number will be 10
140
+
2. This number will be 11
141
+
6. 12 in continuity, not 6 or 15.
142
+
```
134
143
135
144
## Definition List
136
145
@@ -512,6 +521,26 @@ Seeing is believing.
512
521
513
522
You can use inline markup in quotations.
514
523
524
+
Center-aligned paragraphs are represented by `//centering{ ~ //}` and right-aligned paragraphs by `//flushright{ ~ //}`.
525
+
526
+
To include multiple paragraphs, separate them with a blank line.
527
+
528
+
Usage:
529
+
530
+
```
531
+
//centering{
532
+
This is
533
+
534
+
center aligned.
535
+
//}
536
+
537
+
//flushright{
538
+
This is
539
+
540
+
right aligned.
541
+
//}
542
+
```
543
+
515
544
## Short column
516
545
517
546
Some block commands are used for short column.
@@ -670,7 +699,7 @@ If you'd like to assign a number like 'Equation 1.1`, specify the identifier and
670
699
671
700
To reference this, use the inline command `@<eq>`.
672
701
673
-
There is `@<m>{ ... }` for inline (see "Fence notation for inline commands" section also).
702
+
There is `@<m>{ ... }` for inline. When writing long expressions, it is convenient to use fence notation (`@<m>$~$` or `@<m>|~|`) to avoid escaping. (see "Fence notation for inline commands" section also).
674
703
675
704
Whether LaTeX formula is correctly displayed or not depends on the processing system. PDFMaker uses LaTeX internally, so there is no problem.
676
705
@@ -943,20 +972,27 @@ Usage:
943
972
944
973
## Raw Data Block
945
974
946
-
When you want to write non-Re:VIEW line, use `//raw` or `//embed`.
975
+
When you want to write non-Re:VIEW line, use `//embed` or `@<embed>`.
947
976
948
-
### `//raw` block
977
+
### `//embed` block
949
978
950
979
Usage:
951
980
952
981
```
953
-
//raw[|html|<div class="special">\nthis is a special line.\n</div>]
982
+
//embed{
983
+
<div class="special">
984
+
this is a special line.
985
+
</div>
986
+
//}
987
+
988
+
//embed[html,markdown]{
989
+
<div class="special">
990
+
this is a special line.
991
+
</div>
992
+
//}
954
993
```
955
994
956
-
In above line, `html` is a builder name that handle raw data.
957
-
You can use `html`, `latex`, `idgxml` and `top` as builder name.
958
-
You can specify multiple builder names with separator `,`.
959
-
`\n` is translated into newline(U+000A).
995
+
In above line, `html` and `markdown` is a builder name that handle raw data.
960
996
961
997
Output:
962
998
@@ -970,27 +1006,22 @@ this is a special line.
970
1006
971
1007
(In other formats, it is just ignored.)
972
1008
973
-
Note: `//raw` and`@<raw>` may break structured document easily.
1009
+
For inline, use`@<embed>{|builder|raw string}`.
974
1010
975
-
### `//embed` block
1011
+
### `//raw` block
1012
+
1013
+
`//raw` and `@<raw>` is an old notation and should no longer be used (use it only if you want to avoid line breaks in IDGXML builder).
976
1014
977
1015
Usage:
978
1016
979
1017
```
980
-
//embed{
981
-
<div class="special">
982
-
this is a special line.
983
-
</div>
984
-
//}
985
-
986
-
//embed[html,markdown]{
987
-
<div class="special">
988
-
this is a special line.
989
-
</div>
990
-
//}
1018
+
//raw[|html|<div class="special">\nthis is a special line.\n</div>]
991
1019
```
992
1020
993
-
In above line, `html` and `markdown` is a builder name that handle raw data.
1021
+
In above line, `html` is a builder name that handle raw data.
1022
+
You can use `html`, `latex`, `idgxml` and `top` as builder name.
1023
+
You can specify multiple builder names with separator `,`.
1024
+
`\n` is translated into newline(U+000A).
994
1025
995
1026
Output:
996
1027
@@ -1004,11 +1035,13 @@ this is a special line.
1004
1035
1005
1036
(In other formats, it is just ignored.)
1006
1037
1038
+
Note: `//embed`, `@<embed>`, `//raw` and `@<raw>` may break structured document easily.
1039
+
1007
1040
### Nested itemize block
1008
1041
1009
1042
Re:VIEW itemize blocks basically cannot express nested items. Also, none of itemize blocks allow to contain another itemize block or paragraph/image/table/list.
1010
1043
1011
-
As a workaround, Re:VIEW4.2 provides an experimental `//beginchild` and `//endchild`. If you want to include something in an itemize block, enclose it with `//beginchild` and `//endchild`. It is also possible to create a multiple nest.
1044
+
As a workaround, Re:VIEW provides `//beginchild` and `//endchild` since Re:VIEW 4.2. If you want to include something in an itemize block, enclose it with `//beginchild` and `//endchild`. It is also possible to create a multiple nest.
1012
1045
1013
1046
```
1014
1047
* UL1
@@ -1091,9 +1124,11 @@ Output:
1091
1124
@<tti>{FooClass}:: teletype (monospaced font) and italic
1092
1125
@<ttb>{BarClass}:: teletype (monospaced font) and bold
1093
1126
@<code>{a.foo(bar)}:: teletype (monospaced font) for fragments of code
1094
-
@<tcy>{}:: short horizontal text in vertical text
1127
+
@<tcy>{text}:: short horizontal text in vertical text
1095
1128
@<ins>{sentence}:: inserted part (underline)
1096
1129
@<del>{sentence}:: deleted part (strike through)
1130
+
@<sup>{text}:: superscript
1131
+
@<sub>{text}:: subscript
1097
1132
```
1098
1133
1099
1134
### References
@@ -1121,8 +1156,8 @@ Output:
1121
1156
@<m>{a + \alpha}:: TeX inline equation
1122
1157
@<w>{key}:: expand the value corresponding to the key.
1123
1158
@<wb>{key}:: expand the value corresponding to the key with bold style.
1124
-
@<raw>{|html|<span>ABC</span>}:: inline raw data inline. `\}` is `}`, `\\` is `\`, and `\n` is newline.
1125
1159
@<embed>{|html|<span>ABC</span>}:: inline raw data inline. `\}` is `}` and `\\` is `\`.
1160
+
@<raw>{|html|<span>ABC</span>}:: inline raw data inline. `\}` is `}`, `\\` is `\`, and `\n` is newline. (deprecated)
1126
1161
@<idx>{string}:: output a string and register it as an index. See makeindex.md.
1127
1162
@<hidx>{string}:: register a string as an index. A leveled index is expressed like `parent<<>>child`
1128
1163
@<balloon>{abc}:: inline balloon in code block. For example, `@<balloon>{ABC}` produces `←ABC`. This may seem too simple. To decorate it, modify the style sheet file or override a function by `review-ext.rb`
0 commit comments