[PYTHON] Latex o MathML in GTK3
- lucalaugh
- Prode Principiante
- Messaggi: 129
- Iscrizione: giovedì 10 dicembre 2009, 19:16
- Desktop: Gnome + Unity
- Distribuzione: Ubuntu 13.10 64bit
- Località: Acireale (CT)
- Contatti:
[PYTHON] Latex o MathML in GTK3
Salve, sto realizzando un piccolo programma per un progetto di matematica. Utilizzo Python3 e Gtk3, vorrei visualizzare le formule matematiche formattate decentemente e utilizzando sympy posso utilizzare sia Latex che MathML. Come posso fare per visualizzare correttamente un espressione Latex all'interno di un programma Gtk?
- vaeVictis
- Imperturbabile Insigne

- Messaggi: 4703
- Iscrizione: venerdì 27 luglio 2012, 17:58
- Desktop: Gnome
- Distribuzione: Ubuntu 20.04 64bit
Re: [PYTHON] Latex o MathML in GTK3
Potresti fare un esempio un po' più chiarificatore di quanto vuoi ottenere?
Pirates arrrrrrrrrrr awesome!!!
«I fear not the man who has practiced 10000 kicks once,
but I fear the man who has practiced one kick 10000 times.»
«I fear not the man who has practiced 10000 kicks once,
but I fear the man who has practiced one kick 10000 times.»
- lucalaugh
- Prode Principiante
- Messaggi: 129
- Iscrizione: giovedì 10 dicembre 2009, 19:16
- Desktop: Gnome + Unity
- Distribuzione: Ubuntu 13.10 64bit
- Località: Acireale (CT)
- Contatti:
Re: [PYTHON] Latex o MathML in GTK3
certamente! ho una semplice finestra Gtk e vorrei visualizzare formule matematiche formattate in LaTeX/MathML (come http://www.ibm.com/developerworks/xml/l ... mathml.jpg). C'è un widget che mi permette di farlo?
- vaeVictis
- Imperturbabile Insigne

- Messaggi: 4703
- Iscrizione: venerdì 27 luglio 2012, 17:58
- Desktop: Gnome
- Distribuzione: Ubuntu 20.04 64bit
Re: [PYTHON] Latex o MathML in GTK3
Sono formule on demand da compilare sul momento o hai un insieme di immagini già "pensate"?
Pirates arrrrrrrrrrr awesome!!!
«I fear not the man who has practiced 10000 kicks once,
but I fear the man who has practiced one kick 10000 times.»
«I fear not the man who has practiced 10000 kicks once,
but I fear the man who has practiced one kick 10000 times.»
- lucalaugh
- Prode Principiante
- Messaggi: 129
- Iscrizione: giovedì 10 dicembre 2009, 19:16
- Desktop: Gnome + Unity
- Distribuzione: Ubuntu 13.10 64bit
- Località: Acireale (CT)
- Contatti:
Re: [PYTHON] Latex o MathML in GTK3
formule da compilare sul momento
in uno dei due formati! Ho visto che esisteva GtkMathView però non è stato aggiornato a gtk3
Re: [PYTHON] Latex o MathML in GTK3
Per un workaround veloce, se puoi permetterti di richiedere una connessione internet puoi appoggiarti a http://latex.codecogs.com
Ad esempio con: http://latex.codecogs.com/gif.latex?(x*y)/2
ottieni:
Ad esempio con: http://latex.codecogs.com/gif.latex?(x*y)/2
ottieni:
Prima di aprire una discussione leggi le Guide, poi vedi se c'è un HowTo nel Wiki e fai una ricerca nel Forum!
Applica semplicemente il [Risolto]! Prova: http://forum.ubuntu-it.org/viewtopic.php?f=70&t=548821
Vuoi qualcosa di piu' dal forum? Prova i miei script: http://forum.ubuntu-it.org/viewtopic.php?f=70&t=597066
Applica semplicemente il [Risolto]! Prova: http://forum.ubuntu-it.org/viewtopic.php?f=70&t=548821
Vuoi qualcosa di piu' dal forum? Prova i miei script: http://forum.ubuntu-it.org/viewtopic.php?f=70&t=597066
- lucalaugh
- Prode Principiante
- Messaggi: 129
- Iscrizione: giovedì 10 dicembre 2009, 19:16
- Desktop: Gnome + Unity
- Distribuzione: Ubuntu 13.10 64bit
- Località: Acireale (CT)
- Contatti:
Re: [PYTHON] Latex o MathML in GTK3
purtroppo no, non ho connessione a disposizione! Avevo pensato a fare una pagina in locale con Mathjax da aprire dentro la mia finestra Gtk, ma ne vale la pena?
volendo, lasciando stare Gtk, è possibile fare qualcosa di simile in Qt? Gtk lo uso solo per comodità (e integrazione visto che faccio girare tutto su Ubuntu Gnome)
- vaeVictis
- Imperturbabile Insigne

- Messaggi: 4703
- Iscrizione: venerdì 27 luglio 2012, 17:58
- Desktop: Gnome
- Distribuzione: Ubuntu 20.04 64bit
Re: [PYTHON] Latex o MathML in GTK3
Guarda, purtroppo non so aiutarti rapidamente in quanto sono ignorante in merito e non ho tanto tempo per documentarli a riguardo, anche se è un problema che mi interessa.
Il meglio che l'osso fare è chiederti se hai per caso già provato sul forum ufficiale italiano di LaTeX.
Il meglio che l'osso fare è chiederti se hai per caso già provato sul forum ufficiale italiano di LaTeX.
Pirates arrrrrrrrrrr awesome!!!
«I fear not the man who has practiced 10000 kicks once,
but I fear the man who has practiced one kick 10000 times.»
«I fear not the man who has practiced 10000 kicks once,
but I fear the man who has practiced one kick 10000 times.»
Chi c’è in linea
Visualizzano questa sezione: 0 utenti iscritti e 5 ospiti
