On 26/10/10 10:49, Sérgio Miguel Neves Lopes wrote:
These tables render OK for me.
What commands are you using to generate the PDF? What version of the tools are 
you using?
I'm guessing that the DocBook generated by asciidoc is valid and that there's a 
problem in the DocBook toolchain.

Considering that I'm a bit new to all this, I would thing it's my fault :). As 
I said before, I'm following the tutorial at 
http://www.stevestreeting.com/2010/03/07/building-a-new-technical-documentation-tool-chain/,
 and I just copied it without really understanding what all the commands did, 
and am now learning to create the damn PDF :). I thought about using a2x but 
being on OS X is a bit tricky to get all requirements properly installed.

Today I found several small errors on the source text file that produced 
strange docbook output, though asciidoc never complained.

Bock macros must be on a single line. Multiple lines are interpreted as a 
paragraph so the macro is interpreted as an inline macro image: with a target 
:imagens/782/cb.close.png. See 
http://www.methods.co.nz/asciidoc/userguide.html#_block_macros

They are in a single line, must have been the mail client settings, every macro 
is just a single line, but I'll check the source file to see if anything is 
messing with the lines, though I have one line per macro and a blank line 
before and after the macro.

Here's the DocBook output I got when processing single line versions of your macros, it looks OK to me:

<figure><title>Associar Ficheiros de Código</title>
<mediaobject>
  <imageobject>
<imagedata fileref="imagens/782/cb.associate.png" width="90%" scalefit="1" align="center"/>
  </imageobject>
  <textobject><phrase>Associar Ficheiros de Código</phrase></textobject>
</mediaobject>
</figure>
<simpara>Por fim temos acesso ao nosso IDE para podermos começar a trabalhar.</simpara>
<figure><title>IDE</title>
<mediaobject>
  <imageobject>
<imagedata fileref="imagens/782/cb.start.png" width="90%" scalefit="1" align="center"/>
  </imageobject>
  <textobject><phrase>IDE</phrase></textobject>
</mediaobject>
</figure>
<simpara>Quando fecharmos o IDE, e dado que alterámos a interface inicial, ser-
nos-á perguntado se pretendemos gravar as alterações que fizémos.
Naturalmente, as alterações são para se manter pelo que as iremos
gravar.</simpara>
<figure><title>Gravar Alterações da Interface</title>
<mediaobject>
  <imageobject>
<imagedata fileref="imagens/782/cb.close.png" width="90%" scalefit="1" align="center"/>
  </imageobject>
  <textobject><phrase>Gravar Alterações da Interface</phrase></textobject>
</mediaobject>
</figure>


Cheers, Stuart


Use the 'unbreakable' option 
(http://www.methods.co.nz/asciidoc/userguide.html#X74) e.g.

I'll see about the unbreakable option. I also found some of the settings I was 
looking for in the fo.xml file included with asciidoc.

Thanks for the help, I'm still reviewing my source and all the process to 
better understand it and I think most of these mistakes are my fault, only the 
error messages are not clear sometimes.

Regards,

Sérgio Lopes


--
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.

Reply via email to