Skip to content
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

LQ should indent by default #3009 #3031

Merged
merged 1 commit into from Jul 31, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 2 additions & 0 deletions src/main/plugins/org.dita.pdf2/cfg/fo/attrs/topic-attr.xsl
Expand Up @@ -221,6 +221,8 @@ See the accompanying LICENSE file for applicable license.
</xsl:attribute-set>

<xsl:attribute-set name="lq" use-attribute-sets="common.block">
<xsl:attribute name="start-indent">30pt + from-parent(start-indent)</xsl:attribute>
<xsl:attribute name="end-indent">15pt + from-parent(end-indent)</xsl:attribute>
</xsl:attribute-set>

<xsl:attribute-set name="lq_simple" use-attribute-sets="common.block">
Expand Down
2 changes: 1 addition & 1 deletion src/main/plugins/org.dita.pdf2/xsl/fo/topic.xsl
Expand Up @@ -933,7 +933,7 @@ See the accompanying LICENSE file for applicable license.
</xsl:template>

<xsl:template match="*[contains(@class,' topic/lq ')]">
<fo:block>
<fo:block xsl:use-attribute-sets="lq">
<xsl:call-template name="commonattributes"/>
<xsl:choose>
<xsl:when test="@href or @reftitle">
Expand Down