[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-edu-devel
Subject:    Re: [kde-edu]: Review Request: PGF/Tikz Exporter Option in Kig
From:       "Miha Cancula" <miha.cancula () gmail ! com>
Date:       2010-09-09 8:53:36
Message-ID: 20100909085336.13058.52742 () vidsolbach ! de
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://svn.reviewboard.kde.org/r/5296/
-----------------------------------------------------------

(Updated 2010-09-09 08:53:36.336501)


Review request for KDE-Edu.


Changes
-------

Fixed a forgotten error in plotGenericCurve. =



Summary
-------

This patch adds an option to Kig Latex exporter to use either the already-s=
upported PSTricks format or PGF/TikZ. (http://en.wikipedia.org/wiki/PGF/Tik=
Z). =


It's currently provided as an option in the LatexExporterOptions dialog, to=
 prevent cluttering the File->Export menu. It's also is the same file, beca=
use they share many common settings (frame, grid lines). =


I also added an option to produce a standalone Latex document, or only a pi=
cture that can be included. Both options work for both output formats (PSTr=
icks and TikZ). =


Currently, these choices are not stored in application settings to make the=
 patch shorter, but I will add them as soon as this is included.  =



Diffs (updated)
-----

  /trunk/KDE/kdeedu/kig/filters/latexexporteroptions.h 1173335 =

  /trunk/KDE/kdeedu/kig/filters/latexexporteroptions.cc 1173335 =

  /trunk/KDE/kdeedu/kig/filters/latexexporteroptionswidget.ui 1173335 =

  /trunk/KDE/kdeedu/kig/filters/latexexporter.cc 1173335 =


Diff: http://svn.reviewboard.kde.org/r/5296/diff


Testing
-------

I tested it on my machine for a long time. I even used it to produce sketch=
es for school notes, and it works well for all straight lines, angles and m=
ost curves. =



Thanks,

Miha


[Attachment #5 (text/html)]

<html>
 <body>
  <div style="font-family: Verdana, Arial, Helvetica, Sans-Serif;">
   <table bgcolor="#f9f3c9" width="100%" cellpadding="8" style="border: 1px #c9c399 \
solid;">  <tr>
     <td>
      This is an automatically generated e-mail. To reply, visit:
      <a href="http://svn.reviewboard.kde.org/r/5296/">http://svn.reviewboard.kde.org/r/5296/</a>
  </td>
    </tr>
   </table>
   <br />


<table bgcolor="#fefadf" width="100%" cellspacing="0" cellpadding="8" \
style="background-image: \
url('http://svn.reviewboard.kde.orgrb/images/review_request_box_top_bg.png'); \
background-position: left top; background-repeat: repeat-x; border: 1px black \
solid;">  <tr>
  <td>

<div>Review request for KDE-Edu.</div>
<div>By Miha Cancula.</div>


<p style="color: grey;"><i>Updated 2010-09-09 08:53:36.336501</i></p>



<h1 style="color: #575012; font-size: 10pt; margin-top: 1.5em;">Changes</h1>
<table width="100%" bgcolor="#ffffff" cellspacing="0" cellpadding="10" style="border: \
1px solid #b8b5a0">  <tr>
  <td>
   <pre style="margin: 0; padding: 0; white-space: pre-wrap; white-space: \
-moz-pre-wrap; white-space: -pre-wrap; white-space: -o-pre-wrap; word-wrap: \
break-word;">Fixed a forgotten error in plotGenericCurve. </pre>  </td>
 </tr>
</table>


<h1 style="color: #575012; font-size: 10pt; margin-top: 1.5em;">Description </h1>
<table width="100%" bgcolor="#ffffff" cellspacing="0" cellpadding="10" style="border: \
1px solid #b8b5a0">  <tr>
  <td>
   <pre style="margin: 0; padding: 0; white-space: pre-wrap; white-space: \
-moz-pre-wrap; white-space: -pre-wrap; white-space: -o-pre-wrap; word-wrap: \
break-word;">This patch adds an option to Kig Latex exporter to use either the \
already-supported PSTricks format or PGF/TikZ. \
(http://en.wikipedia.org/wiki/PGF/TikZ). 

It&#39;s currently provided as an option in the LatexExporterOptions dialog, to \
prevent cluttering the File-&gt;Export menu. It&#39;s also is the same file, because \
they share many common settings (frame, grid lines). 

I also added an option to produce a standalone Latex document, or only a picture that \
can be included. Both options work for both output formats (PSTricks and TikZ). 

Currently, these choices are not stored in application settings to make the patch \
shorter, but I will add them as soon as this is included.  </pre>  </td>
 </tr>
</table>


<h1 style="color: #575012; font-size: 10pt; margin-top: 1.5em;">Testing </h1>
<table width="100%" bgcolor="#ffffff" cellspacing="0" cellpadding="10" style="border: \
1px solid #b8b5a0">  <tr>
  <td>
   <pre style="margin: 0; padding: 0; white-space: pre-wrap; white-space: \
-moz-pre-wrap; white-space: -pre-wrap; white-space: -o-pre-wrap; word-wrap: \
break-word;">I tested it on my machine for a long time. I even used it to produce \
sketches for school notes, and it works well for all straight lines, angles and most \
curves. </pre>  </td>
 </tr>
</table>




<h1 style="color: #575012; font-size: 10pt; margin-top: 1.5em;">Diffs</b> \
(updated)</h1> <ul style="margin-left: 3em; padding-left: 0;">

 <li>/trunk/KDE/kdeedu/kig/filters/latexexporteroptions.h <span style="color: \
grey">(1173335)</span></li>

 <li>/trunk/KDE/kdeedu/kig/filters/latexexporteroptions.cc <span style="color: \
grey">(1173335)</span></li>

 <li>/trunk/KDE/kdeedu/kig/filters/latexexporteroptionswidget.ui <span style="color: \
grey">(1173335)</span></li>

 <li>/trunk/KDE/kdeedu/kig/filters/latexexporter.cc <span style="color: \
grey">(1173335)</span></li>

</ul>

<p><a href="http://svn.reviewboard.kde.org/r/5296/diff/" style="margin-left: \
3em;">View Diff</a></p>




  </td>
 </tr>
</table>




  </div>
 </body>
</html>



_______________________________________________
kde-edu mailing list
kde-edu@mail.kde.org
https://mail.kde.org/mailman/listinfo/kde-edu


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic