Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Wed 01 Oct 2014, 22:36
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Graphics
TexTex - Latex plugin for inkscape
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
Page 1 of 1 Posts_count_1  
Author Message
darkcity


Joined: 23 May 2010
Posts: 2455
Location: near here

PostPosted: Sat 07 Sep 2013, 08:07    Post_subject:  TexTex - Latex plugin for inkscape  

TexTex - Latex plugin for Inkscape. The Latex script can be modified after being inserted (ie it isn't a one way process).
http://pav.iki.fi/software/textext/

Requirements-

python-2.6-lxmlnumpy-cut-i486.pet http://murga-linux.com/puppy/viewtopic.php?t=73176 (general for Inkscape plugins)

Python+-2.6.4-i486.pet http://www.murga-linux.com/puppy/viewtopic.php?t=49138 (for pygtk)

pdf2svg-0.2.2-i486.pet http://puppylinuxstuff.meownplanet.net/darkcity/packages/pdf2svg-0.2.2-i486.pet

TexText-0.4.4.pet http://puppylinuxstuff.meownplanet.net/darkcity/packages/TexText-0.4.4.pet (the plugin)

Ensure a Latex system is installed - check using latex -v and pdflatex -v

For example the texlive-2011-FULLAPP.sfs http://www.murga-linux.com/puppy/viewtopic.php?p=590288#590288


Requires library libpoppler.so.13 or later.
Make a link called libpoppler.so.13 to the latest libpoppler.
For example in Slacko 5.6 make a relative symlink called libpoppler.so.13 to /usr/lib/libpoppler.so.26.0.0

---
error examples

no pdflatex command present-
Quote:
Traceback (most recent call last):
File "textext.py", line 210, in cb_ok
self.callback(self.text, self.preamble_file, self.scale_factor)
File "textext.py", line 369, in <lambda>
converter_cls, old_node))
File "textext.py", line 387, in do_convert
new_node = converter.convert(text, preamble_file, scale_factor)
File "textext.py", line 875, in convert
return PdfConverterBase.convert(self, *a, **kw)
File "textext.py", line 750, in convert
self.tex_to_pdf(latex_text, preamble_file)
File "textext.py", line 727, in tex_to_pdf
exec_command(['pdflatex', self.tmp('tex')] + latexOpts)
File "textext.py", line 592, in exec_command
raise RuntimeError("Command %s failed: %s" % (' '.join(cmd), e))
RuntimeError: Command pdflatex /tmp/tmp86l_b3/tmp.tex -interaction=nonstopmode -halt-on-error failed: [Errno 2] No such file or directory


The Latex interpreter is quite fussy, expect long error if it doesn't like something-
Quote:
Traceback (most recent call last):
File "textext.py", line 210, in cb_ok
self.callback(self.text, self.preamble_file, self.scale_factor)
File "textext.py", line 369, in <lambda>
converter_cls, old_node))
File "textext.py", line 387, in do_convert
new_node = converter.convert(text, preamble_file, scale_factor)
File "textext.py", line 875, in convert
return PdfConverterBase.convert(self, *a, **kw)
File "textext.py", line 750, in convert
self.tex_to_pdf(latex_text, preamble_file)
File "textext.py", line 727, in tex_to_pdf
exec_command(['pdflatex', self.tmp('tex')] + latexOpts)
File "textext.py", line 596, in exec_command
% (' '.join(cmd), p.returncode, out + err))
RuntimeError: Command pdflatex /tmp/tmpUmfIz9/tmp.tex -interaction=nonstopmode -halt-on-error failed (code 1): This is pdfTeX, Version 3.1415926-2.3-1.40.12 (TeX Live 2011)
restricted \write18 enabled.
entering extended mode
(/tmp/tmpUmfIz9/tmp.tex
LaTeX2e <2009/09/24>
Babel <v3.8l> and hyphenation patterns for english, dumylang, nohyphenation, ge
rman-x-2009-06-19, ngerman-x-2009-06-19, afrikaans, ancientgreek, ibycus, arabi
c, armenian, basque, bulgarian, catalan, pinyin, coptic, croatian, czech, danis
h, dutch, ukenglish, usenglishmax, esperanto, estonian, ethiopic, farsi, finnis
h, french, galician, german, ngerman, swissgerman, monogreek, greek, hungarian,
icelandic, assamese, bengali, gujarati, hindi, kannada, malayalam, marathi, or
iya, panjabi, tamil, telugu, indonesian, interlingua, irish, italian, kurmanji,
lao, latin, latvian, lithuanian, mongolian, mongolianlmc, bokmal, nynorsk, pol
ish, portuguese, romanian, russian, sanskrit, serbian, serbianc, slovak, sloven
ian, spanish, swedish, turkish, turkmen, ukrainian, uppersorbian, welsh, loaded
.
(/usr/local/texlive/2011/texmf-dist/tex/latex/base/article.cls
Document Class: article 2007/10/19 v1.4h Standard LaTeX document class
(/usr/local/texlive/2011/texmf-dist/tex/latex/base/size10.clo))

LaTeX Warning: Unused global option(s):
[a0].

No file tmp.aux.
! Missing $ inserted.
<inserted text>
$
l.7 \cos
A \cos B &= \frac{1}{2}\left[ \cos(A-B)+\cos(A+B) \right] \\
?
! Emergency stop.
<inserted text>
$
l.7 \cos
A \cos B &= \frac{1}{2}\left[ \cos(A-B)+\cos(A+B) \right] \\
! ==> Fatal error occurred, no output PDF file produced!
Transcript written on tmp.log.


May require reboot after everything's installed.

Also see wiki page http://puppylinux.org/wikka/TexText
exampletextex.png
 Description   
 Filesize   36.98 KB
 Viewed   524 Time(s)

exampletextex.png


_________________
helping Wiki for help | IF SendSpace link = "dead" THEN PM me ("up file to http://meownplanet.net/")
Back to top
View user's profile Send_private_message Visit_website 
Display_posts:   Sort by:   
Page 1 of 1 Posts_count_1  
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Graphics
Jump to:  

Rules_post_cannot
Rules_reply_cannot
Rules_edit_cannot
Rules_delete_cannot
Rules_vote_cannot
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0499s ][ Queries: 12 (0.0042s) ][ GZIP on ]