Thank you, Lex; that was helpful.

On Wednesday, March 18, 2015 at 4:28:07 PM UTC-7, Lex Trotman wrote:
>
> On 19 March 2015 at 08:59, Ken McGlothlen <[email protected] 
> <javascript:>> wrote: 
> > Problem one: I'm not sure how posattrs works here. I'd like to be able 
> to 
> > say (to typeset this somewhat larger, and to prepend a special prologue 
> file 
> > that defines the \meta and \isdefinedas macros): 
> > 
> > [tex, meta-example.png, magstep="2", prologue="prologue.tex"] 
>
> Note that if you quote *any* values you should quote them all, 
> including the positional ones. 
> [...]
> If you don't want the positional attributes don't use posattrs then :) 


See? I *said* I was misunderstanding something. :)
 

> You have to test if the attribute is defined where you use it, and if 
>
its not, use a default value instead, using {attr=default} 
>

I understood that bit, but was under the impression that i couldn't do 
something like

{prologue,tex-prologue? --prologue="{prologue=tex-prologue}"}


(if prologue or tex-prologue, write out a --prologue option with the 
appropriate value.

Correct me if I'm wrong, of course; that would solve several issues.


No.  In the example you show above the output of the filter is 
> obviously supposed to go into the file textest.png since thats what 
> the img tag is loading. 


Hm. So how can I create the appropriate HTML output here? Where do the 
{width} and {height} attributes get read, for example? How can I insert an 
optional imagemap?

—Ken
 

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

Reply via email to