Dear Helge,
thank you for your reply. There were several of them - and I came to the end
that I - to some extend - took it too simple. My personal wrap up is the fact
that the current TeX-inserts in LyX are not encapsulated - i. e. they reach
further than the closing insert "bracket".
So, maybe
Dieter Jurzitza wrote:
Hi folks,
first of all: thank you for all your replies. And yes, after hearing what you
came up with I think ERT should remain ERT and inserting an automatic blank
_within_ the ERT is not a good idea.
But wait: what is LyX saying about itself, WYSIWYM? Hey, if I put a w
Dear David,
if I get you right you suggest protecting the first whitespace following ERT -
if there is one - the point is that the developers say they do not want to
cope with side effects from ERT as ERT is a "do that if you _really_ know
what you do! And expect side effects on the document!"
dcmertens wrote:
> abcdef ghi
> -to tex-
> abcdef\ ghi
Because this is not expected in all cases, and because you cannot revert this
to a normal blank (whereas you can always get the desired result if you insert
an "inter-word space" [M-C-] instead of a normal blank).
For instance, if I write
M
Quick question: why doesn't LyX do this?
abcdef ghi
-to tex-
abcdef\ ghi
I totally agree that you shouldn't mess with ert; that's the point of
ert. But this would protect the spaces _outside_ of ert as Dieter
described. For that matter, this could be applied to any other
insert if desired. If
Dieter Jurzitza writes:
> But wait: what is LyX saying about itself, WYSIWYM? Hey, if I put a
> whitespace after the end of an ERT you tell me we see it but we won't
> protect it because you put it there but because you've been working
> with an ERT before we are sure you did not mean to see a whi
Hi folks,
first of all: thank you for all your replies. And yes, after hearing what you
came up with I think ERT should remain ERT and inserting an automatic blank
_within_ the ERT is not a good idea.
But wait: what is LyX saying about itself, WYSIWYM? Hey, if I put a whitespace
after the end o
On Monday 22 December 2008 11:58:24 am David Mertens wrote:
> > What Dieter refers to is that TeX is interpreting a blank as the end of a
> > command. I.e., "\TeX and friends" will be parsed as
> > "TeXand
> > friends". If you want a blank after the command, you must either write
> > "\TeX\ and fri
"David Mertens" writes:
> Perhaps we could add an option to ERT boxes to "respect spaces afer this
> ert", in which case a space after the close of an ert would be replaced with
> a '\ '?
Do you really think that checking this box is easier than adding '\ ' at
the end of your ERT? ERT is raw, and
>
> What Dieter refers to is that TeX is interpreting a blank as the end of a
> command. I.e., "\TeX and friends" will be parsed as
> "TeXand
> friends". If you want a blank after the command, you must either write
> "\TeX\ and friends" or "\TeX{} and friends" (in ordinary LaTeX), and I
> think
> D
I agree 100% with Jürgen here. As a guy who regularly does funny things with
LyX, I don't need my job made harder by working around oddities put in
as "user friendliness". And he's right, ERT is and always should be raw
LaTeX.
SteveT
On Monday 22 December 2008 04:17:53 am Jürgen Spitzmüller wr
David Mertens wrote:
> I completely agree, for reasons that you pointed out, that Dieter's first
> suggested solution would break many things. However, I think you and I are
> interpreting the second suggestion differently.
>
> Here's how I understand things. Presently, lyx would translate the
>
I think LyX should not try to be more clever than the user. We know from other
Word processors where this ends. Particularly, ERT is supposed to pass code
_as is_ without any addition or modification. Doing clever tricks is
impossible to get right.
Dieter Jurzitza wrote:
> 1.) put automatically
>
> 1.) put automatically a blank as whitespace at the end of each TeX-insert
> before closing it.
> 2.) protect a whitespace follwing a TeX-insert if there is one - assume
> that
> the user intentionally puts a whitespace there.
>
Something tells me this has been discussed before, but since Diete
Dear listmembers,
I stumbled over (and found the hint in the documentation) that you are forced
to add a whitespace at the end of any raw TeX-insert.
I understand that the TeX - insert is not encapsulated, i. e. it is intended
to have impact on LyX code that follows.
However I would like to ask
15 matches
Mail list logo