[prev in list] [next in list] [prev in thread] [next in thread]
List: lyx-users
Subject: Re: Preamble not working
From: Sajjad <dosto.walla () gmail ! com>
Date: 2016-01-06 20:33:20
Message-ID: CALxLa5i1ipvbh321WLomRUA1iPxTC6-Z2NoHdtjh622EB9Jd=w () mail ! gmail ! com
[Download RAW message or body]
[Attachment #2 (multipart/alternative)]
Here it goes. A Sample .lyx file with the new document class as mentioned
in previous conversation.
Thanks
On Wed, Jan 6, 2016 at 4:19 PM, Richard Heck <rgheck@lyx.org> wrote:
>
> Thanks for this. Please now attach an example file, as simple as possible,
> that illustrates the problem.
>
> Richard
>
>
>
>
> On 01/05/2016 01:33 PM, Sajjad wrote:
>
> Hi,
>
> The rtthesis class that I am using providied by the university is largely
> based on book class and here goes the content of the corresponding .layout
> file:
>
>
> /////////////////////////////////////////////////////////////////////////////////////////////////
> #% Do not delete the line below; configure depends on this
> # \DeclareLaTeXClass[rtthesis]{rtthesis}
>
> Format 49
> # Input general definitions
> Input stdclass.inc
>
>
> Input numreport.inc
>
>
> Sides 2
> PageStyle Headings
>
>
>
> Style Bibliography
> TopSep 4
> LabelString "Bibliography"
> LabelFont
> Series Bold
> Size Huge
> EndFont
> End
>
>
>
>
> /////////////////////////////////////////////////////////////////////////////////////////////////
>
>
> I can access the layout from the LyX interface and I can generate the pdf
> as well once I set some the class options through
> Documents->Settings->Document Class->Class Options->Custom:
>
>
> "utf8,largesmallcaps,intlimits,widermath,sharecounter,nobreak,definition=marks,noparts,S5"
>
>
> I tried to set the LaTex preamble to generate the front cover and this
> where I am not able to generate it. It generates no error, it just generate
> the same pdf output that I used to get without preamble:
>
> ///////////////////////////////////////////////////
>
> \setupThesis{
>
> author={Sajjadul},
>
> title={Fractal Scanning Path },
>
> city=Dhaka,
>
> year=2016,
>
> type=msc,
>
> department=itn
>
> }
>
>
>
>
>
> //////////////////////////////////////////////////
>
>
> Please let me know if you need any more information to address this issue.
>
>
> Thanks
>
> On Mon, Jan 4, 2016 at 11:56 PM, Richard Heck <rgheck@lyx.org> wrote:
>
>> On 01/04/2016 04:07 PM, Sajjad wrote:
>>
>> Hi Richard,
>>
>> I inserted the command(\setupThesis) just as you mentioned in your
>> question.
>>
>>
>> It'd definitely be best to post an example then, with the layout file you
>> made.
>>
>> Richard
>>
>>
>>
>>
>> Thanks
>>
>> On Mon, Jan 4, 2016 at 3:45 PM, Richard Heck < <rgheck@lyx.org>
>> rgheck@lyx.org> wrote:
>>
>>> On 01/04/2016 12:59 AM, Sajjad wrote:
>>> > Hello Forum,
>>> >
>>> > I have managed to insert a custom .cls file into the LyX. It does
>>> > reflect some of the characteristics new customized class that came
>>> > along as a template from the University I am writing my thesis with.
>>> >
>>> > http://www.control.isy.liu.se/student/exjobb/liuthesis/liuthesis.html
>>> >
>>> >
>>> > I am trying to insert the title and some other parameter as LaTeX
>>> > preamble from the LyX interface as follows:
>>> >
>>> > \setupThesis{
>>> >
>>> > author={Tom & Jerry},
>>> >
>>> > title={Heeee Heeeeee Heeee},
>>> >
>>> > type=msc,
>>> >
>>> > department=itn
>>> >
>>> > }
>>> >
>>> >
>>> >
>>> > If I compile, the author, title, and other parameters are not shown,
>>> > but rest of the chapters are shown with the format of the customized
>>> > class which is imported into LyX by .layout file. Any hint to make it
>>> > work ?
>>> >
>>>
>>> It's hard to answer this sort of question without an example file, so
>>> you could posting one.
>>>
>>> As for \setupThesis, did you insert this under Document> Settings> LaTeX
>>> Preamble?
>>>
>>> Richard
>>>
>>>
>>
>>
>
>
[Attachment #5 (text/html)]
<div dir="ltr"><div>Here it goes. A Sample .lyx file with the new document class as \
mentioned in previous conversation.<br><br><br><br></div>Thanks<br></div><div \
class="gmail_extra"><br><div class="gmail_quote">On Wed, Jan 6, 2016 at 4:19 PM, \
Richard Heck <span dir="ltr"><<a href="mailto:rgheck@lyx.org" \
target="_blank">rgheck@lyx.org</a>></span> wrote:<br><blockquote \
class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF">
<div><br>
Thanks for this. Please now attach an example file, as simple as
possible, that illustrates the problem.<span class="HOEnZb"><font \
color="#888888"><br> <br>
Richard</font></span><div><div class="h5"><br>
<br>
<br>
<br>
On 01/05/2016 01:33 PM, Sajjad wrote:<br>
</div></div></div><div><div class="h5">
<blockquote type="cite">
<div dir="ltr">
<div>
<div>
<div>
<div>
<div>Hi, <br>
<br>
</div>
The rtthesis class that I am using providied by the
university is largely based on book class and here goes
the content of the corresponding .layout file:<br>
<br>
/////////////////////////////////////////////////////////////////////////////////////////////////<br>
#% Do not delete the line below; configure depends on
this<br>
# \DeclareLaTeXClass[rtthesis]{rtthesis}<br>
<br>
Format 49<br>
# Input general definitions<br>
Input stdclass.inc<br>
<br>
<br>
Input numreport.inc<br>
<br>
<br>
Sides 2<br>
PageStyle Headings<br>
<br>
<br>
<br>
Style Bibliography<br>
TopSep 4<br>
LabelString "Bibliography"<br>
LabelFont<br>
Series Bold<br>
Size Huge<br>
EndFont<br>
End<br>
<br>
<br>
<br>
/////////////////////////////////////////////////////////////////////////////////////////////////<br>
<br>
<br>
</div>
I can access the layout from the LyX interface and I can
generate the pdf as well once I set some the class options
through Documents->Settings->Document
Class->Class Options->Custom:<br>
<br>
"utf8,largesmallcaps,intlimits,widermath,sharecounter,nobreak,definition=marks,noparts,S5"<br>
<br>
<br>
</div>
I tried to set the LaTex preamble to generate the front
cover and this where I am not able to generate it. It
generates no error, it just generate the same pdf output
that I used to get without preamble:<br>
<br>
///////////////////////////////////////////////////<br>
<p style="margin:0px;text-indent:0px">\setupThesis{</p>
<p style="margin:0px;text-indent:0px"> author={Sajjadul},</p>
<p style="margin:0px;text-indent:0px"> title={Fractal
Scanning Path },</p>
<p style="margin:0px;text-indent:0px"> city=Dhaka,</p>
<p style="margin:0px;text-indent:0px"> year=2016,</p>
<p style="margin:0px;text-indent:0px"> type=msc,</p>
<p style="margin:0px;text-indent:0px"> department=itn</p>
<p style="margin:0px;text-indent:0px"> }</p>
<p style="margin:0px;text-indent:0px"><br>
</p>
<br>
<br>
<br>
//////////////////////////////////////////////////<br>
<br>
<br>
</div>
Please let me know if you need any more information to address
this issue.<br>
<br>
<br>
</div>
Thanks<br>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Mon, Jan 4, 2016 at 11:56 PM,
Richard Heck <span dir="ltr"><<a href="mailto:rgheck@lyx.org" \
target="_blank">rgheck@lyx.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px \
#ccc solid;padding-left:1ex"> <div text="#000000" bgcolor="#FFFFFF"><span>
<div>On 01/04/2016 04:07 PM, Sajjad wrote:<br>
</div>
<blockquote type="cite">
<div dir="ltr">
<div>
<div>Hi Richard,<br>
<br>
</div>
I inserted the command(\setupThesis) just as you
mentioned in your question.<br>
</div>
</div>
</blockquote>
<br>
</span> It'd definitely be best to post an example then,
with the layout file you made.<span><font color="#888888"><br>
<br>
Richard</font></span><span><br>
<br>
<br>
<blockquote type="cite">
<div dir="ltr">
<div><br>
<br>
</div>
Thanks<br>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Mon, Jan 4, 2016 at 3:45
PM, Richard Heck <span dir="ltr"><<a \
href="mailto:rgheck@lyx.org" target="_blank"></a><a href="mailto:rgheck@lyx.org" \
target="_blank">rgheck@lyx.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 \
.8ex;border-left:1px #ccc solid;padding-left:1ex"><span>On 01/04/2016 12:59 AM, \
Sajjad wrote:<br> > Hello Forum,<br>
><br>
> I have managed to insert a custom .cls
file into the LyX. It does<br>
> reflect some of the characteristics new
customized class that came<br>
> along as a template from the University I
am writing my thesis with.<br>
><br>
> <a \
href="http://www.control.isy.liu.se/student/exjobb/liuthesis/liuthesis.html" \
rel="noreferrer" target="_blank">http://www.control.isy.liu.se/student/exjobb/liuthesis/liuthesis.html</a><br>
><br>
><br>
> I am trying to insert the title and some
other parameter as LaTeX<br>
> preamble from the LyX interface as
follows:<br>
><br>
> \setupThesis{<br>
><br>
> author={Tom & Jerry},<br>
><br>
> title={Heeee Heeeeee Heeee},<br>
><br>
> type=msc,<br>
><br>
> department=itn<br>
><br>
> }<br>
><br>
><br>
><br>
> If I compile, the author, title, and
other parameters are not shown,<br>
> but rest of the chapters are shown with
the format of the customized<br>
> class which is imported into LyX by
.layout file. Any hint to make it<br>
> work ?<br>
><br>
<br>
</span>It's hard to answer this sort of question
without an example file, so<br>
you could posting one.<br>
<br>
As for \setupThesis, did you insert this under
Document> Settings> LaTeX<br>
Preamble?<br>
<span><font color="#888888"><br>
Richard<br>
<br>
</font></span></blockquote>
</div>
<br>
</div>
</blockquote>
<br>
</span></div>
</blockquote>
</div>
<br>
</div>
</blockquote>
<br>
</div></div></div>
</blockquote></div><br></div>
--089e01419b78ce18660528b0434c--
["TestForum.lyx" (application/x-lyx)]
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic