by

Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Aug 04 12:12
    pgundlach commented #260
  • Aug 04 12:11
    pgundlach commented #260
  • Aug 04 11:40
    Demosteneus commented #260
  • Aug 04 11:08
    pgundlach commented #260
  • Aug 04 10:33
    Demosteneus commented #260
  • Aug 04 09:06
    Demosteneus commented #260
  • Aug 04 08:52
    pgundlach commented #260
  • Aug 04 08:30
    Demosteneus commented #260
  • Aug 03 14:58
    pgundlach commented #259
  • Aug 03 14:57
    pgundlach closed #259
  • Aug 03 14:57

    pgundlach on develop

    Bugfix for colspan/rowspan in t… M: small schema change Regenerate QA reference.pdf So… and 2 more (compare)

  • Aug 03 14:40
    pgundlach labeled #260
  • Aug 03 14:40
    pgundlach assigned #260
  • Aug 03 14:40
    pgundlach milestoned #260
  • Aug 03 14:40
    pgundlach opened #260
  • Aug 03 12:02
    pgundlach commented #259
  • Aug 03 09:06
    pgundlach labeled #259
  • Aug 03 09:06
    pgundlach assigned #259
  • Aug 03 08:45
    Demosteneus opened #259
  • Jul 31 09:40
    pgundlach commented #258
Marius Räsener
@elmcrest
or have a valid work around
or, maybe should I go with LuaTeX/LuaLaTeX?
Patrick Gundlach
@pgundlach
You can remove the table and use Output/Text to place text, that text will break across pages.
Marius Räsener
@elmcrest
how would I do all the formatting?
Patrick Gundlach
@pgundlach
Much of the code can be re-used (<Paragraph>, formatting)
Marius Räsener
@elmcrest
ok, sure
let me try
not sure yet how I can have the elements align nicely
ah, wait, with that I will lose Tablehead and Tablefoot
😭
Patrick Gundlach
@pgundlach
I would create several PageAreas for each column. Thead and tfoot can be simulated with another area ontop of the columns and at the bottom
Marius Räsener
@elmcrest
alright, I will give it a try I guess
no chance you could extend the Table that it will be able to break? :)
Patrick Gundlach
@pgundlach
Actually that should not be too hard, but I need time (and for that money)
Marius Räsener
@elmcrest
yeah makes sense
how much time would you estimate?
Patrick Gundlach
@pgundlach
I have up uploaded a new version of the publisher that fixes the multipage table bug @elmcrest has experienced. (3.1.21)
Marius Räsener
@elmcrest
sweet!
PiXL
@Pi_XL_twitter

Hallo Patrick,
ich versuche gerade eine geschachtelte Aufzählung zu erzeugen.

<ul>
<li>Test
<ul>
<li>Sub</li>
<li>Sub 2</li>
</ul>
</li>
</ul>
Ich versuche es über CSS zu ändern mit
li ul li {
list-style-type: square;
}
das funktioniert nicht, wie kann ich hier vorgehen? Einen Einzug benötige ich auch noch.

Folgendes CSS wird auch nicht vollständig angewendet:
strong, blau{
color: Blau;
}
Die <blau>-Tag werden blau, aber die <strong>-Tag bleiben schwarz.

Patrick Gundlach
@pgundlach
@Pi_XL_twitter ul/li unterstützt noch kein CSS. Wenn man besondere lis haben möchte, muss man das simulieren (<Paragraph><Value>* </Value><Value>text</Value></Paragraph>)
@Pi_XL_twitter und das mit einem Textformat mit Einzug und rows="-1"
Michael Dovgal
@michaelDovgal
Hi Patrick. Is this repository still alive? https://software.speedata.de/download/public 404 when trying to access
Patrick Gundlach
@pgundlach
Hi @michaelDovgal yes, I just moved the server. So I probably made a mistake and I will fix that. Thank you for your message, I will get back to you as soon as possible.
Michael Dovgal
@michaelDovgal
@pgundlach , great. and thank you for a such a quick response!
Patrick Gundlach
@pgundlach
@michaelDovgal It works for me now, could you try again?
Michael Dovgal
@michaelDovgal
@pgundlach sorry for a delay. yes, it works for me as well. Thanks!
Patrick Gundlach
@pgundlach
@michaelDovgal Thank you for the report and the feedback!
Mihail-Cosmin Munteanu
@MihailCosmin
Hello, does the speedata publisher have any features to support internal links in the PDF from one page to another?
Patrick Gundlach
@pgundlach
@MihailCosmin yes, since yesterday evening. I still have to publish a new version and will do so today.
Mihail-Cosmin Munteanu
@MihailCosmin
Thanks for the quick answer. Looking forward for the update.
Patrick Gundlach
@pgundlach
<Layout
  xmlns="urn:speedata.de:2009/publisher/en"
  xmlns:sd="urn:speedata:2009/publisher/functions/en"
  version="3.3.8">

  <Record element="data">
    <PlaceObject>
      <Textblock>
        <Action>
          <Mark select="'dest'" pdftarget="yes"/>
        </Action>
        <Paragraph>
          <Value>This is the target.</Value>
        </Paragraph>
      </Textblock>
    </PlaceObject>
    <NewPage/>
    <PlaceObject>
      <Textblock>
        <Paragraph>
          <A link="dest">
            <Value>This is a link to dest</Value>
          </A>
        </Paragraph>
      </Textblock>
    </PlaceObject>
  </Record>
</Layout>
@MihailCosmin With the new version at https://download.speedata.de/ you can use the above code to create internal links.
This is not heavily tested, so any error reports are welcome!
Mihail-Cosmin Munteanu
@MihailCosmin
@pgundlach Thanks so much, it works like a charm.
But for some reason the link is enclosed in a box, and I don't have any setting for that. Also, I tried removing the box with CSS, but with no success.
Is there any reason for the box, and is there a way to remove it?
Patrick Gundlach
@pgundlach
@MihailCosmin I develop with Skim as my pdf viewer, no boxes there. Then I opened my pdf in Acrobat and, surprise, visible boxes. I will remove them soon, once I find out what to do (can’t be too difficult)
Expect an update next days. I’ll report back
Patrick Gundlach
@pgundlach
@MihailCosmin fixed in 3.3.9 which is online now
Mihail-Cosmin Munteanu
@MihailCosmin
@pgundlach Thanks, indeed the border around the links doesn't show in Acrobat anymore.
One more thing that might occur because I use Acrobat. For the Bookmarks I add the setting open="yes" but when I open the PDF in Acrobat all Bookmarks are closed.
Patrick Gundlach
@pgundlach
@MihailCosmin I’ll have a look
iclukas
@iclukas
Hi! I think it would be nice to have the <Loop> element available at the top level. E.g. to create a batch of colours. At the moment I nest the loop inside a <Switch>. Also, <SetVariable> would be really handy inside <Pagetype> definitions. Right now I’m using a mess like this column="{(sd:number-of-columns() - 5) div 2 + 5 + 1 + ((sd:number-of-columns() - 5) div 2 - 5) div 2 + 5}"
Patrick Gundlach
@pgundlach
@iclukas Could you open a ticket for that? Just copy/paste this text there and I won't forget.
@iclukas The first should be done easily, the Pagetype probably not so
iclukas
@iclukas
NP. I just wanted to hear your thoughts first
iclukas
@iclukas
I just noticed that it’s possible to use negative numbers with substring(). Though not XPath-compatible, I think this should be noted in the docs.
Patrick Gundlach
@pgundlach
Good idea. I hope I remember that tomorrow
ViWaldi
@ViWaldi
Hallo Patrick,
ich habe folgendes Problem. Ich will eine Tabelle ausgeben, bei der einige Felder über mehrere Seiten gehen können. Nun steht es in der Hilfe, dass einzelne Zellen nicht umgebrochen werden. Welche Möglichkeiten habe ich um die Felder trotzdem ausgeben zu können (auch über mehrere Seiten)? Kann ich mit dem Output-Befehl innerhalb der Tabelle arbeiten?
Patrick Gundlach
@pgundlach
@ViWaldi Mit Tabellen ist das nicht möglich. Da ist eine Zeile unzerteilbar. Da müsste man ggf. über andere Mechanismen arbeiten, sofern möglich
ViWaldi
@ViWaldi
@pgundlach Habe jetzt mit dem Ouput-Befehl experimentiert, der mir die Daten über mehrere Seiten ausgibt, aber da kann ich z.B. kein Rahmen ziehen oder Daten vertikal ausrichten usw. Hast du noch andere Vorschläge, wie man solche Daten ausgeben kann?
Patrick Gundlach
@pgundlach
@ViWaldi Ich kenne die genauen Umstände nicht. Mit ein wenig Glück kann man sich die Positionen merken (wo fange ich an, wo höre ich auf) und bei AtPageShipout die Rahmen zeichnen. Aber das kommt auf die Umstände an.