-
-
Notifications
You must be signed in to change notification settings - Fork 3.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
#8986 Image before Title still respects Title metadata #9162
base: main
Are you sure you want to change the base?
Changes from all commits
156180b
05584c0
6ac7e0b
d20c61b
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,52 +1,182 @@ | ||
[Table ("",[],[]) (Caption Nothing | ||
[]) | ||
[(AlignDefault,ColWidth 1.0)] | ||
(TableHead ("",[],[]) | ||
[]) | ||
[(TableBody ("",[],[]) (RowHeadColumns 0) | ||
[] | ||
[Row ("",[],[]) | ||
[Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1) | ||
[]] | ||
,Row ("",[],[]) | ||
[Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1) | ||
[Plain [Str "User\8217s",Space,Str "Guide"]]] | ||
,Row ("",[],[]) | ||
[Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1) | ||
[]] | ||
,Row ("",[],[]) | ||
[Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1) | ||
[]] | ||
,Row ("",[],[]) | ||
[Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1) | ||
[]] | ||
,Row ("",[],[]) | ||
[Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1) | ||
[Plain [Str "11",Space,Str "August",Space,Str "2017"]]] | ||
,Row ("",[],[]) | ||
[Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1) | ||
[]] | ||
,Row ("",[],[]) | ||
[Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1) | ||
[]] | ||
,Row ("",[],[]) | ||
[Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1) | ||
[]] | ||
,Row ("",[],[]) | ||
[Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1) | ||
[]]])] | ||
(TableFoot ("",[],[]) | ||
[]) | ||
,Para [Str "CONTENTS"] | ||
,Para [Strong [Str "Section",Space,Str "Page"]] | ||
,Para [Str "FIGURES",Space,Link ("",[],[]) [Str "iv"] ("#figures","")] | ||
,Para [Str "TABLES",Space,Link ("",[],[]) [Str "v"] ("#tables","")] | ||
,Para [Str "SECTION",Space,Str "1",Space,Str "Introduction",Space,Link ("",[],[]) [Str "2"] ("#introduction","")] | ||
,Header 1 ("figures",["Heading-0"],[]) [Str "FIGURES"] | ||
,Para [Strong [Str "Figure",Space,Str "Page"]] | ||
,Para [Strong [Str "No",Space,Str "table",Space,Str "of",Space,Str "figures",Space,Str "entries",Space,Str "found."]] | ||
,Header 1 ("tables",["Heading-0"],[]) [Str "TABLES"] | ||
,Para [Strong [Str "Table",Space,Str "Page"]] | ||
,Para [Strong [Str "No",Space,Str "table",Space,Str "of",Space,Str "figures",Space,Str "entries",Space,Str "found."]] | ||
,Header 1 ("introduction",[],[]) [Str "Introduction"] | ||
,Para [Str "Nothing",Space,Str "to",Space,Str "introduce,",Space,Str "yet."]] | ||
Pandoc | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Not sure what to do with this. It is entirely logical this is being converted to a There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Can you explain more fully? Are you saying that the Title style is used for both the document title and the title of the table of contents section? |
||
Meta | ||
{ unMeta = | ||
fromList [ ( "title" , MetaInlines [ Str "CONTENTS" ] ) ] | ||
} | ||
[ Table | ||
( "" , [] , [] ) | ||
(Caption Nothing []) | ||
[ ( AlignDefault , ColWidth 1.0 ) ] | ||
(TableHead ( "" , [] , [] ) []) | ||
[ TableBody | ||
( "" , [] , [] ) | ||
(RowHeadColumns 0) | ||
[] | ||
[ Row | ||
( "" , [] , [] ) | ||
[ Cell | ||
( "" , [] , [] ) | ||
AlignDefault | ||
(RowSpan 1) | ||
(ColSpan 1) | ||
[] | ||
] | ||
, Row | ||
( "" , [] , [] ) | ||
[ Cell | ||
( "" , [] , [] ) | ||
AlignDefault | ||
(RowSpan 1) | ||
(ColSpan 1) | ||
[ Plain [ Str "User\8217s" , Space , Str "Guide" ] ] | ||
] | ||
, Row | ||
( "" , [] , [] ) | ||
[ Cell | ||
( "" , [] , [] ) | ||
AlignDefault | ||
(RowSpan 1) | ||
(ColSpan 1) | ||
[] | ||
] | ||
, Row | ||
( "" , [] , [] ) | ||
[ Cell | ||
( "" , [] , [] ) | ||
AlignDefault | ||
(RowSpan 1) | ||
(ColSpan 1) | ||
[] | ||
] | ||
, Row | ||
( "" , [] , [] ) | ||
[ Cell | ||
( "" , [] , [] ) | ||
AlignDefault | ||
(RowSpan 1) | ||
(ColSpan 1) | ||
[] | ||
] | ||
, Row | ||
( "" , [] , [] ) | ||
[ Cell | ||
( "" , [] , [] ) | ||
AlignDefault | ||
(RowSpan 1) | ||
(ColSpan 1) | ||
[ Plain | ||
[ Str "11" | ||
, Space | ||
, Str "August" | ||
, Space | ||
, Str "2017" | ||
] | ||
] | ||
] | ||
, Row | ||
( "" , [] , [] ) | ||
[ Cell | ||
( "" , [] , [] ) | ||
AlignDefault | ||
(RowSpan 1) | ||
(ColSpan 1) | ||
[] | ||
] | ||
, Row | ||
( "" , [] , [] ) | ||
[ Cell | ||
( "" , [] , [] ) | ||
AlignDefault | ||
(RowSpan 1) | ||
(ColSpan 1) | ||
[] | ||
] | ||
, Row | ||
( "" , [] , [] ) | ||
[ Cell | ||
( "" , [] , [] ) | ||
AlignDefault | ||
(RowSpan 1) | ||
(ColSpan 1) | ||
[] | ||
] | ||
, Row | ||
( "" , [] , [] ) | ||
[ Cell | ||
( "" , [] , [] ) | ||
AlignDefault | ||
(RowSpan 1) | ||
(ColSpan 1) | ||
[] | ||
] | ||
] | ||
] | ||
(TableFoot ( "" , [] , [] ) []) | ||
, Para [ Strong [ Str "Section" , Space , Str "Page" ] ] | ||
, Para | ||
[ Str "FIGURES" | ||
, Space | ||
, Link ( "" , [] , [] ) [ Str "iv" ] ( "#figures" , "" ) | ||
] | ||
, Para | ||
[ Str "TABLES" | ||
, Space | ||
, Link ( "" , [] , [] ) [ Str "v" ] ( "#tables" , "" ) | ||
] | ||
, Para | ||
[ Str "SECTION" | ||
, Space | ||
, Str "1" | ||
, Space | ||
, Str "Introduction" | ||
, Space | ||
, Link ( "" , [] , [] ) [ Str "2" ] ( "#introduction" , "" ) | ||
] | ||
, Header | ||
1 ( "figures" , [ "Heading-0" ] , [] ) [ Str "FIGURES" ] | ||
, Para [ Strong [ Str "Figure" , Space , Str "Page" ] ] | ||
, Para | ||
[ Strong | ||
[ Str "No" | ||
, Space | ||
, Str "table" | ||
, Space | ||
, Str "of" | ||
, Space | ||
, Str "figures" | ||
, Space | ||
, Str "entries" | ||
, Space | ||
, Str "found." | ||
] | ||
] | ||
, Header | ||
1 ( "tables" , [ "Heading-0" ] , [] ) [ Str "TABLES" ] | ||
, Para [ Strong [ Str "Table" , Space , Str "Page" ] ] | ||
, Para | ||
[ Strong | ||
[ Str "No" | ||
, Space | ||
, Str "table" | ||
, Space | ||
, Str "of" | ||
, Space | ||
, Str "figures" | ||
, Space | ||
, Str "entries" | ||
, Space | ||
, Str "found." | ||
] | ||
] | ||
, Header | ||
1 ( "introduction" , [] , [] ) [ Str "Introduction" ] | ||
, Para | ||
[ Str "Nothing" | ||
, Space | ||
, Str "to" | ||
, Space | ||
, Str "introduce," | ||
, Space | ||
, Str "yet." | ||
] | ||
] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think there's a function like this in Data.Maybe