For PDF output remove the indent from the <p>
Questions about XML that are not covered by the other forums should go here.
-
- Posts: 2
- Joined: Thu Jul 22, 2021 12:01 am
For PDF output remove the indent from the <p>
Hello, I want to remove the indent from the <p> so in the pdf shows the content aligned to the left but I can't seem to find where the indent is.
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE topic PUBLIC "-//OASIS//DTD DITA Topic//EN" "topic.dtd">
<topic id="introduction">
<title>Introduction</title>
<shortdesc>With just a little bit of care and preparation, any flower garden can be a vibrantly
colored environment.</shortdesc>
<body>
<p>With just a little bit of care and preparation, any flower garden can be a vibrantly
colored environment. Flowers can be selected for specific blooming seasons, colors and
shapes. Both annual and <xref keyref="perennial" format="dita">perennial</xref>
flower gardens can be planted depending on climate and specific needs.</p>
</body>
</topic>
Can anyone help me please?
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE topic PUBLIC "-//OASIS//DTD DITA Topic//EN" "topic.dtd">
<topic id="introduction">
<title>Introduction</title>
<shortdesc>With just a little bit of care and preparation, any flower garden can be a vibrantly
colored environment.</shortdesc>
<body>
<p>With just a little bit of care and preparation, any flower garden can be a vibrantly
colored environment. Flowers can be selected for specific blooming seasons, colors and
shapes. Both annual and <xref keyref="perennial" format="dita">perennial</xref>
flower gardens can be planted depending on climate and specific needs.</p>
</body>
</topic>
Can anyone help me please?
-
- Posts: 665
- Joined: Wed Oct 16, 2019 3:47 pm
Re: For PDF output remove the indent from the <p>
Post by julien_lacour »
Hello,
Normally the paragraphs are not indented by default in the DITA Map PDF - based on HTML5 & CSS transformation.
You can try to debug your CSS to see what rules are applied on paragraphs.
You can also send back an image to see what do you mean by "indent".
Regards,
Julien
Normally the paragraphs are not indented by default in the DITA Map PDF - based on HTML5 & CSS transformation.
You can try to debug your CSS to see what rules are applied on paragraphs.
You can also send back an image to see what do you mean by "indent".
Regards,
Julien
Return to “General XML Questions”
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service