Le 14/10/2011 03:17, Uwe Stöhr a écrit :
I cannot parse what you mean. You are certainly not indicating that
any LaTeX list, like itemize or
enumerate environment, are designed with free spacing in mind, are you?
You misunderstood me. The LaTeX list allows to use multiple spaces. The
other lis
Am 12.09.2011 11:46, schrieb Jean-Marc Lasgouttes:
It allows free spacing, so that you can insert multiple spaces and LaTeX
will respect them. It moreover allows to format your text in the way you
like - like in our case typewriter.
I cannot parse what you mean. You are certainly not indicatin
Le 29/08/2011 15:40, Uwe Stöhr a écrit :
In which sense is the LaTeX list environment designed to show
typewriter code?
It allows free spacing, so that you can insert multiple spaces and LaTeX
will respect them. It moreover allows to format your text in the way you
like - like in our case typew
Op 1-9-2011 16:22, Uwe Stöhr schreef:
Am 29.08.2011 20:22, schrieb Pavel Sanda:
you can call methods via class::method() only when they are static.
otherwise you need real existing object for that class to call
class_variable.method().
generally you need either the variable or to declare that
Am 29.08.2011 20:22, schrieb Pavel Sanda:
you can call methods via class::method() only when they are static.
otherwise you need real existing object for that class to call
class_variable.method().
generally you need either the variable or to declare that method
to be static.
How can I do thi
Uwe Stöhr wrote:
> The attached patch does this but does not compile: "Illegal call of
> non-static member function." What am I doing wrong here?
you can call methods via class::method() only when they are static.
otherwise you need real existing object for that class to call
class_variable.metho
Attached is the right approach I think:
We need to insert normal spaces as such so pressing SPACE leads to "\ ", pressing Ctrl+Space leads
to "~", inserting a visible space leads to "\textvisiblespace". So we only need to call InsetSpace's
latex void to do the job.
The attached patch does this
Am 29.08.2011 12:01, schrieb Jean-Marc Lasgouttes:
In which sense is the LaTeX list environment designed to show typewriter code?
It allows free spacing, so that you can insert multiple spaces and LaTeX will respect them. It
moreover allows to format your text in the way you like - like in ou
Le 27/08/2011 04:58, Uwe Stöhr a écrit :
Am 23.08.2011 23:18, schrieb Jean-Marc Lasgouttes:
I think lyxcode is fundamentally flawed, but nobody dares fixing it :)
The code is correct - it uses LaTeX#s list environment which is designed
for this purpose.
In which sense is the LaTeX list envi
On 2011-08-27, Uwe Stöhr wrote:
> Am 23.08.2011 23:18, schrieb Jean-Marc Lasgouttes:
>> Could we just use alltt or even verbatim instead?
> VFerbatim would not allow any formatting while list does. What is alltt?
alltt is an environment of the LaTeX standard package alltt.
http://www.tug.org/te
Am 23.08.2011 23:18, schrieb Jean-Marc Lasgouttes:
I think lyxcode is fundamentally flawed, but nobody dares fixing it :)
The code is correct - it uses LaTeX#s list environment which is designed for
this purpose.
Could we just use alltt or even verbatim instead?
VFerbatim would not allow
Am 15.08.2011 10:08, schrieb Vincent van Ravesteijn:
+// tabulators and outputting a single space instead is not what we
+// want in FreeSpacing mode
+par.insert(pos, from_ascii(""), font, Change(bparams.trackChanges
?
+Change::INSERTED : Change::UNCHANGED));
+pos = p
Le 06/08/11 17:40, Uwe Stöhr a écrit :
\begin{lyxcode}
~~~Hello~~Hello~~\end{lyxcode}
This is wrong because if the line is too long, LaTeX tries to break the
line and does this at the first possibility - and this is at the
beginning of course. Thus the leading spaces get lost which was reported
On Mon, Aug 15, 2011 at 6:06 AM, Uwe Stöhr wrote:
> Am 12.08.2011 20:12, schrieb Vincent van Ravesteijn:
>
>
>
>> Paragraph::insert(...) just calls Paragraph::insertChar(). Looking at
>> Paragraph::insertChar(...,
>> bool trackChanges) you can see that this does nothing else than
>> Paragraph::i
Am 12.08.2011 20:12, schrieb Vincent van Ravesteijn:
Paragraph::insert(...) just calls Paragraph::insertChar(). Looking at
Paragraph::insertChar(...,
bool trackChanges) you can see that this does nothing else than
Paragraph::insertChar(..., Change
const & change) except for using "Change(track
Op 12-8-2011 15:40, Uwe Stöhr schreef:
Am 11.08.2011 03:03, schrieb Pavel Sanda:
why bparams.trackChanges is replaced by Change(Change::UNCHANGED) ?
Because par.insert requires a Change statement, while par.insertChar
uses a
bool (bparams.trackChanges).
What do you think is correct here?
Am 11.08.2011 03:03, schrieb Pavel Sanda:
why bparams.trackChanges is replaced by Change(Change::UNCHANGED) ?
Because par.insert requires a Change statement, while par.insertChar uses a
bool (bparams.trackChanges).
What do you think is correct here?
i dont know CT code. its just suspicious t
Uwe Stöhr wrote:
>>> Index: Text.cpp
>>> ===
>>> --- Text.cpp(revision 39427)
>>> +++ Text.cpp(working copy)
>>> @@ -788,8 +788,11 @@
>>> ++pos;
>>> space_inserted
Am 08.08.2011 19:42, schrieb Pavel Sanda:
curious questions:
is style.free_spacing == true only for LyX-Code
No, you can also use this in other layouts as well. There are currently only the layouts beamer and
egs who are using it and both use the lyxcode environment (which uses LaTeX's list e
Uwe Stöhr wrote:
> Am 06.08.2011 17:40, schrieb Uwe Stöhr:
>
>> The attached patch fixes point 1. and the tabulator issue.
curious questions:
is style.free_spacing == true only for LyX-Code (i.e. can't we break
some other environments by sudden replacing ~ -> '\ ' ?
> + // we need a normal sp
Am 06.08.2011 17:40, schrieb Uwe Stöhr:
The attached patch fixes point 1. and the tabulator issue.
Now it is really attached.
regards Uwe
Index: Paragraph.cpp
===
--- Paragraph.cpp (revision 39427)
+++ Paragraph.cpp (working copy
21 matches
Mail list logo