lyx crash on latex export

2019-10-22 Thread Neal Becker
I get a repeatable crash on latex export.  Quite unfortunate since
that's the only way to debug latex errors.

Error: Software exception Detected

LyX has caught an exception, it will now attempt to save all unsaved
documents and exit.

Exception: std::exception
Buffer.cpp (1601):   /home/nbecker/itri_sls/vtc2020.lyx.emergency
KCrash: Application 'lyx' crashing...
KCrash: Attempting to start /usr/libexec/drkonqi from kdeinit
sock_file=/run/user/1000/kdeinit5__0
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


export to latex not working

2019-10-22 Thread Neal Becker
My document compiles fine within LyX, but export to LaTeX is not
working (lyx-2.3.3).

Specifically,
export / latex (lualatex)

[3<./system_simulation_block_diagram-2-crop.pdf>](load luc: /home/nbecker/.texl
ive2018/texmf-var/luatex-cache/generic/fonts/otl/lmroman6-bold.luc)
! Missing $ inserted.

$
l.440 }

?
! Package luatex.def Error: File `"20191022_Fig3(a) and Fig3(b)/jpg/Fig_1(a)_Gr
ant-based transmission for SCMA".jpg' not found: using draft setting.

See the luatex.def package documentation for explanation.
Type  H   for immediate help.
 ...

l.440 }

?

The 1st error, missing $ inserted, suggests to me that some file name
was not quoted correctly?  Yet, when processed within LyX there is no
error message.

Any ideas?
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


export to dvi (luatex) not working

2019-10-22 Thread Neal Becker
I'm running LyX-2.3.3

I'm producing an IEEE conference paper (due 10/31).  I can view pdf
from LyX fine.  But if I try to produce dvi, using
export dvi(luatex), the result causes errors when run through dvipdfmx.

 dvipdfmx vtc2020.dvi
vtc2020.dvi -> vtc2020.pdf
[1
dvipdfmx:warning: Unparsed material at end of special ignored.

Current input buffer is -->! systemdict /pdfmark known{userdict
/?pdfmark sys...<--

dvipdfmx:warning: Unknown token "SDict"
dvipdfmx:warning: Interpreting PS code failed!!! Output might be broken!!!
dvipdfmx:warning: Interpreting special command ps: (ps:) failed.
dvipdfmx:warning: >> at page="1" position="(72, 720)" (in PDF)
dvipdfmx:warning: >> xxx "ps:SDict begin [/Producer (dvips +
Distiller)/Title ()/Subje..."
dvipdfmx:warning: >> Reading special command stopped around >>begin
[/Producer (dvips + Distiller)/Title ()/Subject ()/Cre...<<
dvipdfmx:warning: Unparsed material at end of special ignored.

Current input buffer is -->! /DvipsToPDF{72.27 mul Resolution div}
def/PDFToD...<--

dvipdfmx:warning: Unknown token "SDict"
dvipdfmx:warning: Interpreting PS code failed!!! Output might be broken!!!
dvipdfmx:warning: Interpreting special command ps: (ps:) failed.
dvipdfmx:warning: >> at page="1" position="(72, 720)" (in PDF)
dvipdfmx:warning: >> xxx "ps:SDict begin /product where{pop
product(Distiller)search{p..."
dvipdfmx:warning: >> Reading special command stopped around >>begin
/product where{pop product(Distiller)search{pop pop po...<<
dvipdfmx:warning: Unknown token "SDict"
dvipdfmx:warning: Interpreting PS code failed!!! Output might be broken!!!
dvipdfmx:warning: Interpreting special command ps: (ps:) failed.
dvipdfmx:warning: >> at page="1" position="(47.9639, 776.47)" (in PDF)
dvipdfmx:warning: >> xxx "ps:SDict begin H.S end"
dvipdfmx:warning: >> Reading special command stopped around >>begin H.S end<<
dvipdfmx:warning: Unknown token "SDict"
dvipdfmx:warning: Interpreting PS code failed!!! Output might be broken!!!
dvipdfmx:warning: Interpreting special command ps: (ps:) failed.
dvipdfmx:warning: >> at page="1" position="(47.9639, 776.47)" (in PDF)
dvipdfmx:warning: >> xxx "ps:SDict begin H.R end"
dvipdfmx:warning: >> Reading special command stopped around >>begin H.R end<<
dvipdfmx:warning: Unknown token "SDict"
dvipdfmx:warning: Interpreting PS code failed!!! Output might be broken!!!
dvipdfmx:warning: Interpreting special command ps: (ps:) failed.
dvipdfmx:warning: >> at page="1" position="(47.9639, 776.47)" (in PDF)
dvipdfmx:warning: >> xxx "ps:SDict begin [/View [/XYZ H.V]/Dest
(page.1) cvn /DEST pdf..."
dvipdfmx:warning: >> Reading special command stopped around >>begin
[/View [/XYZ H.V]/Dest (page.1) cvn /DEST pdfmark end<<
dvipdfmx:fatal: Unable to find TFM file "[lmroman17-regular]:+tlig;".

Output file removed.

I believe this is the method I've used before to submit to IEEE
(export to dvi, which produces dvi + eps figures), and that the result
I can verify by running dvipdfmx.

Any ideas?
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Numbered list - multi-level

2019-10-22 Thread Ricardo Berlasso
El mar., 22 oct. 2019 a las 10:24, Eugénio Costa ()
escribió:

> Hi Ricardo,
>
> Thank you very much for your support!
> I managed to do it, putting a TeX box in the beginning  of the document
> with the code.
> Only problem is that the result only comes in the output, which is great
> and does the job.
>
> But it is not so easy to work on the document without the numbers, as
> there is a need to reference other numbers.
> There is a need to double check which letter or character corresponds to a
> nested number in the output.
> In my opinion this is a simple feature that is essential and could be
> easier to choose within the graphical interface.
>

I think it's possible to change how LyX display things while editing the
document, but I have no experience changing that, maybe other users in the
list can help in that point.

Regards,
Ricardo


>
> I am a general user, not academic or coder and I think that Lyx is a
> powerful tool for productive work.
> But it also requires time to learn and takes in productivity with these
> simple things.
> Great book, thank you, I want to put the time on this to get more
> knowledge about Lyx.
>
> Thank you!!!
> Obrigado ;)
>
> Eugénio
>
>
> On Mon, 21 Oct 2019 at 22:37, Ricardo Berlasso  wrote:
>
>> Hi,
>>
>> El lun., 21 oct. 2019 a las 18:34, Eugénio Costa ()
>> escribió:
>>
>>> Hi Lyx users and developers
>>>
>>> I am using LyX Version 2.3.1 on Fedora Linux.
>>> I need help to get a Multi-level numbered list this style:
>>>
>>> 1.
>>> 1.1
>>> 1.2
>>> 1.2.1
>>> 1.2.2
>>> 2
>>>
>>>
>> Right now, there is no other way than writing some code.
>>
>> I describe the procedure in section 9.2 of my book
>>
>> https://frommindtotype.wordpress.com/lyx-book/
>>
>> At the beginning of the document, in a TeX box you need to write
>> something like this
>>
>> \renewcommand{\theenumi}{\arabic{enumi}}
>> \renewcommand{\labelenumi}{{\theenumi}}
>> \renewcommand{\theenumii}{\arabic{enumii}}
>> \renewcommand{\labelenumii}{{\theenumi}.{\theenumii}}
>> \renewcommand{\theenumiii}{\arabic{enumiii}}
>> \renewcommand{\labelenumiii}{{\theenumi}.{\theenumii}.{\theenumiii}}
>> \renewcommand{\theenumiv}{\arabic{enumiv}}
>>
>> \renewcommand{\labelenumiv}{{\theenumi}.{\theenumii}.{\theenumiii}.{\theenumiv}}
>>
>> This will set the list up to the fourth level, always using numbers.
>>
>> Regards,
>> Ricardo
>>
>>
>>
>>
>>
>>> The default is:
>>> 1.
>>> (a)
>>> (b)
>>> i.
>>> ii.
>>> 2.
>>>
>>> This such simple thing is a pain in the ass
>>> I need to write a law contract/agreement, where the text refers to
>>> previous points, and there is no other way to do it than with numbers.
>>> I did't find a solution to follow.
>>> Would be great to have this option without the need to write code, as a
>>> simple document option, for a newer version.
>>>
>>
>> Thank you in advance for the help!
>>>
>>> Coinegue
>>>
>>> --
>>> lyx-users mailing list
>>> lyx-users@lists.lyx.org
>>> http://lists.lyx.org/mailman/listinfo/lyx-users
>>>
>>
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users