-
-
Notifications
You must be signed in to change notification settings - Fork 36
border-bottom of text format #262
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
Comments
Could you post a complete example? Works here with the latest version. <Layout xmlns="urn:speedata.de:2009/publisher/en"
xmlns:sd="urn:speedata:2009/publisher/functions/en">
<DefineTextformat name="h" alignment="leftaligned" border-top="0.5pt" border-bottom="0.5pt" hyphenate="no" />
<Record element="data">
<Output>
<Text>
<Paragraph textformat="h">
<Value select="sd:dummytext()"></Value>
</Paragraph>
</Text>
</Output>
</Record>
</Layout> There is no |
Version: 3.9.31 <Layout
xmlns="urn:speedata.de:2009/publisher/en"
xmlns:sd="urn:speedata:2009/publisher/functions/en">
<Trace grid="no" />
<DefineTextformat name="h1" alignment="leftaligned" border-top="0.5pt" border-bottom="0.5pt" margin-bottom="6pt" hyphenate="no" />
<DefineTextformat name="center" alignment="centered" hyphenate="no" border-top="0.5pt" border-bottom="0.5pt" />
<Pageformat width="210mm" height="297mm" />
<SetGrid width="10mm" height="10mm" />
<Pagetype name="page" test="true()">
<PositioningArea name="head">
<PositioningFrame width="17" height="0.5" row="1.5" column="2" />
</PositioningArea>
<PositioningArea name="body">
<PositioningFrame width="17" height="27" row="2" column="2" />
</PositioningArea>
<PositioningArea name="footer">
<PositioningFrame width="17" height="1" row="28" column="2" />
</PositioningArea>
</Pagetype>
<Record element="data">
<!-- todo in AtPageCreation verschieben -->
<PlaceObject area="footer" keepposition="yes" column="1">
<Textblock textformat="center">
<Paragraph>
<Value select="document/title" />
</Paragraph>
</Textblock>
</PlaceObject>
<ProcessNode select="body" />
</Record>
<Record element="body">
<Output area="body">
<Text>
<Paragraph textformat="h1">
<Value>Test</Value>
</Paragraph>
<Paragraph>
<Value select="." />
</Paragraph>
</Text>
</Output>
</Record>
</Layout> <data>
<document>
<title>Änderungen</title>
</document>
<body>Inhalt</body>
</data> With |
Slightly shorter <Layout
xmlns="urn:speedata.de:2009/publisher/en"
xmlns:sd="urn:speedata:2009/publisher/functions/en">
<DefineTextformat name="h1" border-bottom="0.5pt" margin-bottom="1pt"/>
<Record element="data">
<Output>
<Text>
<Paragraph textformat="h1">
<Value>text</Value>
</Paragraph>
</Text>
</Output>
</Record>
</Layout> The flexible rule width is not taken into account. Why?
This is slightly more complicated than I thought. Disabling the margin-bottom makes the rule to re-appear. Thank you for the report, I don't have an estimated time of fix though. |
Do not rush, I am just playing a little bit with speedata. How do you get this tree? |
@neolithos The tree is rendered with https://ctan.org/pkg/nodetree |
I try to underline a paragraph with the following method:
But I do not get any line.
Why is there no
margin-bottom
,padding-bottom
?The text was updated successfully, but these errors were encountered: