Re: Nomenclature prints 'Seite' instead of 'page'

2016-01-06 Thread Kornel Benko
Am Mittwoch, 6. Januar 2016 um 09:42:38, schrieb Michael Berger 

> Hi Robert, hi Wolfgang,
> ha, but I've never seen any  text in any of my documents underlined blue 
> (or in any other color)!?

Tools->Preferences...->Language Settings->Mark foreign languages

> Michael
> 
> On 01/06/2016 08:06 AM, Wolfgang Engelmann wrote:
> > What I do in the case I have blue underlined parts (from another 
> > language) is to go to
> > edit>text style>customized>language>reset
> > and the blue underlines disappear
> > Wolfgang
> >
> > Am 06.01.2016 um 02:19 schrieb Robert Susmilch:
> >> I think this is a similar issue that I’ve encountered.
> >>
> >> I’ve copied and pasted material between different LyX documents that had
> >> languages set to different languages (such as English, English (USA), 
> >> etc) and
> >> the words would be underlined in blue (IIRC). Much frustration and 
> >> search
> >> revealed that this was highlighting different languages within the 
> >> document
> >> compared to the global document language, which LyX then highlighted.
> >>
> >> I imagine that LyX, or another package, is picking up those German 
> >> words and
> >> setting a language switch somewhere. I’ve successfully fixed my 
> >> highlighting
> >> issues by switching the default language to whatever the offenders 
> >> language was
> >> (seen by placing the cursor on the words, and seen at the bottom 
> >> status bar),
> >> then back to my desired language. This sounds exactly like what fixed 
> >> your
> >> issue, when you swapped languages. This global setting seems to 
> >> overwrite all
> >> local language settings once applied.
> >>
> >

Kornel

signature.asc
Description: This is a digitally signed message part.


Re: Nomenclature prints 'Seite' instead of 'page'

2016-01-06 Thread Michael Berger

Thanks Kornel,
Michael

On 01/06/2016 09:50 AM, Kornel Benko wrote:

Am Mittwoch, 6. Januar 2016 um 09:42:38, schrieb Michael Berger 


Hi Robert, hi Wolfgang,
ha, but I've never seen any  text in any of my documents underlined blue
(or in any other color)!?

Tools->Preferences...->Language Settings->Mark foreign languages


Michael

On 01/06/2016 08:06 AM, Wolfgang Engelmann wrote:

What I do in the case I have blue underlined parts (from another
language) is to go to
edit>text style>customized>language>reset
and the blue underlines disappear
Wolfgang

Am 06.01.2016 um 02:19 schrieb Robert Susmilch:

I think this is a similar issue that I’ve encountered.

I’ve copied and pasted material between different LyX documents that had
languages set to different languages (such as English, English (USA),
etc) and
the words would be underlined in blue (IIRC). Much frustration and
search
revealed that this was highlighting different languages within the
document
compared to the global document language, which LyX then highlighted.

I imagine that LyX, or another package, is picking up those German
words and
setting a language switch somewhere. I’ve successfully fixed my
highlighting
issues by switching the default language to whatever the offenders
language was
(seen by placing the cursor on the words, and seen at the bottom
status bar),
then back to my desired language. This sounds exactly like what fixed
your
issue, when you swapped languages. This global setting seems to
overwrite all
local language settings once applied.


Kornel




Re: Nomenclature prints 'Seite' instead of 'page'

2016-01-06 Thread Michael Berger
Sorry, of course, the blue underlines are there!! I reckon it is still 
too early in the morning.

Michael

On 01/06/2016 09:42 AM, Michael Berger wrote:

Hi Robert, hi Wolfgang,
ha, but I've never seen any  text in any of my documents underlined 
blue (or in any other color)!?


Michael

On 01/06/2016 08:06 AM, Wolfgang Engelmann wrote:
What I do in the case I have blue underlined parts (from another 
language) is to go to

edit>text style>customized>language>reset
and the blue underlines disappear
Wolfgang

Am 06.01.2016 um 02:19 schrieb Robert Susmilch:

I think this is a similar issue that I’ve encountered.

I’ve copied and pasted material between different LyX documents that 
had
languages set to different languages (such as English, English 
(USA), etc) and
the words would be underlined in blue (IIRC). Much frustration and 
search
revealed that this was highlighting different languages within the 
document

compared to the global document language, which LyX then highlighted.

I imagine that LyX, or another package, is picking up those German 
words and
setting a language switch somewhere. I’ve successfully fixed my 
highlighting
issues by switching the default language to whatever the offenders 
language was
(seen by placing the cursor on the words, and seen at the bottom 
status bar),
then back to my desired language. This sounds exactly like what 
fixed your
issue, when you swapped languages. This global setting seems to 
overwrite all

local language settings once applied.










Re: Nomenclature prints 'Seite' instead of 'page'

2016-01-06 Thread Michael Berger

Hi Robert, hi Wolfgang,
ha, but I've never seen any  text in any of my documents underlined blue 
(or in any other color)!?


Michael

On 01/06/2016 08:06 AM, Wolfgang Engelmann wrote:
What I do in the case I have blue underlined parts (from another 
language) is to go to

edit>text style>customized>language>reset
and the blue underlines disappear
Wolfgang

Am 06.01.2016 um 02:19 schrieb Robert Susmilch:

I think this is a similar issue that I’ve encountered.

I’ve copied and pasted material between different LyX documents that had
languages set to different languages (such as English, English (USA), 
etc) and
the words would be underlined in blue (IIRC). Much frustration and 
search
revealed that this was highlighting different languages within the 
document

compared to the global document language, which LyX then highlighted.

I imagine that LyX, or another package, is picking up those German 
words and
setting a language switch somewhere. I’ve successfully fixed my 
highlighting
issues by switching the default language to whatever the offenders 
language was
(seen by placing the cursor on the words, and seen at the bottom 
status bar),
then back to my desired language. This sounds exactly like what fixed 
your
issue, when you swapped languages. This global setting seems to 
overwrite all

local language settings once applied.








Re: Adding authblk support to article layout

2016-01-06 Thread Richard Heck
On 01/05/2016 08:35 PM, Logan Kelly wrote:
> Hello,
>
> I have written a simple layout that adds support for the authblk package 
> to the basic article layout. Is there a way to submit it to the LyX 
> community?

There is a place on the wiki to add such layouts.

Richard



Re: Preamble not working

2016-01-06 Thread Richard Heck

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
> TopSep4
> LabelString   "Bibliography"
> LabelFont
>   Series  Bold
>   SizeHuge
> 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  > 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 > > 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={H Hee  H},
>> >
>> > 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
>>
>>
>
>



Re: Nomenclature prints 'Seite' instead of 'page'

2016-01-06 Thread Michael Berger

Hi Wolfgang, Robert, Kornel,
thanks for your contributions.
I just want to inform that in my case only one thing produces correct 
results and that is deactivating the global language settings. Here it 
does not matter whether or not the blue underlines are there or not.


Michael

On 01/06/2016 09:50 AM, Kornel Benko wrote:

Am Mittwoch, 6. Januar 2016 um 09:42:38, schrieb Michael Berger 


Hi Robert, hi Wolfgang,
ha, but I've never seen any  text in any of my documents underlined blue
(or in any other color)!?

Tools->Preferences...->Language Settings->Mark foreign languages


Michael

On 01/06/2016 08:06 AM, Wolfgang Engelmann wrote:

What I do in the case I have blue underlined parts (from another
language) is to go to
edit>text style>customized>language>reset
and the blue underlines disappear
Wolfgang

Am 06.01.2016 um 02:19 schrieb Robert Susmilch:

I think this is a similar issue that I’ve encountered.

I’ve copied and pasted material between different LyX documents that had
languages set to different languages (such as English, English (USA),
etc) and
the words would be underlined in blue (IIRC). Much frustration and
search
revealed that this was highlighting different languages within the
document
compared to the global document language, which LyX then highlighted.

I imagine that LyX, or another package, is picking up those German
words and
setting a language switch somewhere. I’ve successfully fixed my
highlighting
issues by switching the default language to whatever the offenders
language was
(seen by placing the cursor on the words, and seen at the bottom
status bar),
then back to my desired language. This sounds exactly like what fixed
your
issue, when you swapped languages. This global setting seems to
overwrite all
local language settings once applied.


Kornel




Re: Aliasing, xyling, ps2pdf

2016-01-06 Thread Maria Gouskova
On Wed, Jan 6, 2016 at 11:03 AM, Maria Gouskova  wrote:
> Hi all,
>
> I am having trouble with aliasing graphics in the PDF. I have a vector
> graphics file (in PDF format, generated in R), and I am using the
> ps2pdf preview method because I am using an xypic-based tree package.
> The problem is, ps2pdf renders the graphics with aliasing, which looks
> really awful. But previewing with pdflatex kills the branches in the
> tree, a known issue with xypic/pdflatex. I am attaching a minimal
> example and the two PDFs I am getting.
>
> This is Mac OS 10.8.5, LyX 2.1.4. I suspect I need to define a
> converter in Preferences/File handling, but am not having much luck
> finding the answer anywhere.
>
> Maria


P.S. I was able to find a workaround by modifying xyling.sty by hand,
so I can now use pdflatex with xyling. But I am still curious about
what's causing the aliasing in ps2pdf.


Re: Aliasing, xyling, ps2pdf

2016-01-06 Thread Georg Baum
Maria Gouskova wrote:

> This is Mac OS 10.8.5, LyX 2.1.4. I suspect I need to define a
> converter in Preferences/File handling, but am not having much luck
> finding the answer anywhere.

Correct. If pdftops is in the path, then LyX should automatically define a 
converter

pdftops -eps -f 1 -l 1 $$i $$o

for conversion from PDF (Graphics) to EPS. This one works fine for me with 
your test file. Which converter do you have configured for PDF (Graphics) to 
EPS conversion?


Georg




Re: Nomenclature prints 'Seite' instead of 'page'

2016-01-06 Thread Guenter Milde
On 2016-01-06, Georg Baum wrote:
> Michael Berger wrote:

>> Hi Wolfgang, Robert, Kornel,
>> thanks for your contributions.
>> I just want to inform that in my case only one thing produces correct
>> results and that is deactivating the global language settings. Here it
>> does not matter whether or not the blue underlines are there or not.

> What does "deactivating global language settings" mean? I am not aware of 
> any global language setting that can be activated or decativated. Please 
> tell us exactly which setting you change in Deocument->Settings->Language 
> (or in Tools->Preferences)

It is "Tools>Preferences>Language Settings>Language>Set languages
globally" which controls whether the language options are passed as
global options to the document or directly to babel.

Generally, it is good to have the options globally, so that other packages
can pick this up.

In this document, however, the indexing is confused somehow to use one of
the secondary languages (given before "english").

Maybe we need a document specific setting for this.
(But see also my other post exploring the issue.)

Günter




Re: Nomenclature prints 'Seite' instead of 'page'

2016-01-06 Thread Georg Baum
Michael Berger wrote:

> Hi Wolfgang, Robert, Kornel,
> thanks for your contributions.
> I just want to inform that in my case only one thing produces correct
> results and that is deactivating the global language settings. Here it
> does not matter whether or not the blue underlines are there or not.

What does "deactivating global language settings" mean? I am not aware of 
any global language setting that can be activated or decativated. Please 
tell us exactly which setting you change in Deocument->Settings->Language 
(or in Tools->Preferences)


Georg




Re: Preamble not working

2016-01-06 Thread Sajjad
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  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
> TopSep4
> LabelString   "Bibliography"
> LabelFont
>   Series  Bold
>   SizeHuge
> 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  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 < 
>> rgh...@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={H Hee  H},
>>> >
>>> > 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
>>>
>>>
>>
>>
>
>


TestForum.lyx
Description: application/lyx