
Source (link to git-repo or to original if based on someone elses unmodified work): Add the source-code for this project on opencode.net
KLatexFormula 3.2 released!
Since KLatexFormula Version 3.0 was re-written for pure Qt 4, the project has moved to qt-apps.org. Follow the link here: http://www.qt-apps.org/content/show.php?content=103976.
KLatexFormula is an application to easily get an image (that you can copy, drag-n-drop or save to disk) from a LaTeX formula or equation.
The program has two modes, shrinked and expanded mode. Shrinked mode is straightforward, and expanded mode lets you to specify a few options.
You can use KLatexFormula in command-line mode (eg. for scripts)by invoking klatexformula_cmdl executable. Type klatexformula_cmdl --help for more information.
A help page is available by accessing the help menu in KLatexFormula or online on the KLatexFormula website (klatexformula.sf.net).
I hope this can be useful for someone. I'm not sure of having much time to spend for keeping this application up to date, but I was encouraged to publish it so here it is... :-)
10 years ago
*** KLatexFormula 2.1.1
- Fixed a bug in configuration that made formula previews invisible to users who hadn't yet used KLatexFormula.
*** KLatexFormula 2.1.0
- the concept of *Library* for tagging, ordering and archiving equations.
*** KLatexFormula 2.0.1
- bug fix in KLFBackend
- et voilí enfin une traduction en franí§ais pour ma petite application !
*** KLatexFormula 2.0.0 is out !
The source was subject to complete re-write for a cleaner API. See KLatexFormula homepage (klatexformula.sourceforge.net) for more information. (Note: The formula history of an older version of KLatexFormula can be imported in the newer version)
- New: A Symbols palette for insertinig in your code
- New: searching tagged history items
- New: Syntax highlighting
- Plus more features !
10 years ago
*** KLatexFormula 2.1.1
- Fixed a bug in configuration that made formula previews invisible to users who hadn't yet used KLatexFormula.
*** KLatexFormula 2.1.0
- the concept of *Library* for tagging, ordering and archiving equations.
*** KLatexFormula 2.0.1
- bug fix in KLFBackend
- et voilí enfin une traduction en franí§ais pour ma petite application !
*** KLatexFormula 2.0.0 is out !
The source was subject to complete re-write for a cleaner API. See KLatexFormula homepage (klatexformula.sourceforge.net) for more information. (Note: The formula history of an older version of KLatexFormula can be imported in the newer version)
- New: A Symbols palette for insertinig in your code
- New: searching tagged history items
- New: Syntax highlighting
- Plus more features !
swiftscythe
11 years ago
I get this compilation error, could you help me?
http://pastebin.ca/1677704
Thanks in advance!
Report
phfaist
11 years ago
Best regards,
Philippe
Report
rod
12 years ago
Is there any plan for a kde4 port?
It is just a matter of look-and-feel really, but it would be great to have it integrated in my now more and more rock-solid kde4 desktop.
Thanks again!
Report
phfaist
11 years ago
Actually I'm precisely in the process of re-writing it in Qt4, and I'll post the new version when I'm done!
Best regards,
Philippe
Report
sirromanov83
13 years ago
Actually, TEXINPUTS was corrupted by a few lines in the `klfbackend.cpp' file.
I commented them so that now the temp document need to start with \documentclass{/usr/share/apps/klatexformula/klatexformula} instead of \documentclass{klatexformula}
Can you make sure this problem will be solved in future versions?
Btw, this is an awesome app; i love it... do you think you could talk to the Kile guys so to integrate it in Kile (say, I select a formula, click-right, klatexformula plug-in and hop! my formula gets popped up in a corner of the screen...). Kile is lacking this feature that does exist in XEmacs with auctex libraries...
What do you think?
Report
phfaist
13 years ago
I'm kind of lacking free time right now, so I hope I'll be able to invest myself a bit more soon to consider integration with Kile, or as mentioned previously in another comment KOffice or OpenOffice, and maybe add a few more improvements if I get new ideas... suggestions welcome ...
Regards,
Philippe
Report
bender02
13 years ago
TEXINPUTS=: klatexformula
I don't know if it helps, but...
PS. Great program!
Report
ijon45
13 years ago
I have found the tooltips over rendered formula and input widgets a bit annoying. I think it would be better to have a button to request showing of a larger picture and put the input tooltip contents in a lineedit or in the WhatsThis? help.
Report
rdglinux
13 years ago
Suggestion: it would be interesting to see it integrated into koffice and OppenOffice.org.
Best regards!
Report
maze
13 years ago
I like your app - looks nice and would be really useful to me, BUT I'm not able to compile any LaTeX code with it.
Compiling/Installing the program itself was no problem (I created a Debian package with both Kubuntu edgy and feisty) and tried both tetex and texlive, always the same message:
Quote:This is pdfeTeX, Version 3.141592-1.30.5-2.2 (Web2C 7.5.5)
entering extended mode
(/tmp/kde-maze//klatexformulatmp2-20-12-49.tex
LaTeX2e
Babel and hyphenation patterns for english, usenglishmax, dumylang, noh
yphenation, german, ngerman, loaded.
(/usr/share/apps/klatexformula/klatexformula.cls
Document Class: klatexformula 2005/02/23 v1.0 Philippe's special Latex document
class for KLatexFormula
! LaTeX Error: File `geometry.sty' not found.
Type X to quit or to proceed,
or enter new name. (Default extension: sty)
Enter file name:
! Emergency stop.
l.13 ^^M
No pages of output.
I can use the package geometry with kile though...
Any help would be appreciated
maze
Report
sirromanov83
13 years ago
I use TexLive libs instead of Debian usual packages... dunno if it might be a reason.
`geometry.sty' is located in:
/usr/local/texlive/2005/texmf-dist/tex/latex/geometry/geometry.sty
I tried to feed KLatexFormula with latex binary:
/usr/local/texlive/2005/bin/i386-linux/latex
But doesn't help...
Report
phfaist
13 years ago
%\usepackage[...]{geometry}
and make install again. (Or edit directly $KDEDIR/share/apps/klatexformula/klatexformula.cls)
This is a quick workaround, so please report if it doesn't work well; it seemed to work fine on my system.
Alternatively you may try to specify a path in TEXINPUTS environment variable when calling klatexformula. I don't know if this works but it may be worth a try.
Thank you for your comments
Philippe
Report
sirromanov83
13 years ago
That's a Path issue for sure... but i dunno ho to help it...
I also tried the ugly:
TEXINPUTS=/usr/local/texlive/2005/texmf-dist/tex/latex,/usr/local/texlive/2005/texmf-dist/tex/latex/graphics klatexformula
but it stops at:
(/usr/share/apps/klatexformula/klatexformula.cls
Document Class: klatexformula 2005/02/23 v1.0 Philippe's special Latex document
class for KLatexFormula
(/usr/local/texlive/2005/texmf-dist/tex/latex/base/size12.clo))
(/usr/local/texlive/2005/texmf-dist/tex/latex/graphics/color.sty
! Package color Error: No driver specified.
Report
phfaist
13 years ago
You need to separate paths with colons `:' in variable TEXINPUTS. Also, I noticed that adding an extra colon often helps latex find lots of stuff (I guess it tells latex to look into the default paths) for example:
TEXINPUTS=/a/path1:/a/path2:
You may try to specify a default latex color driver (by the way, I still don't understand well what that is) in the \usepackage[...]{color} in file src/klfbackend/klfbackend.cpp, line 118: edit the line to
<< "\\usepackage[dvips]{color}\n"
I hope this helps.
Philippe
Report
yuanjiayj
14 years ago
http://www.myswear.net/forum/viewthread.php?tid=6074&extra=page%3D1
Report
yuanjiayj
14 years ago
if you can provide a .deb or .rpm file,I think it'll be more popular.
Report
phfaist
14 years ago
Report
AntonChumak
14 years ago
Report
vitormp
14 years ago
What do you mean exactly?
Vitor.
Report
shafff
14 years ago
Report
phfaist
14 years ago
Report
prophecy
14 years ago
Report
prophecy
14 years ago
It would be nice to see attached to kopete in some way, sure it could be done. The one thing that it is currently missing is a nice way to edit the preamble. I am sure that one can just edit the code to include any packages that he or she might need but that would be ugly. It would be cool if you could have a configuration region to include packages and then a small section where an "expert" could edit the preamble his or herself.
It would also be nice if there was a way to change the filetype to save as. Like make it an eps file or the such. I notice that it goes to pdf in the mean so this seems like it would be easy.
Report
phfaist
14 years ago
However, you're right that a few options are missing. I'll work at it (namely including specific packages, or even maybe edit entire raw LaTeX code... I'll see about how easy it is to program .. :)
You can already save in all filetypes supported by your QT libs (but they're all _image_ filetypes (png, jpg, gif, ...) ). I'll try to work on saving in (E)PS or PDF, but gs'ing the direct LaTeX output (it has no meaning of converting to an image if you convert it back to ps!).
I thought that it may be interesting to add an option making the image background transparent, I don't know if you think it's important ...
Thanks anyway for your comment
Report
iseppo
14 years ago
Report