[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Some issues



Chris,
	Sorry for the confusion.  I had sent a Dia file to
Lars to show the arrow problem with xfig arrows.

	The figures came from a computer security course
in which I covered some newtwork cryptographic protocols.  Since I could
not get pdflatex to process any dia output
with latex mathmode and color, I just exported to eps,
and what showed up on the screen had underscores in it but
did not need escapes since the text was never processed
by (pdf)latex.  Since the figure had been around for a while,
I answered your question without thinking about the fig.
So it was entirely my fault.  I am attaching current version which is
expected to run through metapost (ie latex).

	Because of the differences in the viewable diagram using different
exports, I think the only long term solution would be a two step
process--process in latex the labels using metapost from within dia--and
then produce the output with the processed labels.

	But the above substantial programming task is not the most important
issue to me, I (and especially my students) will be *very* happy to
produce readable labels on my diagrams!

thanks again,
Jon

On Sun, 2003-12-21 at 02:03, Chris Sperandio wrote:
> Jon,
> 
> Personally, typeset math is the main reason for using the metapost
> plugin and why I originally wrote it, so I agree that braces and
> underscores should not be escaped.  However, since you didn't enclose
> your expression in $ $ to produce inline math, braces act to group and
> underscores are not permitted and need to be expressed as \{ \} \_. 
> Your labels did not contain $ and the braces and underscores were plain,
> so I couldn't determine what you were trying to do. That's all.
> 
> At any rate, I'm also going to work on getting the font scaling correct
> too.  I'm not certain where else it's deficient.
> 
> 
> On Wed, 2003-12-17 at 08:47, Jon A. Solworth wrote:
> > Chris,
> > 	The user should type in the same thing they would
> > to tex/latex.  So underscores and braces should not be escaped.
> > (I assume when you say "string" you mean the input).
> > I think that the primary reason you want to use metapost is
> > because you are using math mode text.
> > 
> > 	I don't have time to try out your patch right now,
> > but I will as soon as I can.
> > 
> > 	The one drawback to this approach is that different
> > exports are going to print the file differently.  I think that
> > is right for now since the purpose of using dia to to incorporate its
> > diagrams in some "document", and hence the
> > quality is paramount.  Ultimately, it looks like calling
> > latex from within dia could produce the same diagram whatever
> > the filter.
> > 
> > thanks and looking forward to trying the patch,
> > Jon
> > 
> > On Wed, 2003-12-17 at 01:34, Chris Sperandio wrote:
> > > On Sat, 2003-12-13 at 10:29, Jon A. Solworth wrote:
> > > > On Sat, 2003-12-13 at 09:06, Lars Clausen wrote:
> > > > >
> > > > > As for XFig, if you send me a diagram that is improperly exported, I shall
> > > > > certainly take a look, it's one of my darlings:)
> > > > > 
> > > > 
> > > > Lars,
> > > > 
> > > > Here it is.  If it gets mangled, let me know.
> > > > 
> > > > Jon
> > > 
> > > I'm working on the color text metapost patch.  
> > > 
> > > Jon, as far as the text in your messages go, what are your intentions
> > > for strings with underscores and braces?  It seems that there was a
> > > routine to escape these in the pstricks filter, but it has been
> > > disabled.  I agree with the comment there that TeX users will do what
> > > they intend.  So are these to be typeset as math or should they be as \_
> > > and \{ \}?  Unfortunately, it seems that even \{ \} won't do it.  I had
> > > to specifically set these to $\{$ $\}$.
> > > 
> > > At any rate, here is the patch and two new versions of your dia file I
> > > test it against.
> > > 
> > > 
> 
> _______________________________________________
> Dia-list mailing list
> Dia-list@gnome.org
> http://mail.gnome.org/mailman/listinfo/dia-list
> FAQ at http://www.lysator.liu.se/~alla/dia/faq.html
> Main page at http://www.lysator.liu.se/~alla/dia
-- 
_______________________________________________________________________________
Jon A. Solworth                 	
Computer Science Dept. (M/C 152)	url: http://parsys.cs.uic.edu/~solworth
University of Illinois at Chicago       telephone: (312) 996-0955
851 S. Morgan Rm 1120 SEO    		FAX:       (312) 413-0024
Chicago, IL 60607-7053

needhamSchroeder2.dia



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index] Mail converted by Mofo Magic and the Flying D

 
All trademarks and copyrights are the property of their respective owners.

Other Directory Sites: SeekWonder | Directory Owners Forum

GuideSMACK