Thank you! With the addition of [subs="macros"]
both listing blocks and literal blocks achieve all four objectives R On 12/15/2014 04:16 AM, Lex Trotman wrote: > On 15 December 2014 at 13:08, Gene Cumm <[email protected]> wrote: >> On Sun, Dec 14, 2014 at 6:10 PM, Lex Trotman <[email protected]> wrote: >>> Hi, >>> >>> Try Listing or literal blocks instead of passthrough. >> Won't literal blocks and listing blocks break the convert to HTML link >> goal (#2)? > You could try subs=macros > > Cheers > Lex > >>> On 15 December 2014 at 06:12, Richard H <[email protected]> wrote: >>>> I have a text file "/home.test.adoc". I want to >>>> convert it by asciidoc -a theme=volnitsky to html in >>>> such a way that >>>> >>>> (1) the html preserves raw characters (' _ " - /), >>>> instead of interpreting them as start of >>>> italic etc; >>>> >>>> (2) the html displays the following as a clicky link; >>>> file:///home/test.html#foobar[another section within this file] >>>> >>>> (3) Line endings are obeyed; >>>> >>>> ((4) Ideally, indentation is also obeyed). >>>> >>>> The best solution that I have found is to put each >>>> paragraph into a passthrough block. >>>> >>>> This achieves objectives 1 and 2. But line endings >>>> (3), and indentation (4), are not preserved. >>>> >>>> In order to achieve objective 3, (and even better, 3 >>>> plus 4), what incantation [subs="what?"] should I put >>>> at the start of each passthrough block ? >>>> >>>> -- >>>> You received this message because you are subscribed to the Google Groups >>>> "asciidoc" group. >>>> To unsubscribe from this group and stop receiving emails from it, send an >>>> email to [email protected]. >>>> To post to this group, send email to [email protected]. >>>> Visit this group at http://groups.google.com/group/asciidoc. >>>> For more options, visit https://groups.google.com/d/optout. >>> -- >>> You received this message because you are subscribed to the Google Groups >>> "asciidoc" group. >>> To unsubscribe from this group and stop receiving emails from it, send an >>> email to [email protected]. >>> To post to this group, send email to [email protected]. >>> Visit this group at http://groups.google.com/group/asciidoc. >>> For more options, visit https://groups.google.com/d/optout. >> >> >> -- >> -Gene >> >> A: Because it messes up the order in which people normally read text, >> especially the archives of mailing lists. >> Q: Why is Top-posting such a bad thing? >> >> "No one ever says, 'I can't read that ASCII(plain text) e-mail you sent me.'" >> >> -- >> You received this message because you are subscribed to the Google Groups >> "asciidoc" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> To post to this group, send email to [email protected]. >> Visit this group at http://groups.google.com/group/asciidoc. >> For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "asciidoc" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/asciidoc. For more options, visit https://groups.google.com/d/optout.
