From mboxrd@z Thu Jan 1 00:00:00 1970 From: Yann E. MORIN Date: Sat, 16 Aug 2014 00:45:26 +0200 Subject: [Buildroot] [PATCH 5 of 5 v4 for 2014.08] manual-text: hide image representations In-Reply-To: <6b930ce9f5cbbfdc688b.1408110038@localhost> References: <6b930ce9f5cbbfdc688b.1408110038@localhost> Message-ID: <20140815224526.GG27341@free.fr> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net Thomas, All, On 2014-08-15 15:40 +0200, Thomas De Schampheleire spake thusly: > Images specified in the asciidoc sources (currently only the logo) are > displayed as the file name in the text version of the manual. This causes an > odd line to appear: > logo.png > > Avoid this by setting the image representation macros to {empty} in > manual-text. > > Signed-off-by: Thomas De Schampheleire > Acked-by: Samuel Martin Reviewed-by: "Yann E. MORIN" Tested-by: "Yann E. MORIN" Tested that the filenames no longer appears, and that's the only difference. :-) Regards, Yann E. MORIN. > --- > v4: no changes > v3: no changes > v2: no changes > > docs/manual/asciidoc-text.conf | 6 ++++++ > 1 files changed, 6 insertions(+), 0 deletions(-) > > diff -r 93b82c1cf8a4 -r 6b930ce9f5cb docs/manual/asciidoc-text.conf > --- a/docs/manual/asciidoc-text.conf Sat Aug 09 19:42:30 2014 +0200 > +++ b/docs/manual/asciidoc-text.conf Sun Aug 10 17:55:54 2014 +0200 > @@ -15,3 +15,9 @@ > {0=}{0? [}{name}:{target}{0?]} > [mailto-inlinemacro] > {0=}{0? [}{name}:{target}{0?]} > + > +# Hide image representation from text manual > +[image-inlinemacro] > +{empty} > +[image-blockmacro] > +{empty} -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 223 225 172 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------'