Re: LyX installation problems on Windows 10.

2019-04-02 Thread Joel Kulesza
On Tue, Apr 2, 2019 at 10:57 PM 장지웅(수학과)  wrote:

> There's nothing that does not work correctly while following the video.
> At that time, I also downloaded MikTex 2.9 and set it up.
> After then, I deleted all of them, and set up TeXLive and LyX. Why I chose
> TeXLive is because I'm used to TeXLive, rather than MikTex.
>
> After typing "where pdflatex," the command prompt shows:
> C:\texlive\2017\bin\win32\pdflatex.exe
>
> where the installation program of LyX chose as a path to latex.exe.
>
> Best regards,
> Jiwoong Jang
>

When you `reconfigure` LyX (Tools -> Reconfigure) do you still have the
message after you restart LyX?

- Joel


Re: LyX installation problems on Windows 10.

2019-04-02 Thread 수학과
There's nothing that does not work correctly while following the video.
At that time, I also downloaded MikTex 2.9 and set it up.
After then, I deleted all of them, and set up TeXLive and LyX. Why I chose 
TeXLive is because I'm used to TeXLive, rather than MikTex.

After typing "where pdflatex," the command prompt shows:
C:\texlive\2017\bin\win32\pdflatex.exe

where the installation program of LyX chose as a path to latex.exe.

Best regards,
Jiwoong Jang

보낸 사람: Joel Kulesza 
보낸 날짜: 2019년 4월 3일 수요일 오후 1:45
받는 사람: 장지웅(수학과)
참조: mailing lyx
제목: Re: LyX installation problems on Windows 10.

On Tue, Apr 2, 2019 at 10:28 PM 장지웅(수학과) 
mailto:wldnd1...@postech.ac.kr>> wrote:
Dear Mr. Kulesza,

Yes, here is a link:
https://www.youtube.com/watch?v=kALm051M0iA=179s

I think the video suggests a really basic procedure.

Best regards,
jiwoong Jang

Jiwoong,

Please be sure to CC the mailing list so others are able to help also.

Yes, that video does show a very basic procedure.  It seems quite normal.  Is 
there anything that did not work correctly for you while following it?

If you have deleted both MikTeX and TeXLive and LyX, have you tried following 
the installation procedures again?

After you install MikTeX or TeXLive, open a Command Prompt (Start Menu -> 
cmd.exe) and type `where pdflatex`.  What does it show?

Thanks,
Joel


Re: LyX installation problems on Windows 10.

2019-04-02 Thread Joel Kulesza
On Tue, Apr 2, 2019 at 10:28 PM 장지웅(수학과)  wrote:

> Dear Mr. Kulesza,
>
> Yes, here is a link:
> https://www.youtube.com/watch?v=kALm051M0iA=179s
>
> I think the video suggests a really basic procedure.
>
> Best regards,
> jiwoong Jang
>

Jiwoong,

Please be sure to CC the mailing list so others are able to help also.

Yes, that video does show a very basic procedure.  It seems quite normal.
Is there anything that did not work correctly for you while following it?

If you have deleted both MikTeX and TeXLive and LyX, have you tried
following the installation procedures again?

After you install MikTeX or TeXLive, open a Command Prompt (Start Menu ->
cmd.exe) and type `where pdflatex`.  What does it show?

Thanks,
Joel


Re: LyX installation problems on Windows 10.

2019-04-02 Thread Joel Kulesza
On Tue, Apr 2, 2019 at 6:26 PM 장지웅(수학과)  wrote:

> Dear LyX users,
>
> Hi, my name is Jiwoong, and I am trying to install LyX, which is a
> typewriter program for LaTeX, but I'm having trouble doing it.
>
> Really I tried tons of way to do this, but the error message is the same:
>
> LyX: No textclass is found
>
> LyX will only have minimal functionality because no textclasses have been
> found. You can either try to reconfigure LyX normally, try to reconfigure
> without checking your LaTeX installation, or continue.
>
> (Press the button) Reconfigure (or) Without LaTeX (or) Continue
>
>
> I posted the same question on the tex.stackexchange, and the below is the
> link:
>
>
> https://tex.stackexchange.com/questions/482526/about-installing-lyx?noredirect=1#comment1220637_482526
>
> Inspite of thankful comments, I cannot figure why the same problem
> happens, and I now became to ask a question to LyX users.
>
>
> Best regards,
> Jiwoong Jang
>
>
Jiwoong,

Your note at StackExchange that you followed Youtube.  Which video on
Youtube did you watch?  It would be good to try reproducing what you did to
see where it might have gone wrong.

Thanks,
Joel

P.S. I wonder if publishing a series of short LyX "how to install" videos
(one for each major OS) may be something that would be helpful for new
users...


LyX installation problems on Windows 10.

2019-04-02 Thread 수학과
Dear LyX users,

Hi, my name is Jiwoong, and I am trying to install LyX, which is a typewriter 
program for LaTeX, but I'm having trouble doing it.

Really I tried tons of way to do this, but the error message is the same:

LyX: No textclass is found

LyX will only have minimal functionality because no textclasses have been 
found. You can either try to reconfigure LyX normally, try to reconfigure 
without checking your LaTeX installation, or continue.

(Press the button) Reconfigure (or) Without LaTeX (or) Continue

I posted the same question on the tex.stackexchange, and the below is the link:

https://tex.stackexchange.com/questions/482526/about-installing-lyx?noredirect=1#comment1220637_482526

Inspite of thankful comments, I cannot figure why the same problem happens, and 
I now became to ask a question to LyX users.


Best regards,
Jiwoong Jang



Re: Counters of custom list environment

2019-04-02 Thread Daniel

On 02/04/2019 20:20, Paul A. Rubin wrote:

On 4/2/19 6:45 AM, Daniel wrote:

Hi,

In the attached document the list structure in the work area is shown as

i. MyEnumerate
(a) Enumerate

but the output is actually

i. MyEnumerate
1. Enumerate

I seem unable to figure out how to tell LyX that my custom enumerate 
(as set in the Local Layout and Preamble) is different from the 
standard one and hence the counting should restart when changing 
environments.


I thought LyX would figure out what I want by seeing that the 
LatexName or LabelCounter differs from the standard enumerate 
environment but that does not do the trick.


Is there an additional setting I miss, or is it a shortcoming of LyX?

Best,
Daniel
Are you saying that you want the LaTeX output to match what you see in 
LyX ("(a)" in PDF), or that you want what you see in LyX to match the 
LaTeX output ("1." in LyX)?


The latter.

Daniel



Re: Counters of custom list environment

2019-04-02 Thread Paul A. Rubin

On 4/2/19 6:45 AM, Daniel wrote:

Hi,

In the attached document the list structure in the work area is shown as

i. MyEnumerate
(a) Enumerate

but the output is actually

i. MyEnumerate
1. Enumerate

I seem unable to figure out how to tell LyX that my custom enumerate 
(as set in the Local Layout and Preamble) is different from the 
standard one and hence the counting should restart when changing 
environments.


I thought LyX would figure out what I want by seeing that the 
LatexName or LabelCounter differs from the standard enumerate 
environment but that does not do the trick.


Is there an additional setting I miss, or is it a shortcoming of LyX?

Best,
Daniel
Are you saying that you want the LaTeX output to match what you see in 
LyX ("(a)" in PDF), or that you want what you see in LyX to match the 
LaTeX output ("1." in LyX)?


Paul



Counters of custom list environment

2019-04-02 Thread Daniel

Hi,

In the attached document the list structure in the work area is shown as

i. MyEnumerate
(a) Enumerate

but the output is actually

i. MyEnumerate
1. Enumerate

I seem unable to figure out how to tell LyX that my custom enumerate (as 
set in the Local Layout and Preamble) is different from the standard one 
and hence the counting should restart when changing environments.


I thought LyX would figure out what I want by seeing that the LatexName 
or LabelCounter differs from the standard enumerate environment but that 
does not do the trick.


Is there an additional setting I miss, or is it a shortcoming of LyX?

Best,
Daniel


myenumerate.lyx
Description: application/lyx


Re: Trouble exporting multi-part documents

2019-04-02 Thread Dr Eberhard Lisse
Paul,

my understanding is that this is the intended behavior.

Child Documents are just that, Child Documents.

If you want a Child Document to be freestanding it must be surrounded at
the very least by something like


\documentclass{scrartcl}
\begin{document}
%[Child Document goes here]
\end{document}


And of course you must put the contents of the Master Document's
preamble into the Child Document for which I find it helpful to use 
something like

\input{include.tex}

in every Child Document's preamble anyway.

greetings, el


On 01/04/2019 20:58, Paul Johnson wrote:[...]
> However, I have students who want to use the dissertation template as
> raw LaTexX files, rather than within LyX. Here I run into a bad
> problem.
> 
> In my 20190201 version, the people who want to edit the exported LaTeX
> file in raw LaTeX could not compile the document.  There's an error
> about commands in the chapter heading that are only allowed in the
> document preamble.  From that error message, I tracked back to changes
> I made and I understand what is going wrong.
> 
> If I start with the master document and do Export to LaTeX (pdflatex),
> the individual chapter .tex files are created.  They are not
> free-standing documents.  At the top, there was no preamble.  It
> starts in line 1 with the chapter name
[...]



Re: Are you going to offer new versions of LyXWinInsaller?

2019-04-02 Thread Baris Erkus
On 01-Apr-19 9:25 PM, Joel Kulesza wrote:

I'm interested in learning more about this and want to be sure I'm following 
from the state-of-the-art.

Thank you,
Joel

+1

I have tried to do this on my 64 bit Win10 once, with cmake, Qt5 and etc., but 
was not successful.

I would be really interested in how this is done on different environments. If 
this is documented somewhere, I can try it on my PC.

BE

--
↓↓
Please bottom-post. Start your reply here:


Re: Trouble exporting multi-part documents

2019-04-02 Thread Baris Erkus
On 01-Apr-19 9:58 PM, Paul Johnson wrote:
I have a dissertation template for students at my University. There is a main 
thesis document and then the separate chapters are in subdirectories. 
(http://crmda.ku.edu/node/555)

Currently, in version, 
"KU-thesis-20190201.zip",
 it appears to work for everybody to use LyX to edit either the main document 
or the individual chapters.

However, I have students who want to use the dissertation template as raw 
LaTexX files, rather than within LyX.  Here I run into a bad problem.

In my 20190201 version, the people who want to edit the exported LaTeX file in 
raw LaTeX could not compile the document.  There's an error about commands in 
the chapter heading that are only allowed in the document preamble.  From that 
error message, I tracked back to changes I made and I understand what is going 
wrong.

If I start with the master document and do Export to LaTeX (pdflatex), the 
individual chapter .tex files are created.  They are not free-standing 
documents. At the top, there was no preamble. It starts in line 1 with the 
chapter name

\chapter{Elementary Regression}

and also the includegraphics lines have full project paths:

\includegraphics[width=4in]{Chapter2/importfigs/carinced}

Those chapters could not be compiled individually.

I thought I'd get around this problem by using LyX to individually exporting 
each separate chapter as a tex document. I did not realize that caused an 
entirely different export than I got by starting with the master document in 
LyX and doing export LaTeX(pdflatex).

My individually exported chapter files allows the users to edit the individual 
.tex chapters, but when they try to compile the master document, they get 
errors caused by the fact that the individual chapters have their own preambles 
AND the graphics paths are incorrect.

Because I individually exported the .tex files within the Chapter directories, 
then the master document level Export to LaTeX does not replace the existing 
chapters.  Thus I am allowed to zip up the directory and have a master document 
that does not compile because the child documents have preambles in them.

Now that I understand the problem, I wonder if other people have noticed this 
and if they have suggestions for a fix?

I wondered if perhaps we might have the necessary preamble created as a 
separate file in each chapter with some if/then magic in each chapter preamble 
to specify whether or not the master file is in control.

Some fix about the figure paths is necessary as well, I don't have a guess 
about that.

pj

--
Paul E. Johnson   http://pj.freefaculty.org
Director, Center for Research Methods and Data Analysis http://crmda.ku.edu

To write to me directly, please address me at pauljohn at ku.edu.

Hello,

I have recently developed a LyX template of our university graduate thesis from 
the LaTeX template (https://github.com/ituast/itutezLyX). I have checked the 
zip file you gave the link, and I can tell that the structure of the LyX files 
is very similar to what I did. I have encountered similar problems. We can find 
(or develop) solutions or procedures for these problems.

Including a LyX file within a master LyX file is different than including a 
LaTeX file within a master LaTeX file. Because in LyX, you can specify which 
preamble is to be used through the document settings. For LaTeX, there is no 
such thing, as it is a lower-level process of management/compilation, where the 
user has to handle everything.

As you have mentioned, when you export a LyX file to a LaTeX file, LyX always 
puts a preamble, which is smtg that you you may not want if the resulting LaTeX 
file is to be included in a master LaTeX file. The exporter may have an option 
to ignore the preamble. If you want to implement it, you may need to go the 
executable of the exporter and search through the command-line help using a 
help flag (--help, --? or smtg like that). On the other hand, you may still 
want to have a working preamble to be able to compile the individual LaTeX file 
to see the result immediately, before inserting it back to the LyX file. The 
problem with that is thesis class file may have a complicated structure, where 
you should have all major parts together, otherwise, an individual child file 
will not compile. So, in this case, it may be a good idea to compile it as a 
complete thesis, but to include the interested chapter only, which will make 
the compilation faster.

So the problem to me is very specific and isolated. In my case, what I did, I 
developed a unique procedure and tested it for each of this type of student 
request. Then asked the students to follow that unique procedure. In your case, 
we need to define clearly what exactly the students want to do. According to 
you mail, what I understood is this: The students want to be able to work on 
the child LyX files, by modifying the LaTeX