Re: Newbie question -- attribute assignment not working under Awestruct
Posted by vdanilchenko on Mar 17, 2014; 8:11pm
URL: https://discuss.asciidoctor.org/Newbie-question-attribute-assignment-not-working-under-Awestruct-tp1612p1616.html
Apparently the order of the variables' assignment also changes everything!
If I assign :awestruct-layout: first, the :toc: and :toc-title: get ignored.
If I assign :toc: and :toc-title: first, :awestruct-layout: gets ignored. In this case, ALL assignments after the :toc ones, actually get rendered as HTML text, so I get a line on top of the page with the attribute assignments. The assignments before :toc work.
I can also use the {set:attrname:...} syntax, and this works even in the second case (when :toc gets honored but everything after :toc is rendered as text) -- but I still can't use {set:imagesdir:/asciidoctor/images}, the value gets ignored.
I am feeling like I am running into a completely random set of problems... it's incredibly frustrating.