Just for reference, another possibility for what you want might be provided 
by PreTeXt: https://pretextbook.org

On Sunday, April 4, 2021 at 12:21:33 PM UTC-4 Michael Jung wrote:

> Here's the issue: https://github.com/sagemath/sagetex/issues/54
>
> I've provided a minimal example of the tcolorbox environment. Perhaps that 
> is something that can be added to sagetex if we get it to work?
>
> Michael Jung schrieb am Sonntag, 4. April 2021 um 11:54:02 UTC+2:
>
>> Anyway, I will approach this on the GitHub page. This problem is more 
>> suited there than here. Thanks Dima!
>>
>> Best,
>> Michael
>>
>> Michael Jung schrieb am Sonntag, 4. April 2021 um 11:39:46 UTC+2:
>>
>>> There is no bug or something. I just want to use sagetex beyond its 
>>> current capabilities. Long story short, I would like to create a new 
>>> environment that combines a tcolorbox listing environment with a sageblock 
>>> environment. Since I don't have any approach yet, I cannot provide a 
>>> minimal example yet.
>>>
>>> [email protected] schrieb am Sonntag, 4. April 2021 um 10:36:34 UTC+2:
>>>
>>>> Hi, 
>>>> could you file an issue in https://github.com/sagemath/sagetex - 
>>>> with an example, showing what doesn't currently work. 
>>>> Thanks 
>>>> Dima 
>>>>
>>>> On Sat, Apr 3, 2021 at 9:49 PM Michael Jung <[email protected]> 
>>>> wrote: 
>>>> > 
>>>> > 
>>>> > Hello everyone, 
>>>> > I would appreciate some help from an TeX expert. Namely, I would like 
>>>> to combine tcolorboxes with the sageblock environment of sagetex. I 
>>>> already 
>>>> have my own tcolorbox format for Sage code in Jupyter style. In particular 
>>>> I use the "\newtcblisting" command together with "listing only" and 
>>>> "listing options". Now I would like that sagetex recognizes the lines I 
>>>> inserted in the tcolorbox so that I can reuse them according to the 
>>>> SageTeX 
>>>> principle. I suspect that involves a bit of hacking either in sagetex.sty 
>>>> or with tcolorbox. Unfortunately I am not familiar how sagetex even works 
>>>> internally. Some explanation or optimally a solution is pretty much 
>>>> appreciated. 
>>>> > 
>>>> > Thanks a lot. 
>>>> > 
>>>> > Best, 
>>>> > Michael 
>>>> > 
>>>> > -- 
>>>> > You received this message because you are subscribed to the Google 
>>>> Groups "sage-devel" group. 
>>>> > To unsubscribe from this group and stop receiving emails from it, 
>>>> send an email to [email protected]. 
>>>> > To view this discussion on the web visit 
>>>> https://groups.google.com/d/msgid/sage-devel/1b409ea2-c6e0-4f77-a52d-ef3324b0be80n%40googlegroups.com.
>>>>  
>>>>
>>>>
>>>

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-devel/5484b4d3-9e8c-450a-8973-9a9b9dd1fbe9n%40googlegroups.com.

Reply via email to