File tree Expand file tree Collapse file tree 3 files changed +14
-4
lines changed Expand file tree Collapse file tree 3 files changed +14
-4
lines changed Original file line number Diff line number Diff line change @@ -56,7 +56,6 @@ const ignoreTags = new Set([
56
56
"SECTIONCONTENT" ,
57
57
"span" ,
58
58
"SPLIT" ,
59
- "SPLITINLINE" ,
60
59
"PDF_ONLY"
61
60
] ) ;
62
61
@@ -91,6 +90,16 @@ const processTextFunctionsDefaultLatex = {
91
90
// }
92
91
} ,
93
92
93
+ SPLITINLINE : ( node , writeTo ) => {
94
+ if ( getChildrenByTagName ( node , "JAVASCRIPTINLINE" ) [ 0 ] ) {
95
+ console . error ( "remove 'INLINE' from tag JAVASCRIPTINLINE" ) ;
96
+ }
97
+ if ( getChildrenByTagName ( node , "SCHEMEINLINE" ) [ 0 ] ) {
98
+ console . error ( "remove 'INLINE' from tag SCHEMEINLINE" ) ;
99
+ }
100
+ recursiveProcessTextLatex ( node . firstChild , writeTo ) ;
101
+ } ,
102
+
94
103
ABOUT : ( node , writeTo ) => {
95
104
writeTo . push ( "\\chapter*{" ) ;
96
105
const name = addName ( node , writeTo ) ;
Original file line number Diff line number Diff line change @@ -154,8 +154,8 @@ W1(50);
154
154
<SPLITINLINE ><SCHEME >procedure</SCHEME >
155
155
<JAVASCRIPT >function</JAVASCRIPT ></SPLITINLINE >
156
156
<SPLITINLINE >
157
- <SCHEME >make-withdraw</SCHEME >
158
- <JAVASCRIPTINLINE >make_withdraw</JAVASCRIPTINLINE >
157
+ <SCHEME >< SCHEMEINLINE > make-withdraw</ SCHEMEINLINE > </SCHEME >
158
+ <JAVASCRIPT >< JAVASCRIPTINLINE >make_withdraw</JAVASCRIPTINLINE ></ JAVASCRIPT >
159
159
</SPLITINLINE >
160
160
to an argument:
161
161
<SNIPPET EVAL =" no" >
Original file line number Diff line number Diff line change @@ -214,8 +214,9 @@ function an_integer_starting_from(n) {
214
214
<SCHEME >procedure
215
215
<SCHEMEINLINE >integers-starting-from</SCHEMEINLINE >
216
216
</SCHEME >
217
- <JAVASCRIPT >function</ JAVASCRIPT >
217
+ <JAVASCRIPT >function
218
218
<JAVASCRIPTINLINE >integers_starting_from</JAVASCRIPTINLINE >
219
+ </JAVASCRIPT >
219
220
</SPLITINLINE >
220
221
described in section <REF NAME =" sec:infinite-streams" />, but with an
221
222
important difference: The stream
You can’t perform that action at this time.
0 commit comments