LyXLyX and SWP Compatability

Information and discussion about LyX, a WYSIWYM editor, available for Linux, Windows and Mac OS X systems.
Post Reply
monkat
Posts: 1
Joined: Fri Jan 15, 2010 4:28 am

LyX and SWP Compatability

Post by monkat »

Hello! For my most recent math course, I am required to use SWP for my quizzes in the form of .tex documents. Unfortunately, I do not own, nor can afford a Windows partition, and am currently running on Ubuntu.

My professor sent me a sample test containing an equation and a graph, which for the most part works fine. I can see the equation, as well as make my own, but the graph contains code which seems to be in a SWP-only language:

Code: Select all

x^{2}dtbpFX4.4996in3in0ptPlotlanguage "Scientific Word";type "MAPLEPLOT";width 4.4996in;height 3in;depth 0pt;display "USEDEF";plotsnapshots FALSE;mustRecompute FALSE;lastEngine "MuPAD";xmin "-5";xmax "5";xviewmin "-5.0010000010002";xviewmax "5.0010000010002";yviewmin "0";yviewmax "25.0024997474245";plottype 4;axesFont "Times New Roman,12,0000000000,useDefault,normal";numpoints 100;plotstyle "patch";axesstyle "normal";axestips FALSE;xis x;var1name x;function x^{2};linecolor "red";linestyle 1;pointstyle "point";linethickness 3;lineAttributes "Solid";var1range "-5,5";num-x-gridlines 100;curveColor "[flat::RGB:0x00ff0000]";curveStyle "Line";VCamFile 'KW9JL803.xvz';
Is there anything I can do to "make it work"?

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

sitex
Posts: 70
Joined: Sat May 09, 2009 12:37 pm

Re: LyX and SWP Compatability

Post by sitex »

Hello,

I think there may be two difficulties. First, you can ask your professor to save his files as Portable LaTeX files. This normally ensures that the file can be opened in other formatting systems. (To do this look choose Portable Latex in the drop down menu titled "Save as type" the Save as dialog box.)

The second problem is that the graphic you mentioned is a VCAM file. That is a special file that opens in a VCAM window in SWP. Saving the original file as a Portable LaTeX file may also remedy this difficulty.

Does your professor want students to use the free Scientific Viewer? This may help you see the exams.

Tom
Post Reply