Re: lout to xyz converters?

Yannig Robert via "Users of the Lout document typesetting system." <[email protected]> Mon, 28 Dec 2020 19:25:16 +0100
Newsgroups gmane.comp.type-setting.lout
Message-ID <[email protected]>
This is a multi-part message in MIME format.
--------------668F945B929B4E5D9200F8D6
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: quoted-printable

I haven't tried it myself so not too sure if it can work for you but=20
there was this interesting piece of software able to render pdf into=20
nicely typeset html : https://github.com/coolwanglu/pdf2htmlEX

Regards

Yannig

On 28/12/2020 11:41, Mark Summerfield wrote:
> The problem I'm trying to solve is this.
> For all my previous books I got the publisher to agree to accept a=20
> camera-ready PDF and this I produced using lout.
> But nowadays publishers are "e-book" first and seem hardly to care=20
> about typesetting -- at least for books that won't be bestsellers.
>
> So now I need to write in a format that will output what publishers=20
> want (typically Word, i.e., docx), but also PDF (for me to preview and=20
> check), and epub and mobi (in case publishers will accept or if I=20
> decided to self-publish).
>
> I did try LyX but I prefer plain text + markup.
>
> I really don't like LaTeX and at the opposite end of the scale find=20
> pandoc's markdown too primitive.
> I'm experimenting with ascciidoctor and ascciidoctor-pdf (there's also=20
> an ascciidoctor-epub extension), but have pretty mixed feelings about i=
t.
>
> I'd love to use lout as _source_ (not target), but I really need good=20
> lout to xxx where xxx is tractable for this to work.
>
> So I'm still searching for a plain text markup (not docbook or other=20
> heavy XML-based) that will give me the output formats I need...
>
> On Mon, 28 Dec 2020 at 09:13, Mark Summerfield <[email protected]=20
> <mailto:[email protected]>> wrote:
>
>     Thanks for the suggestions.
>
>     I'd have been tempted by Skribilo if it was written in Racket and u=
sed
>     Racket's #lang feature to provide a less Lisp-y markup (like Scribb=
le
>     does).
>
>     At the moment I've decided to evaluate LyX.
>
>     Best wishes,
>
>     On Sun, 27 Dec 2020 22:06:50 +0100
>     Martin Michel <[email protected] <mailto:[email protected]>> wrote:
>     > Hi Mark,
>     >
>     > this is not directly what you are looking for, but there are mark=
up
>     > languages which are capable to produce Lout output.=C2=A0 So if y=
ou are
>     > open to write your documents in one of those languages, you can
>     render
>     > it in Lout (for printing) or HTML and others.
>     >
>     > * [Skribilo](https://www.nongnu.org/skribilo/
>     <https://www.nongnu.org/skribilo/>)
>     > * [txt2tags](https://txt2tags.org/ <https://txt2tags.org/>)
>     >
>     > Kind regards,
>     > Martin
>     >
>
>
>
>     --=20
>     Mark Summerfield, Qtrac Ltd.
>     =C2=A0 =C2=A0 DiffPDF - easy to use PDF comparison application
>     http://www.qtrac.eu/diffpdf.html <http://www.qtrac.eu/diffpdf.html>
>
>
>
> --=20
> Mark Summerfield, Qtrac Ltd., www.qtrac.eu <http://www.qtrac.eu>

--------------668F945B929B4E5D9200F8D6
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: quoted-printable

<html>
  <head>
    <meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3DUTF=
-8">
  </head>
  <body>
    <p>I haven't tried it myself so not too sure if it can work for you
      but there was this interesting piece of software able to render
      pdf into nicely typeset html :
      <a class=3D"moz-txt-link-freetext" href=3D"https://github.com/coolw=
anglu/pdf2htmlEX">https://github.com/coolwanglu/pdf2htmlEX</a></p>
    <p>Regards</p>
    <p>Yannig<br>
    </p>
    <div class=3D"moz-cite-prefix">On 28/12/2020 11:41, Mark Summerfield
      wrote:<br>
    </div>
    <blockquote type=3D"cite"
cite=3D"mid:[email protected]=
l.com">
      <meta http-equiv=3D"content-type" content=3D"text/html; charset=3DU=
TF-8">
      <div dir=3D"ltr">
        <div>The problem I'm trying to solve is this.</div>
        <div>For all my previous books I got the publisher to agree to
          accept a camera-ready PDF and this I produced using lout.</div>
        <div>But nowadays publishers are "e-book" first and seem hardly
          to care about typesetting -- at least for books that won't be
          bestsellers.</div>
        <div><br>
        </div>
        <div>So now I need to write in a format that will output what
          publishers want (typically Word, i.e., docx), but also PDF
          (for me to preview and check), and epub and mobi (in case
          publishers will accept or if I decided to self-publish).</div>
        <div><br>
        </div>
        <div>I did try LyX but I prefer plain text + markup.</div>
        <div><br>
        </div>
        <div>I really don't like LaTeX and at the opposite end of the
          scale find pandoc's markdown too primitive.</div>
        <div>I'm experimenting with ascciidoctor and ascciidoctor-pdf
          (there's also an ascciidoctor-epub extension), but have pretty
          mixed feelings about it.</div>
        <div><br>
        </div>
        <div>I'd love to use lout as _source_ (not target), but I really
          need good lout to xxx where xxx is tractable for this to work.<=
/div>
        <div><br>
        </div>
        <div>So I'm still searching for a plain text markup (not docbook
          or other heavy XML-based) that will give me the output formats
          I need...<br>
        </div>
      </div>
      <br>
      <div class=3D"gmail_quote">
        <div dir=3D"ltr" class=3D"gmail_attr">On Mon, 28 Dec 2020 at 09:1=
3,
          Mark Summerfield &lt;<a href=3D"mailto:[email protected]"
            moz-do-not-send=3D"true">[email protected]</a>&gt; wrote:<br>
        </div>
        <blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px
          0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">=
Thanks
          for the suggestions.<br>
          <br>
          I'd have been tempted by Skribilo if it was written in Racket
          and used<br>
          Racket's #lang feature to provide a less Lisp-y markup (like
          Scribble<br>
          does).<br>
          <br>
          At the moment I've decided to evaluate LyX.<br>
          <br>
          Best wishes,<br>
          <br>
          On Sun, 27 Dec 2020 22:06:50 +0100<br>
          Martin Michel &lt;<a href=3D"mailto:[email protected]"
            target=3D"_blank" moz-do-not-send=3D"true">[email protected]</a=
>&gt;
          wrote:<br>
          &gt; Hi Mark,<br>
          &gt; <br>
          &gt; this is not directly what you are looking for, but there
          are markup<br>
          &gt; languages which are capable to produce Lout output.=C2=A0 =
So
          if you are<br>
          &gt; open to write your documents in one of those languages,
          you can render<br>
          &gt; it in Lout (for printing) or HTML and others.<br>
          &gt; <br>
          &gt; * [Skribilo](<a href=3D"https://www.nongnu.org/skribilo/"
            rel=3D"noreferrer" target=3D"_blank" moz-do-not-send=3D"true"=
>https://www.nongnu.org/skribilo/</a>)<br>
          &gt; * [txt2tags](<a href=3D"https://txt2tags.org/"
            rel=3D"noreferrer" target=3D"_blank" moz-do-not-send=3D"true"=
>https://txt2tags.org/</a>)<br>
          &gt; <br>
          &gt; Kind regards,<br>
          &gt; Martin<br>
          &gt; <br>
          <br>
          <br>
          <br>
          -- <br>
          Mark Summerfield, Qtrac Ltd.<br>
          =C2=A0 =C2=A0 DiffPDF - easy to use PDF comparison application<=
br>
          =C2=A0 =C2=A0 =C2=A0 =C2=A0 <a href=3D"http://www.qtrac.eu/diff=
pdf.html"
            rel=3D"noreferrer" target=3D"_blank" moz-do-not-send=3D"true"=
>http://www.qtrac.eu/diffpdf.html</a><br>
        </blockquote>
      </div>
      <br clear=3D"all">
      <br>
      -- <br>
      <div dir=3D"ltr" class=3D"gmail_signature">Mark Summerfield, Qtrac
        Ltd., <a href=3D"http://www.qtrac.eu" target=3D"_blank"
          moz-do-not-send=3D"true">www.qtrac.eu</a></div>
    </blockquote>
  </body>
</html>

--------------668F945B929B4E5D9200F8D6--