Login  Register

Re: Attributes substitution on formatted text

Posted by Daiane on Jun 13, 2018; 11:45pm
URL: https://discuss.asciidoctor.org/Attributes-substitution-on-formatted-text-tp6372p6375.html

Thanks a lot Andrew!

I had tried the "pass" stuff. I must admit I don't understand what that means at all.  Anyway, you pointing me that link make me create a separate file to test it again (to paste the test here) and I realized the problem was not on the formatting, but on my variable.

In the example I copied here it was simple lines, but on my project it is a set of files including each other and one of them is the file with all the variables. The one variable I want to format was wrong. Thanks a lot again!

Only for future reference:

When I test

= Title of mine

:tfile: target-file-used.txt


Then copy the result in the file `~/user/{tfile}` to make something.

Then copy the result in the file pass[`~/user/{tfile}`] to make something.

Then copy the result in the file pass:q[`~/user/{tfile}`] to make something.

The end.


I get (italic here is monospaced in html or pdf output file)


Title of mine

Then copy the result in the file ~/user/target-file-used.txt to make something.

Then copy the result in the file pass[~/user/target-file-used.txt] to make something.

Then copy the result in the file ~/user/{tfile} to make something.

The end
.

Thanks again, and I apologize for my mistake