Re: trouble submitting IEEE conference article

2016-02-03 Thread Neal Becker
Neal Becker wrote:

> Georg Baum wrote:
> 
>> Neal Becker wrote:
>> 
>>> Thanks!  It does appear to work to export to DVI (LuaTeX) _after_ I
>>> uncheck Document/settings/fonts use non-tex fonts.
>> 
>> You mean after you uncheck or after you check the button? It is supposed
>> to work like this:
>> 
>> use non-tex fonts checked => DVI (LuaTeX) works, DVI does not work
>> use non-tex fonts unchecked => DVI works, DVI (LuaTeX) might work
> 
> No, if I check 'use no-tex fonts' -> DVI (LuaTeX) gives me:
>  dvipdf ascma-paper-crap.dvi
> kpathsea:make_tex: Invalid fontname `"file:lmroman17-regular:script=latn;
> +trep;+tlig;"', contains '"'
> dvips: Font "file:lmroman17-regular:script=latn;+trep;+tlig;" not found;
> using cmr10
> dvips: Design size mismatch in font "file:lmroman17-regular:script=latn;
> +trep;+tlig;"
> dvips: ! invalid char 8211 from font "file:lmroman17-regular:script=latn;
> +trep;+tlig;"
> 
> which apparantly is dvipdf way to say, can't find the fonts
> 
> I have chosen all default fonts in lyx.
> 
> But if I don't check 'use no-tex fonts', DVI (LuaTeX) works.  Except, see
> below
> 
>> 
>> I believe that the error handling in this area has been improved in the
>> upcoming LyX 2.2.
>> 
>>> Yes, good EPS were created.  Unfortunately, the names of the EPS files
>>> were mangled, and I think those names don't match those in the DVI file,
>>> so I needed to manually create a bunch of symlinks from the names used
>>> in the dvi file to the mangled names, e.g.,
>>> 
>>> 0_home_nbecker_scma-unframed_frame_format-cropped.eps -> frame_format-
>>> cropped.eps
>>> 
>>> The whole process would've been automated nicely if not for this.
>> 
>> The files are referenced using the mangled names in the DVI (at least on
>> my machine). If the DVI does not reference the mangled files then this
>> would be a bug => please report at
>> http://www.lyx.org/trac/wiki/BugTrackerHome in that case.
>> 
>> If you want a DVI which refernces images without mangled names you need
>> to produce it manually: Export to "LaTeX (plain)", which will produce a
>> .tex file + all .eps files (unmangled). Then run latex, bibtex and other
>> aux programs as needed to produce the DVI.
>> 
>> 
>> Georg
> 
> Seems pretty messed up.  If I don't check 'use non-tex fonts', and export
> via DVI (LuaTeX), I get a dvi, but no eps graphics.
> 
> Finally, I tried export LaTeX (dviluatex), and THEN I got eps graphics,
> but without mangled names.

OK, using DVI export does work, and produce the correctly mangled eps file 
names.  I didn't try this at first, because my .bib file containted unicode 
characters, and export to dvi didn't work, until I changed 
document/settings/language input encoding to unicode(utf-8).  Then running 
dvipdfm worked fine.




Breaking the same LaTeX command in several contiguous lines

2016-02-03 Thread Paul Smith
Dear All,

Is it possible to break into different continuous lines a same LaTeX
command in ERT? Please, see the attached example, with which I get
errors.

Thanks in advance,

Paul


break_command.lyx
Description: application/lyx


Re: Breaking the same LaTeX command in several contiguous lines

2016-02-03 Thread Kornel Benko
Am Mittwoch, 3. Februar 2016 um 12:29:00, schrieb Paul Smith 
> Dear All,
> 
> Is it possible to break into different continuous lines a same LaTeX
> command in ERT? Please, see the attached example, with which I get
> errors.

Why don't you use _one_ ERT for it? Works here that way.

> Thanks in advance,
> 
> Paul

Kornel

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


Re: Breaking the same LaTeX command in several contiguous lines

2016-02-03 Thread Paul Smith
On Wed, Feb 3, 2016 at 3:29 PM, Paul Smith  wrote:
>>>
>>> Is it possible to break into different continuous lines a same LaTeX
>>> command in ERT? Please, see the attached example, with which I get
>>> errors.
>>
>> Why don't you use _one_ ERT for it? Works here that way.
>
> Thanks, Kornel, for your reply. The point is how to have two ERT boxes
> in different and consecutive lines and the corresponding LaTeX file
> with no blank line inserted between the code of the two ERT boxes. (My
> code is much more complicate than the simple example provided here by
> me.)

If the two ERT boxes break a LaTeX command in the middle (one ERT box
with the first part of the command and the second ERT box with the
second part), then you get an error. The point is: How to avoid such
an error, Kornel?

Paul


Re: Breaking the same LaTeX command in several contiguous lines

2016-02-03 Thread Paul Smith
On Wed, Feb 3, 2016 at 2:38 PM, Kornel Benko  wrote:
>>
>> Is it possible to break into different continuous lines a same LaTeX
>> command in ERT? Please, see the attached example, with which I get
>> errors.
>
> Why don't you use _one_ ERT for it? Works here that way.

Thanks, Kornel, for your reply. The point is how to have two ERT boxes
in different and consecutive lines and the corresponding LaTeX file
with no blank line inserted between the code of the two ERT boxes. (My
code is much more complicate than the simple example provided here by
me.)

Paul


Re: Breaking the same LaTeX command in several contiguous lines

2016-02-03 Thread Richard Heck

On 02/03/2016 01:09 PM, Paul Smith wrote:

On Wed, Feb 3, 2016 at 5:41 PM, Scott Kostyshak  wrote:

Sure it is. Use the ERT's in the same paragraph.

Thanks, Kornel, but, unfortunately, your example does not work,
because it fails to convert to the current stable LyX version.

Put your cursor just after the first ERT, and press ctrl + return (at
least this is the shortcut on Linux).

Thanks, Scott, but that does not work. (Please, see and compile the
attached example; it outputs a two-lines integral...)

Ah I see what you mean. In Kornel's attachment the second ERT only
contained the dollarsign and not the x, so it worked.

For your example, add a % at the end of the first ERT (so inside the ERT
at the very end).

Thanks, Scott. That works!


Also: Add in Local Layout, under Document> Settings:

Format 41

InsetLayout ERT

MultiPar true

End

Then you can hit "return" inside ERT to get multiple lines.

Richard




Paul




Re: Breaking the same LaTeX command in several contiguous lines

2016-02-03 Thread Paul Smith
On Wed, Feb 3, 2016 at 3:48 PM, Kornel Benko  wrote:
>> >>>
>> >>> Is it possible to break into different continuous lines a same LaTeX
>> >>> command in ERT? Please, see the attached example, with which I get
>> >>> errors.
>> >>
>> >> Why don't you use _one_ ERT for it? Works here that way.
>> >
>> > Thanks, Kornel, for your reply. The point is how to have two ERT boxes
>> > in different and consecutive lines and the corresponding LaTeX file
>> > with no blank line inserted between the code of the two ERT boxes. (My
>> > code is much more complicate than the simple example provided here by
>> > me.)
>>
>> If the two ERT boxes break a LaTeX command in the middle (one ERT box
>> with the first part of the command and the second ERT box with the
>> second part), then you get an error. The point is: How to avoid such
>> an error, Kornel?
>
> The problem here is that the first '$' is in one paragraph, the other '$ is 
> in the next paragraph.
> The effect in created tex is:
> ...
> $\int x
>
> $
> ...

Correct, Kornel. But is it possible to have both in the same
paragraph, without having to use a single ERT box (instead of two
separate ERT boxes)? The reason why I am asking this question is to
have the possibility of arranging my several ERT boxes more clearly in
the LyX document, without having all of them in the same line.

Paul


Re: Breaking the same LaTeX command in several contiguous lines

2016-02-03 Thread Scott Kostyshak
On Wed, Feb 03, 2016 at 04:23:48PM +, Paul Smith wrote:
> On Wed, Feb 3, 2016 at 4:18 PM, Kornel Benko  wrote:

> > Sure it is. Use the ERT's in the same paragraph.
> 
> Thanks, Kornel, but, unfortunately, your example does not work,
> because it fails to convert to the current stable LyX version.

Put your cursor just after the first ERT, and press ctrl + return (at
least this is the shortcut on Linux).

Scott


signature.asc
Description: PGP signature


Re: Breaking the same LaTeX command in several contiguous lines

2016-02-03 Thread Paul Smith
On Wed, Feb 3, 2016 at 4:18 PM, Kornel Benko  wrote:
>> >> >>>
>> >> >>> Is it possible to break into different continuous lines a same LaTeX
>> >> >>> command in ERT? Please, see the attached example, with which I get
>> >> >>> errors.
>> >> >>
>> >> >> Why don't you use _one_ ERT for it? Works here that way.
>> >> >
>> >> > Thanks, Kornel, for your reply. The point is how to have two ERT boxes
>> >> > in different and consecutive lines and the corresponding LaTeX file
>> >> > with no blank line inserted between the code of the two ERT boxes. (My
>> >> > code is much more complicate than the simple example provided here by
>> >> > me.)
>> >>
>> >> If the two ERT boxes break a LaTeX command in the middle (one ERT box
>> >> with the first part of the command and the second ERT box with the
>> >> second part), then you get an error. The point is: How to avoid such
>> >> an error, Kornel?
>> >
>> > The problem here is that the first '$' is in one paragraph, the other '$ 
>> > is in the next paragraph.
>> > The effect in created tex is:
>> > ...
>> > $\int x
>> >
>> > $
>> > ...
>>
>> Correct, Kornel. But is it possible to have both in the same
>> paragraph, without having to use a single ERT box (instead of two
>> separate ERT boxes)? The reason why I am asking this question is to
>> have the possibility of arranging my several ERT boxes more clearly in
>> the LyX document, without having all of them in the same line.
>
> Sure it is. Use the ERT's in the same paragraph.

Thanks, Kornel, but, unfortunately, your example does not work,
because it fails to convert to the current stable LyX version.

Paul


Re: tabu package

2016-02-03 Thread Herbert Voss

Am 02.02.2016 um 19:53 schrieb Simon, Klaus:

I wonder if LyX perhaps does not support the tabu package?


the tabu package is obsolete and no more maintained
by the author.

Herbert



Re: About my error in Lyx

2016-02-03 Thread 하헌진
Hi.



Long time no answer. Sorry.


My computer system is 64 bit Window 7 OS



My problem is described in here:

http://www.lyx.org/trac/ticket/9486



In here, the writer’s problem is solved, but not in mine.

What should I have to do?




Reconfigure failed.

Massage: The system reconfiguration has failed. Default textclass is used but 
LyX may not be able to work properly. Please reconfigure again if needed.



In my opinion, the LyX doesn’t catch the Mitex with configuration error. And, I 
was trying to figure it out with compiling python, but I failed.



Still need some help.



Thanks.







> Hi lyx manager.

>

>

> Im a starter of Lyx and I have a problem.

>

>

> when I use an article,

>

> I got a following message:

>

>

> he selected document class (Article) requires external files that are not

> available. The document class can still be used, but the document cannot be

> compiled until the following prerequisites are installed: article.cls

>

>

> And I cannot reconfigure.

>



That is the problem. In this stage lyx is collecting some info from your system.

Therefore we have to find a solution for this first.



Can you send us the messages you get if configuring?



> Can you help me out?

>

> My texworks(Miktex) works properly.

>

>

> Your help would give me a big pleasure.

>

>

> Thank you.

>

> HeonJin



Kornel



고르넬 벤고



Re: Breaking the same LaTeX command in several contiguous lines

2016-02-03 Thread Paul Smith
On Wed, Feb 3, 2016 at 5:41 PM, Scott Kostyshak  wrote:
>> >
>> >> > Sure it is. Use the ERT's in the same paragraph.
>> >>
>> >> Thanks, Kornel, but, unfortunately, your example does not work,
>> >> because it fails to convert to the current stable LyX version.
>> >
>> > Put your cursor just after the first ERT, and press ctrl + return (at
>> > least this is the shortcut on Linux).
>>
>> Thanks, Scott, but that does not work. (Please, see and compile the
>> attached example; it outputs a two-lines integral...)
>
> Ah I see what you mean. In Kornel's attachment the second ERT only
> contained the dollarsign and not the x, so it worked.
>
> For your example, add a % at the end of the first ERT (so inside the ERT
> at the very end).

Thanks, Scott. That works!

Paul


Re: Breaking the same LaTeX command in several contiguous lines

2016-02-03 Thread Kornel Benko
Am Mittwoch, 3. Februar 2016 um 15:35:20, schrieb Paul Smith 
> On Wed, Feb 3, 2016 at 3:29 PM, Paul Smith  wrote:
> >>>
> >>> Is it possible to break into different continuous lines a same LaTeX
> >>> command in ERT? Please, see the attached example, with which I get
> >>> errors.
> >>
> >> Why don't you use _one_ ERT for it? Works here that way.
> >
> > Thanks, Kornel, for your reply. The point is how to have two ERT boxes
> > in different and consecutive lines and the corresponding LaTeX file
> > with no blank line inserted between the code of the two ERT boxes. (My
> > code is much more complicate than the simple example provided here by
> > me.)
> 
> If the two ERT boxes break a LaTeX command in the middle (one ERT box
> with the first part of the command and the second ERT box with the
> second part), then you get an error. The point is: How to avoid such
> an error, Kornel?

The problem here is that the first '$' is in one paragraph, the other '$ is in 
the next paragraph.
The effect in created tex is: 
...
$\int x

$
...

> Paul

Kornel

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


Re: Breaking the same LaTeX command in several contiguous lines

2016-02-03 Thread Kornel Benko
Am Mittwoch, 3. Februar 2016 um 16:06:44, schrieb Paul Smith 
> On Wed, Feb 3, 2016 at 3:48 PM, Kornel Benko  wrote:
> >> >>>
> >> >>> Is it possible to break into different continuous lines a same LaTeX
> >> >>> command in ERT? Please, see the attached example, with which I get
> >> >>> errors.
> >> >>
> >> >> Why don't you use _one_ ERT for it? Works here that way.
> >> >
> >> > Thanks, Kornel, for your reply. The point is how to have two ERT boxes
> >> > in different and consecutive lines and the corresponding LaTeX file
> >> > with no blank line inserted between the code of the two ERT boxes. (My
> >> > code is much more complicate than the simple example provided here by
> >> > me.)
> >>
> >> If the two ERT boxes break a LaTeX command in the middle (one ERT box
> >> with the first part of the command and the second ERT box with the
> >> second part), then you get an error. The point is: How to avoid such
> >> an error, Kornel?
> >
> > The problem here is that the first '$' is in one paragraph, the other '$ is 
> > in the next paragraph.
> > The effect in created tex is:
> > ...
> > $\int x
> >
> > $
> > ...
>
> Correct, Kornel. But is it possible to have both in the same
> paragraph, without having to use a single ERT box (instead of two
> separate ERT boxes)? The reason why I am asking this question is to
> have the possibility of arranging my several ERT boxes more clearly in
> the LyX document, without having all of them in the same line.

Sure it is. Use the ERT's in the same paragraph.

> Paul

Kornel

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


break_command.lyx
Description: application/lyx


Re: Using Elsevier Article Class

2016-02-03 Thread C . Fuhrman
Rich Shepard  appl-ecosys.com> writes:

>The problem seems related to the bibtex style file: apacite.sty. From 
the
> displayed error log:
> 
>   (/usr/share/texmf-dist/tex/latex/fragments/subscript.sty)
> (/usr/share/texmf-d
> ist/tex/latex/apacite/apacite.sty
> Package: apacite 2013/07/21 v6.03 APA citation
> ! Undefined control sequence.
> l.1216   \st  rtbibchapter

I'm not using the Elsevier Article Class, but rather an older LyX template 
from https://github.com/wwkong/Typesetting-Templates 

I solved this problem by removing (commenting out) the following lines in 
the Document -> LaTeX Preamble, that was created by the template:

% For Bibliography

%\usepackage{apacite} % Order here is important!
%\usepackage{natbib}

LyX allows you to specify natbib in Document Settings -> Bibliography, and 
the apacite package is problematic for reasons I don't understand (except 
that it's known as accidental complexity). Hope this is helpful.



Re: Breaking the same LaTeX command in several contiguous lines

2016-02-03 Thread Scott Kostyshak
On Wed, Feb 03, 2016 at 05:25:55PM +, Paul Smith wrote:
> On Wed, Feb 3, 2016 at 4:44 PM, Scott Kostyshak  wrote:
> >
> >> > Sure it is. Use the ERT's in the same paragraph.
> >>
> >> Thanks, Kornel, but, unfortunately, your example does not work,
> >> because it fails to convert to the current stable LyX version.
> >
> > Put your cursor just after the first ERT, and press ctrl + return (at
> > least this is the shortcut on Linux).
> 
> Thanks, Scott, but that does not work. (Please, see and compile the
> attached example; it outputs a two-lines integral...)

Ah I see what you mean. In Kornel's attachment the second ERT only
contained the dollarsign and not the x, so it worked.

For your example, add a % at the end of the first ERT (so inside the ERT
at the very end).

Scott


signature.asc
Description: PGP signature


Re: Breaking the same LaTeX command in several contiguous lines

2016-02-03 Thread Paul Smith
On Wed, Feb 3, 2016 at 4:44 PM, Scott Kostyshak  wrote:
>
>> > Sure it is. Use the ERT's in the same paragraph.
>>
>> Thanks, Kornel, but, unfortunately, your example does not work,
>> because it fails to convert to the current stable LyX version.
>
> Put your cursor just after the first ERT, and press ctrl + return (at
> least this is the shortcut on Linux).

Thanks, Scott, but that does not work. (Please, see and compile the
attached example; it outputs a two-lines integral...)

Paul


broken_ert_boxes_example2.lyx
Description: application/lyx