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 ... 7 8 [9] 10
121
WinFIG and LaTeX / Re: special -> exit
« on: September 12, 2007, 01:12:51 PM »
Is there anything in the error log? It could be a missing LaTeX installation.

Can this topic help?
http://www.schmidt-web-berlin.de/winfig/forum/index.php?topic=38.0

If not,you can switch the LaTeX rendering off in the Preferences (TeX Preview).

122
WinFIG and LaTeX / Re: Viewing LaTex strings in WinFIG
« on: August 31, 2007, 04:54:08 PM »
You can even change the version number in your dummy key to 8.60.

Because WinFIG actually scans
HKEY_LOCAL_MACHINE\SOFTWARE\AFPL Ghostscript
for any sub-keys and subsequently queries the first that it can find for the GS_DLL value.

Example:
If it finds "8.53" under
HKEY_LOCAL_MACHINE\SOFTWARE\AFPL Ghostscript
it would next query
HKEY_LOCAL_MACHINE\SOFTWARE\AFPL Ghostscript\8.53\GS_DLL

Therefore it should work with any GhostScript version that creates a registry entry according to
HKEY_LOCAL_MACHINE\SOFTWARE\AFPL Ghostscript\xxx\GS_DLL

I think the best is to implement another search for
HKEY_LOCAL_MACHINE\SOFTWARE\GPL Ghostscript
in case "AFPL Ghostscript" was not found.

123
WinFIG and LaTeX / Re: Viewing LaTex strings in WinFIG
« on: August 31, 2007, 12:17:51 AM »
Actually, the line should look like this:
"C:\Program Files\gs\gs8.53\bin\\gswin32c.exe" -q -dSAFER -dBATCH -dNOPAUSE -sDEVICE=pngalpha -r96 -dEPSCrop -sOutputFile="C:\temp\texclip.png" "C:\temp\texclip.eps"

This ist the template that is being used:
\"%s\\gswin32c.exe\" -q -dSAFER -dBATCH -dNOPAUSE -sDEVICE=pngalpha -r%d -dEPSCrop -sOutputFile=\"%s\" \"%s\"

The first %s is replaced by the path to the GhostScript executable. This is the thing to check first. Is GhostScript installed and where? Is it configured in the registry under "HKEY_LOCAL_MACHINE\SOFTWARE\AFPL Ghostscript"?

I'm also wondering why  it's
C:\WinFIG\"\gswin32c.exe"
and not
"C:\WinFIG\\gswin32c.exe"

124
WinFIG and LaTeX / Re: Viewing LaTex strings in WinFIG
« on: August 23, 2007, 05:19:35 PM »
Probably there is really a problem with the GhostScript version. Can you use regedit to check the registry for the installed versions?

You find GhostScrpt under:
HKEY_LOCAL_MACHINE\SOFTWARE\AFPL Ghostscript

Also, WinFIG shows a remark in the "about"-box regarding the version it will call for such operations.

125
WinFIG and LaTeX / Re: winfig Grafiken in tex Dokument verwenden
« on: July 26, 2007, 07:18:04 PM »
Hallo,

das geht mit export nach PSTeX. Da wird eine EPS-Datei mit den Grafiken und eine TeX-Datei mit den Texten und Formeln erzeugt. Bei denen muß das Special-Flag gesetzt sein. Anderenfalls landen sie auch in der EPS-Datei.

Die TeX-Datei macht dann ein include auf die EPS-Datei. Wenn man dann die DVI-Datei nach PS konvertiert, ist beides wieder zusammen.

Ein bißchen genauer steht es in der FAQ.

Falls nicht latex, sondern pdftex verwendet wird, kann man auch den PDFTeX-Export verwenden. Dann werden statt EPS- Dateien PDF-Dateien erzeugt. Wichtig ist, daß dann ein GhostScript installiert ist, da das für die interne Umwandlung von EPS in PDF gebraucht wird.

126
General Discussion / Re: default options
« on: June 20, 2007, 02:29:01 PM »
There's no particular reason I need 8.13, so I've just removed that. I think all of the recent LaTeX programs I have installed (LEd, TeXnicenter) work from the most recent 8.53 build anyway, I was just keeping the 8.13 as an insurance policy :)

yes, 8.53 is fine. 8.54 seems to have at least one font with wrong metrics. It hink Bookman is sligthly too big, but maybe it was another one.

Quote
I thought about it a bit more and just saved a blank WinFIG file with the preferences I need - (landscape, A4 imperial) - into a blank file and open this from the "file -> open" menu. I should really have thought of this before!

Yes, some settiings are stored at the beginning of the file. You can see it in a text editor. You still have to set it for each new drawing, but my assumption ist that this is not so often.

127
General Discussion / Re: default options
« on: June 19, 2007, 11:46:08 PM »
Hello,

right now only some preferences are stored. You can see by opening regedit and navigate to:

HKEY_LOCAL_MACHINE\SOFTWARE\WinFIG

[edit]
Version 4.x and later stores the settings in: HKEY_CURRENT_USER\Software\AndreasSchmidt\WinFIG
[/edit]

It always stores the last used values as defaults. Probably you are right and it would be nice to store grid, magnet, units, zoom, page size and orientation too. I will see if I have some time to do it.

The GhostScript path is determined by looking into the following registry key:
HKEY_LOCAL_MACHINE\SOFTWARE\AFPL Ghostscript

Then WinFIG picks the first entry it finds. If you have 8.13 and 8.53, it would pick 8.13. This is perhaps not the most elegant way, but I did not really consider machines with more than one GhostScript on them.

Right now you can probably only remove the 8.13 installation. Actually I would do that. Or is there a special reason why you still need the 8.13?

Perhaps it would work to install 8.53 and then 8.13. This could place 8.13 after 8.53 (but I did not try). In that case WinFIG would choose 8.53.

128
Bug Reports / Re: can't move text once placed
« on: June 01, 2007, 10:50:39 AM »
You cannot move texts with "move point". You use the "Pointer" tool (upper  left in the toolbar). It's the same that you use for moving any other object.

129
Feature Requests / Re: Cutting tool
« on: May 28, 2007, 06:03:51 PM »
actually I think, you really have to draw the edges manually. But why not just use a spline with some more or less random points?

130
General Discussion / Re: Export and resizing issues
« on: May 28, 2007, 06:00:54 PM »

After drawing a figure in WinFig I have exported it to .eps format.

Upon using the exported figure with a resize option (through width, keepaspect ratio options), I have found that the quality of the figure reduces drastically. Is there some way of over coming this problem?

could ouy be more specific in what way the qualitiy reduces? Something like becoming chunky is not possible in EPS. You could send me an example by mail.

131
Bug Reports / Re: Öffnen von .fig Dateien
« on: December 11, 2006, 01:36:37 AM »
Hallo

Bei mir (Version 1.72, probiere es morgen mal mit 1.74) poppt eine Fehlermeldung auf, wenn ich eine .fig-Datei doppelklicke:
Die angegebene Datei kann nicht gefunden werden, bitte prüfen Sie, ob der Pfad korrekt...
(oder so ähnlich)
Die Datei geht dann aber problemlos auf, ist also kein ernstes Problem, aber etwas nervig, vor allem, wenn man ein bestimmtes Bild sucht.

hmmm, ja, stimmt. Muß ich mal nachschauen, ob ich den Grund finde. Ist in der aktuellen Version jedenfalls immer noch so.

132
WinFIG and LaTeX / Re: EPS oder TeX
« on: December 11, 2006, 01:33:41 AM »
Ich muss ein paar Bilder in ein LaTeX-Dokument einbinden. Was nehme ich denn da am besten, eps, oder soll ich das nach LaTeX direkt exportieren?

LaTeX ist etwas eingeschränkt. Ich würde PSTeX nehmen. Damit sind die Grafiken in PS und die Texte in TeX. Das steht im FAQ, erster Eintrag.

Das wird hier alles erklärt:
http://www.xfig.org/userman/latex_and_xfig.html

Die Seite scheint mir aber etwas veraltet, denn dort werden noch die LaTeX-Packages psfig und epsfig verwendet. Man sollte wohl besser graphicx nehmen.

Quote
Problem bei mir: Das exportieren klappt nicht, wei lGS nicht eingebunden ist. In der Readme steht, ich soll das Verzeichnis von GhostScript zum Systempfad zufügen, aber ich habe keine Ahnung, wie das gehen soll.

Ist auch nicht mehr nötig. GhostScript muß nur installiert sein. Es wird aber nur für den Export in Bitmap-Formate (PNG, JPEG...) und PDF gebraucht. Für EPS und LaTeX braucht WinFIG es nicht. Zum Drucken ist es aber dann wieder praktisch, weil man das TeX ja in PS umwandelt (mit dvips).

133
WinFIG and LaTeX / Re: EPS oder TeX
« on: December 11, 2006, 01:29:47 AM »
Noch eine Frage:
Welche Pakete muss ich in LaTeX einbinden, damit alles funktioniert?

\usepackage{graphicx}
\usepackage{color}
 
http://www.mi.uni-koeln.de/~faq/cache/8.html

134
WinFIG and LaTeX / Re: EPS oder TeX
« on: December 11, 2006, 01:20:37 AM »
Ich muss ein paar Bilder in ein LaTeX-Dokument einbinden. Was nehme ich denn da am besten, eps, oder soll ich das nach LaTeX direkt exportieren?

LaTeX ist etwas eingeschränkt. Ich würde PSTeX nehmen. Damit sind die Grafiken in PS und die Texte in TeX. Das steht im FAQ, erster Eintrag.

Quote
Problem bei mir: Das exportieren klappt nicht, wei lGS nicht eingebunden ist. In der Readme steht, ich soll das Verzeichnis von GhostScript zum Systempfad zufügen, aber ich habe keine Ahnung, wie das gehen soll.

Ist auch nicht mehr nötig. GhostScript muß nur installiert sein. Es wird aber nur für den Export in Bitmap-Formate (PNG, JPEG...) und PDF gebraucht. Für EPS und LaTeX braucht WinFIG es nicht. Zum Drucken ist es aber dann wieder praktisch, weil man das TeX ja in PS umwandelt (mit dvips).

135
Bug Reports / Re: fig2dev fehlermeldung (jetzt aber:)
« on: December 06, 2006, 10:34:49 PM »
Sorry, das fig2dev.exe war eine Debug-Version. Ich habe die Exe ausgetauscht und das Archiv noch mal auf den Server geladen.

Pages: 1 ... 7 8 [9] 10