Re: AsciiDoc3 Python3 Port released asciidoc3.org

2018-06-13 Thread Stargazer
Tried AsciiDoctor awhile back. We prefer Python 3, rather than Ruby. There were some issues that we would have to address that would require changes to our doc, config files, and/or procedures. Thanks for all the updates. > Really like Asciidoc and recommend it all the time. > > Good to hear

Re: AsciiDoc3 Python3 Port released asciidoc3.org

2018-06-07 Thread Stargazer
Interesting read. I hope it gets ironed out as needed. I thought asciidoc written in Python 2 was going to age away. The official upgrade path from Python 2.7 is to Python 3 (PEP 404). The EOL for Python 2.7 is 2020 (PEP 373). The largest change in Python 3 is handling of strings. The amount

Interesting write-up on Asciidoc and toolchain usage

2015-02-16 Thread Stargazer
Hi, Two items: 1) The blog entry below is an interesting and helpful write-up on Asciidoc and toolchain usage: Eloquent JavaScript Build System http://marijnhaverbeke.nl/blog/eloquent-javascipts-build-system.html 2) Is the "official" location of asciidoc, https://github.com/asciidoc/asciidoc?

Re: [PATCH] Warning message for missing simple attribute references

2013-03-25 Thread Stargazer
and pleasant to read, and the PDF is helpful for off-storage/disaster recovery. This PATCH is something we have used for some time and would like to contribute to Asciidoc if others find it helpful. Let me know if you need anything else. Thank you. Peg Russell On Thursday, March 7, 2013 2:

Re: [PATCH] Warning message for missing simple attribute references

2013-03-07 Thread Stargazer
be emitted as well. The patch also includes a documentation update to doc/asciidoc.txt. It has been tested using the current Asciidoc repository trunk. Thank you. Peg Russell On Wednesday, March 6, 2013 7:28:06 PM UTC-6, Lex Trotman wrote: > > On 7 March 2013 12:09, Stargazer > > wrot

Re: [PATCH] Warning message for missing simple attribute references

2013-03-07 Thread Stargazer
be emitted as well. The patch also includes a documentation update to doc/asciidoc.txt. It has been tested using the current Asciidoc repository trunk. Thank you. Peg Russell On Wednesday, March 6, 2013 7:28:06 PM UTC-6, Lex Trotman wrote: > > On 7 March 2013 12:09, Stargazer > > wrot

[PATCH] Warning message for missing simple attribute references

2013-03-06 Thread Stargazer
Hi, I have been applying this patch to Asciidoc for a couple of releases now. It really has been a time saver and allows for more automation. I hope you will consider it for permanent inclusion in Asciidoc. Summary: Rather than quietly deleting an entire line when a simple attribute reference

Re: Any way to turn asciimath on/off in the same document?

2012-08-29 Thread Stargazer
Hi Lex, After further research, it appears my problem is limited to the dollar sign ($). I have two solutions. I can escape the dollar sign or I can include the snippet below in my asciidoc configuration file. I like the snippet, because I don't have to add additional markup and it keeps the

Any way to turn asciimath on/off in the same document?

2012-08-29 Thread Stargazer
Hi! I turn on asciimath with the following syntax: *:asciimath:* But I can not remove/delete/undefine asciimath with the following syntax: *:asciimath!:* See: 28. Attribute Entries http://www.methods.co.nz/asciidoc/userguide.html#X18 The result is text that contains numbers and symbols is get

Re: PDF text alignment - justify

2012-02-26 Thread Stargazer
> ... > ok, I got this one - all I had to do is to change "alignment" param > value, like this > justify > ... Since you are using fop, I believe you can also add an a2x option either on the command line or in the document file. // a2x --xsltproc-opts="--param alignment justify" Peg -- You rec

asciidoc.vim - paragraphs terminated by delimited block

2012-01-10 Thread Stargazer
Hi, I was experimenting with asciidoc.vim. If the paragraph preceding a delimited block isn't terminated by a period, asciidoc.vim formats the delimited block as a title line. asciidoc.py has no problem. Test Test One This is a paragraph no ending punctuation ---

backslash, backtick and plus

2011-05-31 Thread Stargazer
Hi, Given this input (no spaces): 6. this\`abc` 7. this\+abc+ Is this the correct output: 6. this\abc 7. this+abc+ I expected the backtick and plus to produce the same output, given there is no whitespace and this is just plain text. It is like the backtick treated the backslash as common pu

Re: Set a CSS signature for the document

2011-05-26 Thread Stargazer
> Ok, I understand what it's all about now, and if Eric Meyer thinks it's a good > idea then I guess it must be :-) Great. > I did a quick Google and the term 'CSS signature' seems to be in common use so > I'm thinking that calling the attribute css-signature (its function) would be > preferable

Re: [PATCH RESEND] Set a CSS signature for the document

2011-05-26 Thread Stargazer
This patch, which adds the id attribute to the body tag is not for the benefit of the author, but for the consumer/user. As the author, I do use the *-a stylesheet=* to slightly tweak the xhtml11 or html5 theme before distributing my documentation. I find the AsciiDoc CSS provides a solid found

[PATCH] Set a CSS signature for the document

2011-05-23 Thread Stargazer
Add a backend attribute, body-id, to AsciiDoc. This will set a CSS signature for an xhtml11/html5 document. This will allow the html to be easily restyled or adjusted by a user based on this unique identifier. See: http://archivist.incutio.com/viewlist/css-discuss/13291 Here are some usage exampl

Change body class from article to id something else

2011-05-20 Thread Stargazer
Is the below possible directly from asciidoc command? I still want the original document to be processed as an article and the output to be html. Change: To: A "css signature" (see: http://archivist.incutio.com/viewlist/css-discuss/13291) is useful to apply site (or project) customizations, bu

Re: GitHub README

2011-03-26 Thread Stargazer
> > I think it is a missed opportunity that the project never used .adoc (or > > something more convenient than .asciidoc). Would have been useful for syntax > > highlighters as well. > > I don't know about other editors, but Vim has automatic file type detection so > it doesn't really matter what

Re: Best way to format these strings

2011-03-24 Thread Stargazer
Ah... the unconstrained quotes. > ... >     __command2__'s > ... > __MM__m__SS__.__FF__s > ... Both did the trick. Thank you Two more and I'm set. 1) I have another snippet I've been working with. When the text "*@* or ***", "*~+*", or "*^^*" appear more than once in a paragraph, I had to esca

Best way to format these strings

2011-03-24 Thread Stargazer
What's the best way to format the text below for html output? HTML entities, asciidoc attributes? I did read in the manual (7.1.2) that quotes must be bounded by whitespace or commonly adjoining punctuation characters. So I know the why :-), but now the how. I have some ideas, but wondering if I'