Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Andreas

Pages: 1 2 [3] 4 5 ... 10
31
WinFIG and LaTeX / Re: pb with miktex 2.9 ?
« on: February 10, 2014, 03:24:34 AM »
WinFIG ist just calling the LaTeX commands that are configured in the preferences. It works if these can be executed. The LaTeX/bin folder must be in the PATH for that. Reinstalling WinFIG doesn't help.

You could open a CMD and try to call latex or dvips for a test.

Did you look into winfig.log?

32
WinFIG and LaTeX / Re: pb with miktex 2.9 ?
« on: February 07, 2014, 02:32:36 AM »
I'm also having MikTeX 2.9 and it works. Can you still call latex on the command line?

Code: [Select]
C:\Users\Andreas>latex
This is pdfTeX, Version 3.1415926-2.3-1.40.12 (MiKTeX 2.9)
**
! End of file on the terminal... why?
C:\Users\Andreas>

Check if MiKTeX is still in the PATH.

"set PATH" in the command line will show your current PATH variable. It should contain the bin directory of the MiKTeX installation i.e.

C:\Program Files (x86)\MiKTeX 2.9\miktex\bin\

33
General Discussion / Re: Problems with greek characters
« on: January 14, 2014, 08:47:00 PM »
If you are using LaTeX syntax for formatting, you have to export to LaTeX or combined PS/LaTeX (PDF/LaTeX). Exporting to a plain image file like PNG does not involve any LaTeX processing. I might add that as a feature in the future, but LaTeX preview was never really meant to go into exported bitmap images. it's a feature for people who are using FIG graphics in LaTeX documents.

I would not even recommend exporting to bitmap grahics. They are not suitable for high quality printing and even less if you resize the images when you put them in a document.

I *guess* you are exporting to a bitmap in order to import the image in Word. Is that right?

If you want to add bitmap images to a Word document, better export to PSTeX and run the result through a LaTeX processor. You need some kind of minimal LaTeX file to do that. Look here or in the FAQ under "How can I create a LaTeX file with PSTeX or PDFTeX?".

Convert the resulting DVI file to EPS. Import that in Word. I sounds like a lot of steps, but it's not that difficult. Put all the LaTeX command line stuff in a script.

Although I would not recommend Word for a scientific publication. Better write your whole text in LaTeX. It's easier and looks a lot better. An you can still use it in 10 years without buying an MS Office subscription.

34
WinFIG and LaTeX / Re: Feature request
« on: May 15, 2013, 01:20:16 PM »
Sounds like a good idea.

35
You can download and install the clip library that comes with Xfig. It's available in the Xfig source distribution. Inside the archive is a folder named Libraries. Copy everything from there to the Libraries folder in your WinFIG installation.

But I don't know if you wil find there what you are looking for. Feel free to contribute  ;)

36
General Discussion / Re: Unable to export figures with Latex content
« on: March 11, 2013, 11:32:24 PM »
Did you look into the log file winfig.log? It's in c:\Users\<username>\AppData\Local\Temp\
Perhaps there is something in there.

The correct commands for a file named foo.fig would be first to create the graphics part:

fig2dev.exe" -L pdftex foo.fig foo.pdf

Then to create the LaTeX part:
fig2dev.exe" -L pdftex_t -p foo.pdf foo.fig foo.tex

Note the -p foo.pdf to add the overlay to the LaTeX.

The message about "Untested Windows version 6.2" comes, because Qt 4.8.3 is from 2011.  But it should not actually prevent WinFIG or fig2dev from working. However, the next WinFIG will include a more recent version, either 4.8.4 or 5.0.1.

37
WinFIG and LaTeX / Re: Exported files corrupt/not working.
« on: March 04, 2013, 08:15:42 PM »
However, when exporting a file into LaTeX - it exports it yes, but when I try to open it in LaTeX and run it, LaTeX doesn't like it and won't produce the diagram from the code produced by WinFIG.

Did you look at the code? Does it look like valid LaTeX? What exactly is the error message from the LaTeX interpreter?

Quote
I have also tried exporting to pdf however when opening the pdf after saving it, adobe reader states the file is corrupt and cannot open it.

Please check the FAQ

Q: My exported files are empty and have 0 size.

I guess it's that.

38
General Discussion / Re: Dimension line
« on: February 06, 2013, 02:20:39 AM »
Sorry, they don't exist until now, but it's something I want to add too. I just cannot give a schedule. The next release will have customizable grids and bug fixes.

39
General Discussion / Re: Scale an element?
« on: January 21, 2013, 12:06:07 AM »
Actually, you have to wrap that object into a compound and then scale the compound. That really works. You can scale the compound along x or y or both while keeping the apect ratio.

I admit the workaround via creating a compound is not very convenient. Perhaps I can find a better way.

40
General Discussion / Re: cannot export correct formula
« on: January 21, 2013, 12:00:13 AM »
If you export to EPS, you get EPS. WinFIG runs the TeX formatted texts through a LaTeX interpreter for visualization, but the export is still
a plain EPS export. You have to export to LaTeX or - even better - to a combined LaTeX/EPS-Format. That's done via the pstex or pdftex export.

See the FAQ question "How can I create a LaTeX file with PSTeX or PDFTeX?"
 
An alternative is to export to pstricks and include the pstricks package in your LaTeX document. pstricks has graphics capabilities close to PostScript.

41
General Discussion / Re: Grid Size
« on: October 22, 2012, 10:38:31 PM »
Right now there are 3 grid sizes and 5 magnet/snap steppings. I'm considering to implement something that would be freely configurable.

42
Feature Requests / Re: Constrained Move
« on: October 22, 2012, 10:34:37 PM »
WinFIG can snap to grid, snap to vertex and constrain new line points using manhattan/mountain/mounthattan geometry.

WinFIG 3.x could also contrain moves to x or y axis only. I will add that again in the next release.

I don't know if Xfig does that so much better. When I have an ellipse and choose the wide grid under "point posn", then I cannot even grab the ellipse if it doesn't touch any of the grid intersections. Same for other shapes.

I didn't really understand what I meant by " they to not align with the parent object". Perhaps, if I could understand your idea, this could be a feature to implement.

43
WinFIG and LaTeX / Re: center equation in framebox
« on: September 25, 2012, 01:55:16 PM »
ah, ok it's probably because the "put" overrides the \center. However, Perhaps there is a way to change the LaTeX export to include the centering inside the box. Right now it looks like this:

Code: [Select]
\put(3001,-6549){\makebox(0,0)[b]{\smash{{\SetFigFont{12}{14.4}{\rmdefault}{\mddefault}{\updefault}{\color[rgb]{0,0,0}sdfsdfdsdsf}%

44
Feature Requests / Re: Readable Descriptions when Hover Over Buttons
« on: September 24, 2012, 11:40:01 AM »
This this seems to be a bug in Qt on Linux. I googled this and this

45
General Discussion / Re: Fail to start WinFIG in Ubuntu 12.04-64Bit
« on: September 24, 2012, 11:34:52 AM »
WinFIG needs Qt 4.5 or higher. Perhaps you still have a 4.4 or 4.3?

Pages: 1 2 [3] 4 5 ... 10