I'm now wondering whether what we really want to do here is just output
ALL the things that are included via addPreambleSnippet after the
"Textclass specific LaTeX commands": This is all the stuff loaded via
Preamble and AddToPreamble in the main document layout file and by
specific styles and
On 2016-06-18, Guillaume Munch wrote:
> Le 18/06/2016 17:42, Richard Heck a écrit :
>> On 06/17/2016 05:16 AM, Jean-Marc Lasgouttes wrote:
>>> Le 14/06/2016 à 18:53, Richard Heck a écrit :
This seems to me to count as a bug. To fix it, though, we'd obviously
have to output the code from
Le 18/06/2016 17:42, Richard Heck a écrit :
On 06/17/2016 05:16 AM, Jean-Marc Lasgouttes wrote:
Le 14/06/2016 à 18:53, Richard Heck a écrit :
This seems to me to count as a bug. To fix it, though, we'd obviously
have to output the code from the style AFTER the Preamble, which would
change the
On 06/17/2016 05:16 AM, Jean-Marc Lasgouttes wrote:
> Le 14/06/2016 à 18:53, Richard Heck a écrit :
>> This seems to me to count as a bug. To fix it, though, we'd obviously
>> have to output the code from the style AFTER the Preamble, which would
>> change the TeX export of lots of files. An
On 06/17/2016 06:34 AM, Jean-Pierre Chrétien wrote:
> Le 14/06/2016 17:53, Richard Heck a écrit :
>>
>> Suppose you have a style like this:
>>
>> Style Test
>>LaTeXType command
>>LaTeXName whatever
>>InPreamble 1
>>Preamble
>> \newcommand\whatever[1]{#1}
>>EndPreamble
>>
Le 14/06/2016 17:53, Richard Heck a écrit :
Suppose you have a style like this:
Style Test
LaTeXType command
LaTeXName whatever
InPreamble 1
Preamble
\newcommand\whatever[1]{#1}
EndPreamble
End
Then LyX gives you:
% LyX specific LaTeX commands.
\whatever{this is a test}
Le 14/06/2016 à 18:53, Richard Heck a écrit :
This seems to me to count as a bug. To fix it, though, we'd obviously
have to output the code from the style AFTER the Preamble, which would
change the TeX export of lots of files. An alternative would be to
introduce a new tag that would basically
Suppose you have a style like this:
Style Test
LaTeXType command
LaTeXName whatever
InPreamble 1
Preamble
\newcommand\whatever[1]{#1}
EndPreamble
End
Then LyX gives you:
% LyX specific LaTeX commands.
\whatever{this is a test}
% Textclass specific LaTeX commands.