Re: How to include file with substitution definitions.

2008-11-23 Thread Stoune
Thanks a lot. I'm already found some examples in docutils\test \test_parsers\test_rst\includes\ and try to use it and it works. I make one file for hyperlinks like substitutions.rst --- .. _`Test link`: http://example.com and in another file use it: index.rst-- .. include:: substitut

Re: How to include file with substitution definitions.

2008-11-17 Thread Dan Craig
I was able to do something like that using .. include:: substitutions.txt in each of the files where you want to use the substitution strings. The substitutions.txt file has all the rest of my substitution definitions. I haven't tried, but I would imagine you can do multiple of those. I was th

How to include file with substitution definitions.

2008-11-17 Thread Stoune
rST documentation says: > Substitutions >If you want to use some substitutions for all documents, put them into a >*separate file* and include it into all documents you want to use them in, >using the include directive. Be sure to give the include file a file name >extension differing from