On Wed, Mar 13, 2013 at 2:43 PM, Tom Evans <[email protected]> wrote:
> On Wed, Mar 13, 2013 at 2:01 PM, Ken <[email protected]> wrote:
>> I would like to write a tex/latex file with django tags in it.  Load it with
>> the template loader and render it with a context.  The problem is that my
>> tex/latex file has quite a few '{%' in them.   They are conventional in TeX
>> for writing readable macros and are used to escape the newline.  I could try
>> rewriting them but before I do, I thought I'd ask if this is even worth
>> tackling.  TeX uses curly braces as grouping and percent signs as a comment.
>>
>> The TeX file would look rather confusing but the more important question is
>> what the loader does when it sees braces and brace comments.  Is it possible
>> to reassign the block and variable tags?
>>
>> Thanks
>>
>
> Nope. Well, of course, you can fork and change Django itself, but
> there be many edge cases where
>


Damn:

… but there may be many edge cases where simply changing the tokens
where they are defined (django/templates/base.py) may not work
correctly.

Cheers

Tom

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" 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/django-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to