On 3 July 2012 13:00, ping <[email protected]> wrote: > this is exactly what I was looking for, thanks! > sorry but then a related question is, how to do the same in literal block? > (or any other block?) > I tested with the same on literal block but it looks doesn't work that > way...
Hi, Please always say what backend you are using Works for me, as in asciidoc produces marked up output. Html displays fine, docbook contains the markup, but having it show in pdf depends on the toolchain as the note in the faq points out, works with fop fails with dblatex. Cheers Lex > > regards > ping > > On 7/2/2012 5:16 PM, Stuart Rackham wrote: >> >> I think this is what you're after: >> >> http://www.methods.co.nz/asciidoc/faq.html#_how_can_i_format_text_inside_a_listing_block >> >> >> Cheers, Stuart >> >> On 03/07/12 08:11, ping wrote: >>> >>> hi experts: >>> >>> I came across a need when write my report in asciidoc and I can't find >>> the >>> answer from google research.I'm still reading the manual literally... >>> >>> >>> so I find listing block is great for demonstrating the command output. >>> like the >>> following: >>> >>> >>> issue 1: >>> ~~~~~~~~ >>> >>> please notice the *asciidoc* folder here: >>> >>> .Optional Title >>> ---- >>> >>> >>> ping@640g-laptop:~$ ls -lt | head >>> total 558016 >>> drwxr-xr-x 47 ping ping 32768 2012-07-02 10:34 Downloads >>> drwxr-xr-x 3 ping ping 4096 2012-07-01 23:26 tmp >>> drwxr-xr-x 8 ping ping 4096 2012-07-01 23:26 bin >>> -rw-r--r-- 1 ping ping 5554 2012-06-28 13:48 asciidoc >>> drwxr-xr-x 6 ping ping 4096 2012-06-28 12:27 temp >>> -rw-r--r-- 1 ping ping 48920 2012-06-28 11:21 temp3.html~ >>> -rw-r--r-- 1 ping ping 6184 2012-06-28 10:48 fuf >>> -rw-r--r-- 1 ping ping 47626 2012-06-25 16:32 EIOfficelog.txt >>> -rw-r--r-- 1 ping ping 1644 2012-06-19 19:13 temp.txt >>> ---- >>> >>> obviously the *asciidoc* strong text doesn't work here , since it's >>> now inside a >>> listing block. >>> >>> how can still apply some text format from inside a listing block? or >>> any other >>> block whichever is more suitable for my usage case. >>> >>> thanks! >>> regards >>> ping >>> >> > > > -- > You received this message because you are subscribed to the Google Groups > "asciidoc" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/asciidoc?hl=en. > -- You received this message because you are subscribed to the Google Groups "asciidoc" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/asciidoc?hl=en.
