On Wednesday 12 August 2009 12:44:02 Abdelrazak Younes wrote:
> Steve Litt wrote:
> > On Wednesday 12 August 2009 04:01:16 Abdelrazak Younes wrote:
> >> Hello,
> >>
> >> I've been asked privately by a generous anonymous donator how hard would
> >> it be to offer an easy way to select a text and to highlight it with a
> >> given color background or font.
> >>
> >> My idea would be create a Char-style layout editor and to give access
> >> via a toolbar combo to the different char-styles avalaible. Right-now
> >> the supported char-style are not well known and that's a pity. We need
> >> to improve the discoverability of the feature.
> >
> > I just want to make sure I understand this. Is the purpose of this
> > toolbar to allow the user to easily make a LyX Character Style -- a name
> > representing a set of codes like this:
> >
> > =====================
> > BeginPreamble
> > % ### Character style -- big bold letters in paragraph
> > \newcommand{\bigletterL}[1]{\begin{Large}\textbf{#1}\end{Large}}%
> > EndPreamble
> >
> > # %%% Big bold letters for word beginnings
> > CharStyle BigLetter
> > Font
> >         Series  Bold
> >         Size Larger
> > EndFont
> > LatexName       bigletterL
> > #LatexName      charcode
> > LatexType       Command
> > End
> > =====================
> >
> > If it's an easy way for the user to be able to do the preceding, that's a
> > SPECTACULAR idea. It would be wonderful to do the same for environments.
> > I once tried to make a similar standalone product and was unable to do
> > it, so it's a challenge due to the huge choice of LaTeX code.
>
> Yes something like this but not including the preamble bits. An edit box
> could be added for this purposes for advanced user like you. All the
> rest would be pretty easy to implement:

I'm thinking that without the LaTeX part, it falls short if you try to do 
something beyond character appearance. What you might have (this is easy for 
me to say) is a round trip converter between the LaTeX created by all your 
various combo boxes, and a little editor to edit the LaTeX.

[clip]
> The dialog will then save the created charstyle in a module file. When
> saved, the user will automagically see a new item in the charstyle
> combo. The charstyle combo will be similar to the current paragraph
> environment combo. And of course the same work can be done for a
> paragraph environment layout editor.
>
> Pretty easy stuff. But stuff that takes time.
>
> > I can add twenty US Dollars to the 500 Euros if U guys accept Paypal and
> > if the idea is what I described above.
>
> Yes, that's the idea, I'm sure many people would like to contribute to a
> feature like that.

How do I pay with Paypal?

SteveT

Reply via email to