Skip to content

Commit e8dfa70

Browse files
committed
Add missing style from Pandoc for CSL hanging-indent
Same as #1277 for bs4_book fix one of the report at #1422
1 parent 0d3eca4 commit e8dfa70

File tree

3 files changed

+6
-1
lines changed

3 files changed

+6
-1
lines changed

DESCRIPTION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Package: bookdown
22
Type: Package
33
Title: Authoring Books and Technical Documents with R Markdown
4-
Version: 0.33.2
4+
Version: 0.33.3
55
Authors@R: c(
66
person("Yihui", "Xie", role = c("aut", "cre"), email = "xie@yihui.name", comment = c(ORCID = "0000-0003-0645-5666")),
77
person("Christophe", "Dervieux", , "cderv@posit.co", role = c("ctb"),

NEWS.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# CHANGES IN bookdown VERSION 0.34
22

3+
- Fix an issue with CSL using hanging indent style in `gitbook()` (thanks, @pablobernabeu, #1422).
34

45
# CHANGES IN bookdown VERSION 0.33
56

inst/templates/gitbook.html

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,10 @@
7676
</style>
7777
$endif$
7878

79+
<style type="text/css">
80+
$-- Taken From Pandoc 'styles.html'
81+
div.hanging-indent{margin-left: 1.5em; text-indent: -1.5em;}
82+
</style>
7983
$if(csl-css)$
8084
<style type="text/css">
8185
/* Used with Pandoc 2.11+ new --citeproc when CSL is used */

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy