Track Changes/Color in Output

2011-05-19 Thread Dr Eberhard Lisse
Hi,

I wish to change the tracking colours. On screen I have changed the
first author change to brown which works very well but in the output
it remains in blue, which I don't like as I am using blue for the
hyperref links.

If I look at the LaTeC source its something like this here:

\providecolor{lyxadded}{rgb}{0,0,1}
\providecolor{lyxdeleted}{rgb}{1,0,0}

Where can I override this?

greetings, el
-- 
Dr. Eberhard W. Lisse  \/ Obstetrician & Gynaecologist (Saar)
e...@lisse.na el108-ARIN / * |   Telephone: +264 81 124 6733 (cell)
PO Box 8421 \ /   Please do NOT email to this address
Bachbrecht, Namibia ;/if it is DNS related in ANY way


Re: Track Changes/Color in Output

2011-05-20 Thread Dr Eberhard Lisse
Julien,

thanks.

But, is there a way to change it in ALL documents, ie globally?

greetings, el


On 2011-05-19 16:12 , Julien Rioux wrote:
> On 19/05/2011 5:55 AM, Dr Eberhard Lisse wrote:
>> Hi,
>>
>> I wish to change the tracking colours. On screen I have changed the
>> first author change to brown which works very well but in the output
>> it remains in blue, which I don't like as I am using blue for the
>> hyperref links.
>>
>> If I look at the LaTeC source its something like this here:
>>
>> \providecolor{lyxadded}{rgb}{0,0,1}
>> \providecolor{lyxdeleted}{rgb}{1,0,0}
>>
>> Where can I override this?
>>
> 
> In the preamble of your document.
> 
>> greetings, el
> 




Lyx-2.0

2011-07-27 Thread Dr Eberhard Lisse
Hi,

is it possible to use the labeling environment in Koma Letter?

Is there an easy way to include the Tex GyreFot in the Pulldown
for the fonts? I like them and even use them as the screen fonst
so it would increase the experience :-)-O

el



Re: lyx template

2011-08-19 Thread Dr Eberhard Lisse
What happenens if you do File -> New From Template ?

My templates are living in

~/Library/Application Support/LyX-2.0/templates

and

/Applications/LyX.app/Contents/Resources/templates

You can easily copy from the latter into the former :-)-O

el

On 2011-08-20 05:39 , loïs laplace wrote:
> Hello,
> 
> I just installed mactex and lyx on a mac os 10.6 system. 
> The problem I have is that my lyx template folder is empty (in preference 
> system / application support...)
> 
> Please, can you help,
> 
> Best regards,
> 
> Loïs




Re: latex fonts

2011-08-25 Thread Dr Eberhard Lisse
Hi,

I like the TeXGyre fronts, and use them as screen fronts through the
preferences. As they work with LaTeX I would second the notion of being
able to have thenm in the dropdown :-)-O

Though, of course, putting them into the Preamble works also.

el

on 2011-08-24 22:12 Guenter Milde said the following:
> On 2011-08-24, Liviu Andronic wrote:
>> On Wed, Aug 24, 2011 at 8:01 PM, Virgil Arrington  
>> wrote:
>>> Dear all,
> 
>>> I’ve been using Latex and LyX for about a year now. I like LyX’s GUI which
>>> insulates me from having to type in all the commands. But, I have a
>>> question.
> 
>>> My Latex distribution has many fonts installed on it. My favorite is Linux
>>> Libertine, which is complete with OSF and true small caps, etc.
> 
>> This is a system font, not a LaTeX one. 
> 
> Actually, there is also a version of Libertine for use with traditional
> LaTeX (via the "libertine" package).
> 
>>> But, Libertine is not listed in LyX’s drop down list of fonts even though it
>>> is part of my latex distribution. The drop down list only seems to list the
>>> “standard” Latex fonts. 
> 
> Even not all fonts of the LaTeX core...
> 
>>> Is there any way to get LyX to recognize all of the fonts that are
>>> included in my Latex distribution.
> 
> No. Better support for more of the font packages is a long standing feature
> request. You might want to vote for the relevant ticket at bugs.lyx.org.
> 
> For the time beeing:
> 
> * set (or leave) the font(s) as [Default]
> 
> * read the font-package's documentation
> 
> * insert the command(s) and options recommended there in the "LaTeX preamble".
> 
> As screen-font and print-font are "de-coupled" anyway, there is no
> disadvantage of this approach once the correct command (usually a 
> \usepackage{the-font-package}) is in place.
> 
> Alternatively,
> 
>> In LyX 2.0, you can use 'non-TeX fonts' and choose Linux Libertine &
>> Biolinum if these are installed on your system. Then you will compile
>> your documents with XeTeX.
> 
> Günter
> 
> 




Re: Beamer class frame title symbol

2018-11-30 Thread Dr Eberhard Lisse
That's a change from previous LyX versions, which I also encountered.

Take an old one, remove one of these.  save and run a diff, so you'll
see what regex you need to plug into Perl :-)-O

el

On 29/11/2018 20:43, Rich Shepard wrote:
>   I've copied an older beamer document to a new name to keep the
>   framework and change the content.  It's the way my presentations
>   maintain a consistent appearance.
> 
>   On existing frame titles there is a cute, curly-tailed arrow at the
>   end, outside the title frame text (see attached image).  Newly
>   created frames lack this decoration.  Is it an anachronism?
>   Does/did it have a meaning?  Just curious.
> 
> Rich




Re: [ANNOUNCE] LyX 2.2.3 Released

2018-12-15 Thread Dr Eberhard Lisse
Thanks,

but I noticed a real nuisance on Mojave 10.14.1

When I click on the Text Style button it uses default which I do not
like (and not the default one :-)-O).  When I manually change them and
click on marked text it makes the change as requested.  When I mark some
other text for the same formatting it resets this again.

This is a serious change from previous behavioir and not a feature.

How can I fix that?

greetings, el


On 2018-12-14 17:31 , Richard Kimberly Heck wrote:
[...] 
> We are proud to announce the release of LyX 2.3.2. This is the second
> maintenance release in the 2.3.x series.
[...] 



Re: Luatex not previewing A4-landscape

2018-12-26 Thread Dr Eberhard Lisse
Would you perhaps have a Minimal Working Example so others can test
this?

Ie remove EVERYTHING not related/producing the error and post the
resulting files.

el

On 2018-12-24 12:42 , Daniel CLEMENT wrote:
> Dear list members,
> 
> While updating a PC under Debian, Lyx went from version 2.1.2 to 2.2.2
> (and even 2.3.1 from Backports).
> 
> I'm having an issue with some documents which need to be compiled
> under Luatex.
> 
> They use landscape, A4, 2-column page setup and the issue is: whenever
> I try to specify custom margins, my preview reverts to portrait, US
> letter format.  I checked that in the previewer, under document
> properties.  This happens regardless of the document contents.
> 
> TIA for any insight about that - best regards,
> 



Re: graphic on title page of book

2018-12-30 Thread Dr Eberhard Lisse
I would use the backgound package...

el


On 2018-12-28 16:20 , Wolfgang Engelmann wrote:
> 
> On 28.12.18 12:29, Jürgen Spitzmüller wrote:
>> Am Freitag, den 28.12.2018, 11:28 +0100 schrieb Wolfgang Engelmann:
>>> I try to insert a graphic between the subtitle and the author of a
>>> book (komascript style), but get this:
>>> You are using at least one layout (Author) intended for the title,
>>> after using non-title layouts. This could lead to missing or
>>> incorrect output.
>>>
>>> How could I succeed?
>> Assure the graphic is in a title layout (try in a second line of the
>> subtitle layout, after linebreak).
> 
> Yes, this works well. Thanks, Jürgen, and all the best for 2019 to you
> and all on this very helpful list,
> 
> Wolfgang
> 
>>
>> Jürgen
>>
>>> Wolfgang
> 



Re: Order paragraphs alphabetically

2018-12-30 Thread Dr Eberhard Lisse
Would this not need to be done in a LaTeX package?

el

On 2018-12-29 20:22 , Jean-Marc Lasgouttes wrote:
> Le 21/12/2018 à 18:56, Daniel a écrit :
>> Hi,
>>
>> Is there currently a way to order selected paragraphs alphabetically?
>>
>> My use case is that I have a long list of description items
>> (definitions) and would like to order them alphabetically.
> 
> It would be a nice feature to have. I am not sure how difficult it,
> without reimplementing quicksort by ourselves.
> 
> JMarc
> 
> 



Re: graphic on title page of book

2019-01-04 Thread Dr Eberhard Lisse
Les,

If you use Koma-Script that's a non-starter.

el

On 2018-12-31 23:46 , Les wrote:
[...]
> I have  found this kind of title page manipulation is much easier to
> achieve with the memoir class, where the layout of the title page is
> essentially whatever you want it to be.
> 
> Les
> 



Re: LyX, Program Listing, adding support for Julia, Modelica?

2019-01-11 Thread Dr Eberhard Lisse
That is a LaTeX issue, I think.

el

On 2019-01-09 17:06 , Bernt Lie wrote:
> I use LyX 2.3.1 on Windows 10 (and also LyX 2.2.3 on the same platform).
> 
>  
> 
> I’m including some Julia code in my document (Program Listing), but
> there is no built-in support for Julia (syntax highlighting, etc.) at
> the moment. I have read somewhere that there exists experimental (?)
> support for Julia...
> 
>   * Is this true?
>   * If so, where can I get hold of the Julia “plug-in” support file?
>   * How do I install it?
> 
>  
> 
> I’m also including code for the Modelica language. Is there LyX support
> for Modelica? If not, it is difficult to develop it? (I have partial (?)
> Modelica support for Notepad++ in some XML file, and there is support
> for Modelica in Jupyter Notebook...).
> 
>  
> 
> Thanks for help!
> 
> -B
> 



https://wiki.lyx.org/uploads/Modules/soul.module messages

2019-02-05 Thread Dr Eberhard Lisse
Hi,

on MacOs 10.14.2 I loaded

https://wiki.lyx.org/uploads/Modules/soul.module

into LyX 2.3.2, validated and converted it and am getting messages such
as these:


LyX: Unknown InsetLayout tag [around line 19 of file  current token:
'LabelType' context: '']
LyX: Unknown InsetLayout tag [around line 20 of file  current token:
'Static' context: '']
LyX: Unknown InsetLayout tag [around line 39 of file  current token:
'LabelType' context: '']
LyX: Unknown InsetLayout tag [around line 40 of file  current token:
'Static' context: '']
LyX: Unknown InsetLayout tag [around line 60 of file  current token:
'LabelType' context: '']
LyX: Unknown InsetLayout tag [around line 61 of file  current token:
'Static' context: '']
LyX: Unknown InsetLayout tag [around line 81 of file  current token:
'LabelType' context: '']
LyX: Unknown InsetLayout tag [around line 82 of file  current token:
'Static' context: '']
LyX: Unknown InsetLayout tag [around line 101 of file  current token:
'LabelType' context: '']
LyX: Unknown InsetLayout tag [around line 102 of file  current token:
'Static' context: '']

What can I do to avoid these?

greetings, el
-- 
Dr. Eberhard W. Lisse  / Obstetrician & Gynaecologist (Saar)
e...@lisse.na/ * |   Telephone: +264 81 124 6733 (cell)
PO Box 8421  /
Bachbrecht, Namibia ;/






Re: Question: how to run Reconfigure without GUI

2019-02-05 Thread Dr Eberhard Lisse
Scott,

this is very helpful for my alias file on the Mac.

function lyxconfigure
{
pushd ~/
python -tt "/Applications/LyX.app/Contents/Resources/configure.py"
popd
}

greetings, el

On 15/01/2019 19:02, Scott Kostyshak wrote:
> On Tue, Jan 15, 2019 at 11:27:34AM -0500, Daniel Gómez Martínez wrote:
>> I found out I can start the action I want with "lyx -x reconfigure";
>> however, GUI is triggered at the end.
> 
> You can call the configure script directly. For example,
> 
>   python -tt "/usr/local/share/lyx/configure.py"
> 
> Be sure to run it inside your home directory. On Linux, this is ~/.lyx.
> (note that you can set your home directory at run-time to any directory
> when launching LyX)
> 
> Best,
> 
> Scott
> 




signature.asc
Description: OpenPGP digital signature


Re: Question: how to run Reconfigure without GUI

2019-02-06 Thread Dr Eberhard Lisse
That was a first stab at it :-)-O

When I have a moment I'll do it right :-)-O

greetings, el


On 06/02/2019 09:53, Steve Litt wrote:
> On Tue, 5 Feb 2019 13:49:31 -0500
> Scott Kostyshak  wrote:
> 
>> On Tue, Feb 05, 2019 at 12:35:55PM +0200, Dr Eberhard Lisse wrote:
>>> Scott,
>>>
>>> this is very helpful for my alias file on the Mac.
>>>
>>> function lyxconfigure
>>> {
>>> pushd ~/
>>> python -tt
>>> "/Applications/LyX.app/Contents/Resources/configure.py" popd
>>> }  
>>
>> Nice. Thanks for sharing I actually never saw that trick for saving
>> the directory in a bash function (I've only used pushd and popd
>> interactively). I am used to saving "$(pwd)" to a variable and then
>> "cd" back to it. I like your trick instead.
> 
> Beware that pushd and popd are bash-only, and do not appear in dash or
> any /bin/sh one should be using for shellscripts. I'm of the opinion,
> especially after the Heartbleed fiasco, that bash is just too big an
> attack surface to use for shellscripts.
> 
> In more lightweight shells, it's done more like this:
> 
> #!/bin/sh
> orgdir=`pwd`
> cd /home/you/application/directory
> ./my_special_application arg1 arg2 arg3
> cd $orgdir
> 
> SteveT
> 



Re: English version of beamer

2019-02-06 Thread Dr Eberhard Lisse
Perhaps something like

cd ~/
cp /usr/share/lyx/examples/beamer.lyx .
lyx beamer.lyx

mfg, el

On 06/02/2019 14:04, Wolfgang Engelmann wrote:
[...]
>> so how do I start lyx in English if it is in /usr/share/lyx?
> 
> /examples/beamer.lyx
> 
> /usr/share/lyx/examples/beamer.lyx: Permission denied
> 
> I would not like to use lyx under root
> 
> Wolfgang
> 
>>
>> Wolfgang
>>
> 



Change Tracking Colors (Screen vs PDF)

2019-02-08 Thread Dr Eberhard Lisse
Hi,

I have been modifying the change colors for a tracked document, using
Preferences -> Look&Feel -> Screen Colors, I wanted the switch "changed
text 1st author" to be in red and the 3rd author in blue.

That works on the screen, but the output has still first author in blue,
which I see in the LaTeX document preamble as

\providecolor{lyxadded}{rgb}{0,0,1}
\providecolor{lyxdeleted}{rgb}{1,0,0}

Reason being that if I use Compare Documents an insert of a (single) 
character is better visible in red than in blue. In the Tracking proper 
it's ok because it shows the whole word delete and a new word added.


How can I change this in the output (PDF)?

greetings, el



Re: Question: how to run Reconfigure without GUI

2019-02-08 Thread Dr Eberhard Lisse
I futureproofed it a little :-)-O

#!/bin/bash
function lyxconfigure
{
if [[ "$OSTYPE" == "darwin"* ]]
then
BASEDIR="/Users/$(whoami)/Library/Application Support/LyX"
LYXVER=$(lyx --version 2>&1 \
| perl -ne 'if (/^LyX/) {
@v = split(/\s+/);
($j,$i) = split(/\./,$v[1],3);
print "$j.$i"
}'
)
pushd "$BASEDIR-$LYXVER"
python -tt 
"/Applications/LyX.app/Contents/Resources/configure.py"
popd
else
echo "This only works on a Mac"
fi
}

If someone can come up with a clever way of finding the maJor and miNor 
versions of LyX, please let me know.

Heartbleed was an OpenSSL vulnerability by the way, and, though Bashdoor
was an issue in 2014, I use bash as my login shell so I don't really
think it matters much.  But as Steve wrote it's trivial to change.


On 06/02/2019 10:49, Dr Eberhard Lisse wrote:
[...]
> On 06/02/2019 09:53, Steve Litt wrote:
[...]
>> Beware that pushd and popd are bash-only, and do not appear in dash or
>> any /bin/sh one should be using for shellscripts. I'm of the opinion,
>> especially after the Heartbleed fiasco, that bash is just too big an
>> attack surface to use for shellscripts.
>>
>> In more lightweight shells, it's done more like this:
>>
>> #!/bin/sh
>> orgdir=`pwd`
>> cd /home/you/application/directory
>> ./my_special_application arg1 arg2 arg3
>> cd $orgdir
[...]




Re: Change Tracking Colors (Screen vs PDF)

2019-02-08 Thread Dr Eberhard Lisse
Kornel,

thank you.

How do I change the colors?

el

On 08/02/2019 12:16, Kornel Benko wrote:
[...] 
> The screen and paper are different output devices. Therefore they deserve 
> different
> configuration parameters. (Imagine screen background having the color of 
> printed 'added/deleted text')
> 
>   Kornel
> 




signature.asc
Description: OpenPGP digital signature


Re: Screen script becomes smaller and smaller

2019-02-18 Thread Dr Eberhard Lisse
I have put the following into

~/Library/Application\ Support/LyX-2.3/bind/mac.bind


Format 4

\bind "C-minus"  "buffer-zoom-out"
\bind "C-plus"   "buffer-zoom-in"
\bind "C-equal"  "buffer-zoom-in"
\bind "C-S-equal""buffer-zoom"

Since on the US keyboard the + and = are on the same key I might not
need the C-plus line.  The C-S-equal does the trick for me.  

No idea about other keyboards though.

greetings, el

On 16/02/2019 15:38, Kornel Benko wrote:
> Am Samstag, 16.  Februar 2019 12:59:44 CET schrieb Daniel
> :
[...]

>>> I don't have Mac, but (in 2.3.x and also in master)
>>> $ egrep zoom mac.bind
>>> mac.bind:\bind "C-minus"  "buffer-zoom-out"
>>> mac.bind:\bind "C-plus"   "buffer-zoom-in"
>>> mac.bind:\bind "C-S-equal""buffer-zoom-in"
>>> mac.bind:\bind "C-equal"  "buffer-zoom-in"
>>>
>>> Kornel
>>>
>>
>> Proves my point, right?
>>
>> Daniel
>>
> 
> Rereading the message, ah ... yes. Missing '\bind buffer-zoom';
> 
>   Kornel
> 




signature.asc
Description: OpenPGP digital signature


Re: Screen script becomes smaller and smaller

2019-02-19 Thread Dr Eberhard Lisse
Works too :-)-O

\bind "C-minus"  "buffer-zoom-out"
\bind "C-plus"   "buffer-zoom-in"
\bind "C-equal"  "buffer-zoom-in"
\bind "C-0"  "buffer-zoom"

I did notice that a mac.bind in my local directory containing only those
above 4 lines looses all other bindings and wonder should it not be that
the local one overwrites only those entries different from the main one?

el

On 2019-02-18 21:22 , Daniel wrote:
> On 2019-02-18 11:35, Dr Eberhard Lisse wrote:
>> I have put the following into
>>
>> ~/Library/Application\ Support/LyX-2.3/bind/mac.bind
>>
>>
>> Format 4
>>
>> \bind "C-minus"  "buffer-zoom-out"
>> \bind "C-plus"   "buffer-zoom-in"
>> \bind "C-equal"  "buffer-zoom-in"
>> \bind "C-S-equal""buffer-zoom"
>>
>> Since on the US keyboard the + and = are on the same key I might not
>> need the C-plus line.  The C-S-equal does the trick for me.
>>
>> No idea about other keyboards though.
>>
>> greetings, el
> 
> Can you confirm that the default combination for reset zoom is C-0 in
> Firefox, Chrome, and Safari. If so, I suggest to stick to that.
> 
> Daniel
> 
> 



Re: Screen script becomes smaller and smaller

2019-02-20 Thread Dr Eberhard Lisse
That's an interesting question :-)-O

Maybe a mac.local.bind for the new ones and the ones you want to dump
are removed from the local copy of the full one?

Or an \unbind function?

el

On 20/02/2019 08:40, Daniel wrote:
> On 2019-02-19 17:36, Dr Eberhard Lisse wrote:
>> Works too :-)-O
>>
>> \bind "C-minus"  "buffer-zoom-out"
>> \bind "C-plus"   "buffer-zoom-in"
>> \bind "C-equal"  "buffer-zoom-in"
>> \bind "C-0"  "buffer-zoom"
>>
>> I did notice that a mac.bind in my local directory containing only
>> those above 4 lines looses all other bindings and wonder should it
>> not be that the local one overwrites only those entries different
>> from the main one?
>>
>> el
> 
> But how would you tell LyX to *not* use a certain shortcut in that
> case?
> 
> Daniel
> 
> 



Re: Screen script becomes smaller and smaller

2019-02-21 Thread Dr Eberhard Lisse
Jean-Marc,

## This file is automatically generated by lyx
## All modifications will be lost

So, how does this survive an update/upgrade?

el

On 20/02/2019 12:34, Jean-Marc Lasgouttes wrote:
> Le 19/02/2019 à 17:36, Dr Eberhard Lisse a écrit :
>> Works too :-)-O
>>
>> \bind "C-minus"  "buffer-zoom-out"
>> \bind "C-plus"   "buffer-zoom-in"
>> \bind "C-equal"  "buffer-zoom-in"
>> \bind "C-0"  "buffer-zoom"
>>
>> I did notice that a mac.bind in my local directory containing only those
>> above 4 lines looses all other bindings and wonder should it not be that
>> the local one overwrites only those entries different from the main one?
> 
> This file should be user.bind. This is the one that is generated by the 
> binding GUI.
> 
> JMarc
> 




Re: Screen script becomes smaller and smaller

2019-02-21 Thread Dr Eberhard Lisse
Thank you,

After removing mac.bind and making changes through the gui, user.bind 
now looks like:


## This file is automatically generated by lyx
## All modifications will be lost

Format 4

\unbind "C-t" "buffer-view pdf"
\unbind "C-S-equal" "buffer-zoom-in"

\bind "C-t" "buffer-view pdf5"
\bind "C-0" "buffer-zoom"


I propose however to change the comments as follows

## This file is automatically generated by LyX
## Modify via Preferences|Editing|Shortcuts to preserver changes

greetings, el

On 21/02/2019 13:07, Jean-Marc Lasgouttes wrote:
> Le 21/02/2019 à 11:37, Dr Eberhard Lisse a écrit :
>> Jean-Marc,
>>
>> ## This file is automatically generated by lyx
>> ## All modifications will be lost
>>
>> So, how does this survive an update/upgrade?
> 
> This file does survive upgrades.  What the comments mean is that the
> file is modified when you use Preferences|Editing|Shortcuts.
> 
> Actually, you can do the changes you want through this UI.
> 
> JMarc
> 




Re: Module allocating variable in preable

2019-02-26 Thread Dr Eberhard Lisse


I have done something similar 

in Document -> Settings -> Local Layout 

[...]
Style EDD
   CopyStyle Date
   LabelFont
   Series Bold
   Color Red
   EndFont
   LatexName renewcommand
   LatexParam {\LMP}
   LabelString "LMP:"
   Preamble
 \newcommand\LMP[1]{#1}
   EndPreamble
End
[...]

and this in Document -> Settings -> LaTeX Preamble

[...]
usepackage{luacode}
\begin{luacode*}
function gbt(refdat)
   local year, month, day = refdat:match("(%d%d%d%d)-(%d%d)-(%d%d)")
   local gebtermin = os.time({day = day + 283, month = month, 
 year = year})
   local t = os.date("!%Y-%m-%d",gebtermin)
   return t
end
function hpv(refdat)
   local year, month, day = refdat:match("(%d%d%d%d)-(%d%d)-(%d%d)")
   local w24 = os.time({day = day + 168, month = month, year = year})
   local VersEnde = os.date("*t", w24)
   local wdshift = {-2,-3,3,2,1,0,-1}
   local sh = wdshift[VersEnde.wday]
   local korrhpv = os.time({day = VersEnde.day + sh, 
 month = VersEnde.month, year = VersEnde.year})
   local v = os.date("!%Y-%m-%d",korrhpv)
   return v
end
\end{luacode*}
\newcommand\EDD[1]{\directlua{tex.sprint(gbt("#1"))}}
\newcommand\CUTOFF[1]{\directlua{tex.sprint(hpv("#1"))}}
[...]

results in this LaTeX Code

[...]
%% Textclass specific LaTeX commands.
\newcommand\LMP[1]{#1}
[...]
%% User specified LaTeX commands.
\usepackage{luacode}
[...]
\newcommand\EDD[1]{\directlua{tex.sprint(gbt("#1"))}}
\newcommand\CUTOFF[1]{\directlua{tex.sprint(hpv("#1"))}}
[...]

which as you can imagine allows me to put the Date of Last Menstruation
in ISO format in the Red LMP: field in the LyX GUI and at PDF generation
\EDD{\LMP} makes the Expected Date of Delivery appear automatically
whereas \CUTOFF{\LMP} produces the Friday nearest to 24 weeks of
pregnancy.

This (accessing LUA (or even knitR) stuff from the GUI, for example) can
become extremely powerful :-)-O

el


On 26/02/2019 09:16, Kornel Benko wrote:
> Am Dienstag, 26. Februar 2019 01:35:52 CET schrieb Christian 
> :
>> Sorry, but I don't see how this solves the problem.  This solution
>> assumes that the variable allocation is always fixed, so that loading
>> the module would be equivalent to have a set of variables
>> automatically allocated by "% some stuff to go in the preamble".
>> This is not what I was aiming for.  The idea is to create some LyX
>> layout (environment, or similar, like "Author", or "Abstract").  Is
>> it possible to do it?
> 
> It is exactly as Riki posted.  Look for example in
> acmsiggraph-0-92.layout Style "Copyright_year"
> 
>   Kornel



signature.asc
Description: OpenPGP digital signature


Re: https://wiki.lyx.org/uploads/Modules/soul.module messages

2019-03-14 Thread Dr Eberhard Lisse
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

So we need to raise a bug in the tracker?

el

On 2019-03-08 11:31 , Scott Kostyshak wrote:
> On Tue, Feb 05, 2019 at 12:26:20PM +0200, Dr Eberhard Lisse wrote:
>> Hi,
>> 
>> on MacOs 10.14.2 I loaded
>> 
>> https://wiki.lyx.org/uploads/Modules/soul.module
>> 
>> into LyX 2.3.2, validated and converted it and am getting
>> messages such as these:
>> 
>> 
>> LyX: Unknown InsetLayout tag [around line 19 of file  current
>> token: 'LabelType' context: ''] LyX: Unknown InsetLayout tag
>> [around line 20 of file  current token: 'Static' context: ''] 
>> LyX: Unknown InsetLayout tag [around line 39 of file  current
>> token: 'LabelType' context: ''] LyX: Unknown InsetLayout tag
>> [around line 40 of file  current token: 'Static' context: ''] 
>> LyX: Unknown InsetLayout tag [around line 60 of file  current
>> token: 'LabelType' context: ''] LyX: Unknown InsetLayout tag
>> [around line 61 of file  current token: 'Static' context: ''] 
>> LyX: Unknown InsetLayout tag [around line 81 of file  current
>> token: 'LabelType' context: ''] LyX: Unknown InsetLayout tag
>> [around line 82 of file  current token: 'Static' context: ''] 
>> LyX: Unknown InsetLayout tag [around line 101 of file  current
>> token: 'LabelType' context: ''] LyX: Unknown InsetLayout tag
>> [around line 102 of file  current token: 'Static' context: '']
>> 
>> What can I do to avoid these?
> 
> I don't know, but I can confirm that I see the same.
> 
> Scott
> 
-BEGIN PGP SIGNATURE-
Comment: Using GnuPG with Thunderbird - https://www.enigmail.net/

iQIzBAEBCAAdFiEEc5m+C677SuXtuUpUlwUdo3lFP6sFAlyKC5wACgkQlwUdo3lF
P6tcCw//R2TfWnQmwnEuVrPAeI/FOieeUQXuUFJ5d8dGy5xuXDFpppO+uAZWreWv
XbeoMf7BiHDOPkWK7J+DLUJaCzncly/ENOX4aZOKywpAki3Fv/7Lrm/4gbkzpXIu
59jaLD8v6VZNtxpynRjc4gQkBR2h/j/2q8N6bzID6T/sMavS1EZzIKjCR00ZbBU0
FFXmCiwBpmTqLnSxydNMpSr4Sg7B98LaEfwcg8ZaG/kqpWFaZqlJqqH7KqYOSMAk
zkptLvFCdNiI7jpyakp1aFC23KXEdEgRDJYRhCQD2wCJ/vdZSEkihm4FlM2YlDcR
CdNh7gw3ZPuJL0u6CkMrGm1x52NnXOT+1OTZelEkD3lsAHICEVpJj2Bae20y17Zt
HDAVwPLpgN7RBi5JPYa73oBJJUThUMnmSYVwd24dglXBkh0iH41kYCTz/diSpGD0
YSuXtQPMfHOpiu5NzeIeUxWcCQWEXsITU7Hg3dst/YrC+j9nzwnIHFC5J739XJtJ
ubcXECj+sbVGKZ4rVXQ5sX3loWY0pOh5koAhZwyGJpLhALW6uRkKQj9kevZjPDxF
yvOah3M87JEl0JZBYbdo014js1sktsdS/zGMTmA8jqtVe8jXEvhoYviGHv6RFhe5
weZZXRcnrQy7zvB/POYuQyOnONhWVJGN3m7PCrt0vzJwiw0Qy9s=
=DjVG
-END PGP SIGNATURE-


Re: https://wiki.lyx.org/uploads/Modules/soul.module messages

2019-03-14 Thread Dr Eberhard Lisse
Jürgen,

I am in transit overseas, but will revert, eventually.

Thanks for the effort in advance.

greetings, el

On 2019-03-14 17:38 , Jürgen Spitzmüller wrote:
> Am Do., 14. März 2019 um 09:15 Uhr schrieb Jürgen Spitzmüller
> mailto:sp...@lyx.org>>:
> 
> Alternatively, try to fix it (or get somebody to fix it) and upload
> a new version to the wiki.
> 
> 
> Try the attached version.
> 
> Jürgen
>  
> 
> 
> Jürgen
> 


Re: Problems with bibliography generation

2019-03-26 Thread Dr Eberhard Lisse
The only problem I can see in the malformed BIB file.

It does not load into BibDesk on the Mac.

The clean one does, and works perfectly with the LyX file.

If a BIB file can't be found, browse for it which has always worked for me.

el


On 14/03/2019 17:28, Daniel wrote:
> On 14/03/2019 16:03, Daniel wrote:
>> On 14/03/2019 15:28, Harold Mouras wrote:
>>> Dear Users, excuse if this is a silly question.  I have A LyX file
>>> and a .bib file (attached).  The bibliography option of the LyX
>>> document is set up on NatBib and the .bib file should be correct,
>>> but I cannot generate any bibliography.  Thank you very much for
>>> your help  Best regards, Harold
>>
>> It seems there is a bug in LyX when placing the bib file in the same
>> directory as the lyx file.  Then some strange dummy bibliography is
>> used instead.  Maybe these entries have been used for testing?
>>
>> As a temporary workaround you can put your bibliography in a
>> subdirectory.  At least that worked for me.
>>
>> Daniel
> 
> This was only part of the problem.  Also, the bib file seems to be
> malformed.  There are backslashes all over the place and a stray } at
> the end.  Clean version attached.
> 
> Daniel




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: Counters of custom list environment

2019-04-03 Thread Dr Eberhard Lisse
I have noticed same, but it bothered me for about 27 seconds and I am 
now used to it.


el

On 02/04/2019 12:45, 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




Re: Counters of custom list environment

2019-04-04 Thread Dr Eberhard Lisse
Daniel,

to be honest, I'll probably figure this out and install it anyway.

Eventually :-)-O

Even though in my daily use I usuallyhave Enumerate-Resume on the outer
level and Enumerate on the indented one(s).  So this may or may not work
:-)-O


el

On 03/04/2019 16:34, Daniel wrote:
> On 03/04/2019 13:35, Dr Eberhard Lisse wrote:
>> I have noticed same, but it bothered me for about 27 seconds and I am
>> now used to it.
> 
> With Jean-Marc's comment, there is no need to get used to it any more.
> Though I admire your ability to adapt.  :)
> 
> Daniel
> 
> 




Weight Options to the Noto Fonts

2019-04-05 Thread Dr Eberhard Lisse
Hi,

I am conducting a serious love affair with the Noto fonts which we can
now select in the LyX Settings -> Fonts dialog.

Sometimes I want to have the document a little ticker than regular which
I would normally do in the Preamble with something like

\makeatletter
\if@landscape
\usepackage[medium]{noto}
\else
\usepackage{noto}
\makeatother


This works but defeats the purpose and my sporting ambition.

I tried

\PassOptionsToPackage{thin}{noto}

which doesn't work, because this would have to come before the
\begin{document}, anyway.


Any ideas?  If it's in the manual a pointer would be appreciated.

And I unashamedly do not apologize for crossposting :-)-O

greetings, el



Re: Version control system

2019-04-11 Thread Dr Eberhard Lisse
Ivan,

I assume you use a Mac from the look of the icons. If you use Windows, 
stop reading here :-)-O



What happens if you try something like

ci -l Title.lyx

from a command line?

Or even better

ci -u -i -t-"Register" "Title.lyx"

(leave the -q out)


Does a file 

Title.lyx,v

already exist?



I have been using RCS on the mac for many years, and for a single user
it is perfectly sufficient.  On the Mac it was included in the past, but
now (Mojave) has to install it manually from something like Homebrew.


What does 

realpath $(which ci)

return? 

Homebrew would return something like

/usr/local/Cellar/rcs/5.9.4_1/bin/ci


For collaboration something like GIT or SVN is much better, but the
required setup effort is also bigger.

greetings, el

On 11/04/2019 11:22, Baris Erkus wrote:
> On 11-Apr-19 12:06 PM, Иван Горюнов wrote:
> 
> Hello!
> 
> I have a trouble using VCS.
> 
> When I try to register document in VCS I get the following message:
> 
> [cid:part1.BC09EC10.EECC986B@hotmail.com]
> 
> I tried solution in this article:
> https://wiki.lyx.org/LyX/VersionControlInstallationAndUsage
> 
> I have installed RCS, but it did not make any changes.
> 
> Then I tried to use git, like it is described:
> 
> "Using git
> 
> If you want to use git, then it is straight forward.  Just install git
> and create a repo in the folder of the LyX document.  LyX will then
> will detect that git repo and you will be able to check in and check
> out the document.  You even can use your cloud storage with git
> without having to check in the last change in you work PC."
> 
> 
> 
> Also no changes, still the same error (git client works ok, but I
> wanted some built-in solutinon for LyX).
> 
> I performed TeXLive installation described in this article:
> https://wiki.lyx.org/Windows/TeXLive
> 
> 
> Best regards,
> Ivan Goryunov
> 
> Hello,
> 
> You are either making a small mistake or it does not work due to some
> bug in RCS. Git is totally independent from RCS and is a seperate VCS.
> If you are using Git, you do not need to use RCS.
> 
> In fact, Git is more powerful and bug-free than RCS, so I would highly
> recommend to use Git along with a GUI such as Sourcetree instead of
> RCS (you can use built-in Git toolbar but that does not track files
> -e.g. figures- other than the LyX file).  AFAIK, RCS is not actively
> maintained/developed anymore, it is outdated and has some bugs.  I
> have spent too much time on RCS, and it did not prove to be useful for
> my case at all.  So in my opinion: dump RCS and invest into Git.
> 
> Baris
> 
> --
> ↓↓
> Please bottom-post. Start your reply here:
> 



Re: Trouble exporting multi-part documents

2019-04-13 Thread Dr Eberhard Lisse
If make the changes in each LyX "master" file you run in to the problem
of having to keep track of the changes.

Therefor it's better having "master" LyX files and an include.tex for
all common changes.

el

On 2019-04-12 16:43 , Daniel wrote:
> On 11/04/2019 10:08, Helge Hafting wrote:
>>
>> Den 01.04.2019 20:58, skrev Paul Johnson:
>>> 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.
>>>
>> [...]
>>
>> The problem happens when some file is both used as a child document
>> and as a freestanding document, and you wish to work on the TeX files
>> instead of in LyX.
>>
>>
>> Here is a solution:
>>
>> Use your dissertation & chapter files as-is, I guess you have good
>> reasons for dividing up the document like that. (And it is something
>> both LyX and LaTeX does well too.)
>>
>> But never use a chapter file alone. Instead, create a dummy master
>> document for each chapter file. It should contain no text, but the
>> same settings & preamble as the real master document. And it should
>> include that single chapter file. This way, the chapter file is a
>> child document to the dissertation, but also a child document to the
>> "chapter master document".
>>
>> No change for those who work on the dissertation as a whole - they
>> need the dissertation master file and the chapter files. They won't
>> need the "chapter master" files.
>>
>> Those who wish to work on a single chapter, can then open the chapter
>> master file and do an export from there. They should get two LaTeX
>> files; the master and the chapter file. The  chapter latex file won't
>> work alone, but they will run pdflatex against the chapter master
>> which will include the chapter tex file they work on.  If need be,
>> such a chapter tex file can be moved back and forth between those who
>> work on a complete dissertation and those who do single-chapter work.
>> Because it is now an included file in either case - included from a
>> dissertation master or from a chapter master.
>>
>>
>> This works fine - unless users find it too complicated having two files.
>>
>> Helge Hafting
>>
>>
> 
> A similar way, but without the need of extra master documents, to
> achieve this is to have all parts in child documents, including one with
> the Title and TOC, etc. Then you can deactivate child documents via the
> Document > Settings of the master as seems fitting.
> 
> Daniel
> 
> 



Re: Trouble exporting multi-part documents

2019-04-13 Thread Dr Eberhard Lisse
My suggestion is that you do, but minimal ones, and have once "master"
include file which all import.

Otherwise if you make a change to one file you have to pay attention
making the change in all files.

el

On 2019-04-13 16:34 , Daniel wrote:
> On 13/04/2019 15:01, Dr Eberhard Lisse wrote:
>> On 2019-04-12 16:43 , Daniel wrote:
>>> A similar way, but without the need of extra master documents, to
>>> achieve this is to have all parts in child documents, including one with
>>> the Title and TOC, etc. Then you can deactivate child documents via the
>>> Document > Settings of the master as seems fitting.
>>>
>>> Daniel
>>> > If make the changes in each LyX "master" file you run in to the
>>> problem
>> of having to keep track of the changes.
>>
>> Therefor it's better having "master" LyX files and an include.tex for
>> all common changes.
>>
>> el
>>
> 
> I don't understand what you mean. My suggestion means you don't need to
> more than one LyX master file.
> 
> Daniel
> 
> 



Re: Lyx template froma tex template

2019-04-13 Thread Dr Eberhard Lisse
Jose,

there is always tex2lyx

el

On 2019-04-10 07:06 , Baris Erkus wrote:
> On 07-Apr-19 8:08 PM, Jose Luis Varona Santana wrote:
> Hi, my name is José Luis Varona Santana. I'm writing my master's thesis on 
> lyx but my University has a tex template. How could i made a lyx template 
> from the .tex one?
> Thanks' before all
> Lic. José Luis Varona Santana
> 
> Hi Jose,
> 
> A good starting point for this is: 
> https://wiki.lyx.org/Layouts/CreatingLayouts
> 
> Referring this page: If you are a beginner, a simple layout file in the form 
> of
> 
> #% Do not delete the line below; configure depends on this
> #  \DeclareLaTeXClass[acmsiggraph]{ACM SigGraph}
> 
> # Read the definitions from article.layout
> Input article.layout
> 
> will suffice. You will be putting many information into preamble and in the 
> main file using ERT. You will do several try-and-errors to make it work, but 
> if you are careful, this should be at most one days of work for beginners 
> (this is my experience). Please note that class-specific styles, environments 
> and commands will not be immediately available under LyX menus and options. 
> However, they will work in the preamble and in the main file by ERT.
> 
> Also, Section 5.3 of the Customization document under LyX help has both on 
> introductory and advanced information on layouts. If you have time, placing 
> the class-specific styles, environments and other commands into the LyX menus 
> should not be that difficult. Look at some layout files that come with LyX 
> and try-and-error with Section 5.3.7 and other sections of the Customization 
> file.
> 
> Good Luck.
> 
> Baris
> 
> --
> ↓↓
> Please bottom-post. Start your reply here:
> 



Re: Trouble exporting multi-part documents

2019-04-14 Thread Dr Eberhard Lisse
Neither do I.

But I see that in your suggestion.

On 2019-04-13 18:45 , Daniel wrote:
> On 13/04/2019 16:47, Dr Eberhard Lisse wrote:
>> On 2019-04-13 16:34 , Daniel wrote:
[...]>>> I don't understand what you mean. My suggestion means you don't
need to
>>> more than one LyX master file.
>>>
>>> Daniel
>>>
>> My suggestion is that you do, but minimal ones, and have once "master"
>> include file which all import.
>>
>> Otherwise if you make a change to one file you have to pay attention
>> making the change in all files.
>>
>> el
> 
> I don't see anything in the original question that would lead to the
> problem you mention.
> 
> Daniel
> 
> 


Re: convert JPG to EPS

2019-04-17 Thread Dr Eberhard Lisse
It's always helpful to include a Minimal Working Example.

el

On 2019-04-17 05:21 , Paul A. Rubin wrote:
> On 4/16/19 11:45 AM, Wolfgang Engelmann wrote:
>> What do I have to insert in the converter box for JPG to EPS?
>>
>> Wolfgang
>>
> [Oops. I accidentally replied directly rather to the list; I'm reposting
> here for completeness.]
> 
> Assuming you have ImageMagick installed, you can use "convert $$i
> eps3:$$o". This will produce a valid EPS file, but /not/ one containing
> vector graphics. The raster (pixel) image will just be embedded inside
> the framework of an EPS file.
> 
> Paul
> 



Re: Embedding sounds and video in beamer class

2019-04-19 Thread Dr Eberhard Lisse
First,

why are you putting Frames into ERT? LyX has commands for that.

Then, I have renamed one of my MP4 files, since that was not included in
the allegedly MWE and as I had seemed to recall, the multimedia package
doesn't like MP4.

Use MOV, ie transform

VID_20180616_094640.mp4

into

VID_20180616_094640.mov

which does work.

But, since I don't use Acrobat as the defaul reader on the Mac, I
compile on the command line

lyx -f -e pdf5 beamer_media_test.pdf

and then fire up acrobat as Skim and Preview do not display movies.  If
Acrobat is your default reader than you might get away with running View
(Alt-R (?))

I have changed to LuaLaTeX as default in the document, by the way.


greetings, el

On 2019-04-18 03:45 , Anthony wrote:
> I have attached an MWE.
> 
> Running LyX2.3.0 under windows 10.  Using Adobe Acrobat Pro DC.
> 
> My problem is that I can compile the LyX document to generate a pdf,
> however, when I click on the link in the pdf, the following message
> appears.
> 
> 
> 
> Any suggestions?
> 
> Kind Regards,
> Anthony
> 
> Sent from Mail for Windows 10
> 
> 
#LyX 2.3 created this file. For more info see http://www.lyx.org/
\lyxformat 544
\begin_document
\begin_header
\save_transient_properties true
\origin unavailable
\textclass beamer
\begin_preamble
\usepackage{multimedia}
\end_preamble
\use_default_options true
\maintain_unincluded_children false
\language english
\language_package default
\inputencoding auto
\fontencoding global
\font_roman "default" "default"
\font_sans "default" "default"
\font_typewriter "default" "default"
\font_math "auto" "auto"
\font_default_family default
\use_non_tex_fonts false
\font_sc false
\font_osf false
\font_sf_scale 100 100
\font_tt_scale 100 100
\use_microtype false
\use_dash_ligatures true
\graphics default
\default_output_format pdf5
\output_sync 0
\bibtex_command default
\index_command default
\paperfontsize 12
\spacing single
\use_hyperref false
\papersize default
\use_geometry true
\use_package amsmath 1
\use_package amssymb 1
\use_package cancel 1
\use_package esint 1
\use_package mathdots 1
\use_package mathtools 1
\use_package mhchem 1
\use_package stackrel 1
\use_package stmaryrd 1
\use_package undertilde 1
\cite_engine basic
\cite_engine_type default
\biblio_style plain
\use_bibtopic false
\use_indices false
\paperorientation portrait
\suppress_date false
\justification true
\use_refstyle 1
\use_minted 0
\index Index
\shortcut idx
\color #008000
\end_index
\secnumdepth 2
\tocdepth 2
\paragraph_separation indent
\paragraph_indentation default
\is_math_indent 0
\math_numbering_side default
\quotes_style english
\dynamic_quotes 0
\papercolumns 1
\papersides 1
\paperpagestyle default
\tracking_changes false
\output_changes false
\html_math_output 0
\html_css_as_file 0
\html_be_strict false
\end_header

\begin_body

\begin_layout Frame
\begin_inset Argument 4
status open

\begin_layout Plain Layout
Sound and video example
\end_layout

\end_inset


\end_layout

\begin_deeper
\begin_layout Standard
\begin_inset ERT
status open

\begin_layout Plain Layout


\backslash
movie[width=8cm,height=4.5cm]{test}{VID_20180616_094640.mov}
\end_layout

\end_inset


\end_layout

\end_deeper
\begin_layout Standard
\begin_inset Separator plain
\end_inset


\end_layout

\end_body
\end_document


Re: Beamer manual and examples fail to render

2019-04-20 Thread Dr Eberhard Lisse
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

I can confirm this bug and the quick solution on MacOs 10.14.4 with
LyX 2.3.2.

greetings, el

On 2019-04-19 17:48 , Jürgen Spitzmüller wrote:
> Am Freitag, den 19.04.2019, 03:02 -0700 schrieb
> list_em...@icloud.com:
>> The Beamer manual, Help -> Specific Manuals -> Beamer
>> Presentations fails to render. I assume that it would render in
>> PDF as a usable presentation by which some of its features are
>> shown thus making the textual part more relevant. Here is the
>> problem:
>> 
>> 
>> Could not find LaTeX command for character '⌃' (code point
>> 0x2303)
> 
> You are on a Mac, right? This is a bug that has already been fixed
> for the next version. It is caused by the shortcut insets used in
> the beamer manual.
> 
> A quick workaround: switch to utf8 encoding and add this to the
> preamble: \DeclareUnicodeCharacter{2303}{\textasciicircum} HTH 
> Jürgen
> 
-BEGIN PGP SIGNATURE-
Comment: Using GnuPG with Thunderbird - https://www.enigmail.net/

iQIzBAEBCAAdFiEEc5m+C677SuXtuUpUlwUdo3lFP6sFAly7DuUACgkQlwUdo3lF
P6vV4hAAt8IQS7fhQOddy1/VcZi7BmFrVCnWiXYCAiMdFnHASaqS6j27vdkpgCeF
z5Jdu6mC8MO5vj3ihRMdQNIrtH0HFMBGP72OE3koYLheihu2maJqrKOIOgOfopHV
U2G9DZk6OwittIoQGcyoqMySLGSOxHchSVHCt7UW+OgTGQceTBV+H6p3WkJXoc7K
dgh+4vWIX9/D8hnagXCg9x7L1LytiwMR+705kWfG8c00N+z20huU6CAfEqj82kAn
3H8Rjfn5iXQRN31EaaDrzErg/9C1SwZOnWZlFu3Bt1aWpgTCuMh+FBdJVbUaEdfz
nC/VT3C+/IF4Rows98adrZY+pM1w6+k5lgoH2YGYJCxgX2SvKCM3eemLxb/9KZmK
9VSxwYeYPhr7WxRci8W9rtJketRU5rb+Ojk4G143LGuPghHJ7/Zfo++L9hKwHSqa
4T6xCvFlAqoIaeP0mjchS316GrLDg391gMbWrjaWr+czAcMf8lAoE+O+hD784VtW
7GGLXud2pQH5kU6p3513t6YDqjRt8M/1yZf22f8IUnKCkEvGxsln+/Ldo/NXX2Wc
4v3smUe9BlXKHUsL3H1gKh9CZDo4frXIjvuvM9BeqbNTI6dJ07JojUCt+WoymIte
uULkO1oyee+ViPE9RnK2r5xZFmMNZxJN/Q8GdztgBVwv8ztUES8=
=zzXR
-END PGP SIGNATURE-



Re: Quicker build

2019-04-20 Thread Dr Eberhard Lisse
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

Or maybe use less references :-)-O

Or a proper computer :-)-O

el

On 2019-04-20 19:21 , Scott Kostyshak wrote:
> On Sat, Apr 20, 2019 at 03:51:11PM +0200, Daniel wrote:
>> Hi,
>> 
>> My manuscript takes very long to fully compile, a couple of
>> minutes. I have already tried to only compile parts of it but
>> there was not much difference.
>> 
>> Since LaTeX is running several rounds in order to get all the
>> references and such right, is there a way to get LyX to run less
>> rounds?
> 
> You can define your own converter. See Help > Customization.
> 
> Scott
> 
-BEGIN PGP SIGNATURE-
Comment: Using GnuPG with Thunderbird - https://www.enigmail.net/

iQIzBAEBCAAdFiEEc5m+C677SuXtuUpUlwUdo3lFP6sFAly7nZoACgkQlwUdo3lF
P6v2Uw//Ua+dY0rLMJZ7Bmf2P7PYIIW9Oc3DvOlqa9hXYpj7fNSFVW4Q/hbrGG+k
/dWYg0XHTb/3zO2euKl6gVjNLRMAPSVXlw0EaKJNkN6gEb5W9OiIQvD7esIEKSKp
XMDvZHEKCZ+Wfe5Xvcf5dqNXxBIhi/hBqsXdOShv3C2Lv/EtusMVVDjBZ/FQDyVU
EqQnWKISO/zFln6AMDUZQg0Fz6KPSZX1tb+WIzv/IbbS64tRlP8iEtvIhgmhCHCK
E2zjlLDLc1iNboqgIHIRAGnEUqg1Q66PcJ7VHc9C3CGC7r/jHA4V6Iat2FoYEdFo
itkDrE5JGI5UedsDoFKeDoAmP63whydrWMEDDhz24pceRtdRMN4TrkNCFSpDc48e
WjlQEp6GjSPT/hfhK5sCXHSNlizDwb93scKf9taDLNXQwxzpvP1ooQ7bPW/W31Rk
vg3EYIcg2Gig1ta8dbLHI9OTKnjfQQfdLpHaWOGGw0yJjKxEkQDvFiW1s6Pl8MTa
QPsFCCUborntrxqJVm4BCerIX3jiy0i8IB/AOa+5vLdCv7GJVmXoPpxvpzupZmpU
nOEbaBMEyP6shS9Hh4S2mf1o9wX/c+jIxy47dHoM6brhbRUiR36TQi0wUFA2jfqV
Tuj1DidppYkUR6V4/x+S+o1avSxL+YkMjlQHqoOSLkD74I0ZF2E=
=K58W
-END PGP SIGNATURE-


Re: Quicker build

2019-04-21 Thread Dr Eberhard Lisse
I have a project of 15 LyX files and one common Tex include file.

The complete (master) document takes between 70 and 75 seconds.

If I just compile the most complicated child document it takes 20
seconds.

The least complicated document (a placeholder of one page without any
images or references) takes 12 second.

All of course in LuaLaTeX which is much slower than PDFLaTeX.

I am finding that it doesn't make that much difference. I am quite sure
that the references don't make much of a difference.

However, if I was doing a lot of complicated equation stuff and the
waiting were really to bother me, I would devise a file which has the
same formatting as the master document (by way of a tex include file)
and design the equation in that file, akin to a Minimal Working Example.

I am sure that would compile quickly, and once the equations looks
right, just cut and paste into the proper document.

What would be very interesting is to compile a LaTeX benchmark document
on the computer you are using.

https://www.complang.tuwien.ac.at/anton/latex-bench/

gives me on MacOs 10.14.4

MacBook 12", 2017, 16GB, 1.4 GHz Intel Core i7
pdflatex:   0m0.844s
lualatex:   0m2.974s

MacPro, Late 2013, 48 GB, 3.5 Ghz 6core Xeon E5
pdflatex:   0m0.526s
lualatex:   0m2.312s

iMac, Late 2015, 32GB, 3.3 GHz, Intel Core i5
pdflatex:   0m0.513s
lualatex:   0m1.866s

and on Ubuntu 18.04.2 LTS

Proline 2011, 2GB, 2.80GHz, Pentium Dual-Core
pdflatex:   0m0.718s
lualatex:   0m3.404s



el

On 2019-04-21 17:47 , Daniel wrote:
> On 21/04/2019 16:44, t...@wescottdesign.com wrote:
>> Can you identify why it takes so long?
>>
>> Are you splitting it up by chapter?  I would certainly expect that a
>> per-chapter rendering would take less time (at least per chapter),
>> unless the document contains a lot of cross-references.
> 
> I have a lot of cross-references indeed.
> 
>> Usually the reason I need to do frequent document compiles is to make
>> sure I'm getting my equations right -- if you could configure Lyx to
>> not compile the references (or whatever it is that is slow and that
>> you don't need on an immediate basis) when you build per-chapter,
>> then perhaps your speed will go up?
> 
> Yes, that sounds worth trying.  Any idea how LyX could be configured
> that way much appreciated.
> 
> Daniel
> 
> 
> 



Re: Quicker build

2019-04-23 Thread Dr Eberhard Lisse
Daniel,

The idea is to run it with the time command (under Unix/Mac, I don't
know how to do that in Windoze) and to see how log that takes (for
pdflatex and lualatex).

I just looked at the PDF to see it renders, but haven't even bothered to
read the title properly.

wget http://www.complang.tuwien.ac.at/anton/latex-bench/bench.tex
wget http://www.complang.tuwien.ac.at/anton/latex-bench/types.bib
pdflatex bench
bibtex bench
pdflatex bench
time pdflatex bench
time lualatex bench

On my Mac I have installed bench from

https://github.com/Gabriel439/bench 

and run that, instead 

bench 'pdflatex bench'
bench 'lualatex bench'


It's just to get an idea how slow your box is :-)-O

el

On 23/04/2019 11:57, Daniel wrote:
[...]
> I have compiled the bench.tex.  But I am not sure what to do with it.
> It also gives a lot of warnings:
[...]




Re: Exporting ePub / XML: always SIGSEV

2019-04-25 Thread Dr Eberhard Lisse
This was mentioned last week, as being fixed for the next version with
this workaround.

el

> On 2019-04-19 17:48 , Jürgen Spitzmüller wrote:
[...]
>> A quick workaround: switch to utf8 encoding and add this to the
>> preamble: \DeclareUnicodeCharacter{2303}{\textasciicircum} HTH
[...]
On 2019-04-25 22:14 , jezZiFeR wrote:
[...]
> This means something like the is no LaTeX-command for »^« and it is
> suggested to change the document’s coding to utf 8, which is not
> possible for the tutorial-file.
[...]



Re: Exporting ePub / XML: always SIGSEV

2019-04-27 Thread Dr Eberhard Lisse
Have you looked at lwarp on CTAN?

el

On 2019-04-26 19:48 , jezZiFeR wrote:
> Dear Anders,
> 
> thank you so much!  I have now found a possibility to use ePub.  It is
> still not perfect and up to now is not useful for publishing etc., but
> for private use it is fine.  The following seems to work for me:
> 
> export–LyXhtml (here LyX is not getting a SIGSEV)
> then I convert the XHTML-file in Calibre to ePub
> 
> Calibre is really extremely useful… I think I will try a little bit
> around with LyX and Calibre in the next time, but for the moment this
> works for me.
> 
> All best
> Jess



Re: Articles written with LyX

2019-05-08 Thread Dr Eberhard Lisse
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

Scott,

I like the look, in particular the front page matter.

Can you send me (e...@lisse.na) the source(s) of one to have a look how
you did that?

el

On 2019-05-08 20:32 , Scott Kostyshak wrote:
> On Wed, May 08, 2019 at 02:36:45PM -0300, Carlos Knauer wrote:
>> Hi
>> 
>> Where do I found articles written using LyX ? Is there a site ?
> 
> Not sure if this is what you mean, but I don't think we have a list
> of published articles that used LyX. We do have one for some books 
> though:
> 
> https://wiki.lyx.org/LyX/ProducedPublications
> 
> Best,
> 
> Scott
> 
-BEGIN PGP SIGNATURE-
Comment: Using GnuPG with Thunderbird - https://www.enigmail.net/

iQIzBAEBCAAdFiEEc5m+C677SuXtuUpUlwUdo3lFP6sFAlzTwYsACgkQlwUdo3lF
P6vxNg//WACgJapi7WIylX5Z/rmHaTdhNd1Oqf751bBOdQFbn+OP1GzvBulpO1b8
rp8RWs2d+JUubLCI1doLPVtS88BgGwOcxl+Ci3aJK968oHaCj4Jdun+IssDJIp5Z
HtJzFSZtcKF0m6Iz9RA7fwQRjunjZOaVt6JEkEll+yuWbnmtzoMKfw1PuU6MdO7v
iBNFHI9MgeYud7qRCA+srGMWZ+ydf8/jQUTL/y3gsgYDrFQd3+02YD6iEtlqzj72
LYwm4jFeB4X8MwE7LiHBQAS0XpGUD8h1tA82unRBfFH14tBSQ9Zds5PdObtOGiFh
0twNTXM2qgggGTSLtoyGSsAqwymSqosZ5YbNfoRnd22Kpx4Mu4etgH9dgpsgUMnA
DQO7XSJktZkzul6lLoVK+WUQoOywb4nzXW7L98uKMDaxBLLyolermA1nxL1qGYLz
RSfxSnYUwt2yr6qoPwdQ10M6V09oaYJynfHXXWRNkkhg353qm7W2sbLSCTkTUojR
72IhnqyAt34NuYSdNuZGHuNzv5+gx8JoSXgTKHnb0+bOSGIKxQqaskZn2m9/X234
XtgTBevbZXlvUADi4c0hcTQDBqPyobF9opB65XNREUm+tW2BBIxW8sbSURe+GWCR
DwPzkCadhttOWBCrl/V68cHB/pIeRZ5KNyYnHhpsA5kQZod04V4=
=Ro5v
-END PGP SIGNATURE-


Re: Articles written with LyX

2019-05-09 Thread Dr Eberhard Lisse
Tim,

I like the look, in particular the front page matter.

Can you send me (e...@lisse.na) the source(s) of one to have a look how
you did that?

el


On 2019-05-08 21:41 , t...@wescottdesign.com wrote:
> All of the PDF articles on this site are authored in LyX:
> http://wescottdesign.com/articles.html.
> 
> Note that the formatting is intentionally made less formal than
> something you'd see in a journal.
> 
> Quoting Carlos Knauer :
> 
>> Hi
>>
>> Where do I found articles written using LyX ? Is there a site ?
>>
>> Thanks,
>>
>> Carlos Fernando Knauer
> 
> 
> 
> 
> 


tex2lyx 2.3.2 and enumerate-resume

2019-05-13 Thread Dr Eberhard Lisse
Hi,

I have run

tex2lyx -c scrartcl -m enumitem -f mwe.tex

and get the enclosed

mwe.lyx

where I have manually removed the ERT (see below) from the line with
"item 1" and right clicked that and the line with "item 2" to be proper
Enumerate-Resume which produces the enclosed

mwe.pdf


While the PDF is correctly numbered I would rather prefer not to have
the ERT in the LyX file, as left in the one with "item 3".


Is this known? 

Would that be a bug? 

Can something be done about it? Other than regex'ing it in Perl.

greetings, el
#LyX 2.3 created this file. For more info see http://www.lyx.org/
\lyxformat 544
\begin_document
\begin_header
\save_transient_properties true
\origin unavailable
\textclass scrartcl
\begin_preamble


\usepackage{enumitem}
\end_preamble
\use_default_options false
\begin_modules
enumitem
\end_modules
\maintain_unincluded_children false
\language english
\language_package none
\inputencoding auto
\fontencoding default
\font_roman "default" "default"
\font_sans "default" "default"
\font_typewriter "default" "default"
\font_math "auto" "auto"
\font_default_family default
\use_non_tex_fonts false
\font_sc false
\font_osf false
\font_sf_scale 100 100
\font_tt_scale 100 100
\use_microtype false
\use_dash_ligatures true
\graphics default
\default_output_format default
\output_sync 0
\bibtex_command default
\index_command default
\paperfontsize default
\spacing single
\use_hyperref false
\papersize default
\use_geometry false
\use_package amsmath 1
\use_package amssymb 0
\use_package cancel 0
\use_package esint 1
\use_package mathdots 0
\use_package mathtools 0
\use_package mhchem 0
\use_package stackrel 0
\use_package stmaryrd 0
\use_package undertilde 0
\cite_engine basic
\cite_engine_type default
\biblio_style plain
\use_bibtopic false
\use_indices false
\paperorientation portrait
\suppress_date false
\justification true
\use_refstyle 0
\use_minted 0
\index Index
\shortcut idx
\color #008000
\end_index
\secnumdepth 3
\tocdepth 3
\paragraph_separation indent
\paragraph_indentation default
\is_math_indent 0
\math_numbering_side default
\quotes_style english
\dynamic_quotes 0
\papercolumns 1
\papersides 1
\paperpagestyle default
\tracking_changes false
\output_changes false
\html_math_output 0
\html_css_as_file 0
\html_be_strict false
\end_header

\begin_body

\begin_layout Standard
Some text
\end_layout

\begin_layout Enumerate-Resume
item 1 
\end_layout

\begin_layout Enumerate-Resume
item 2 
\end_layout

\begin_layout Standard
more text
\end_layout

\begin_layout Enumerate
\begin_inset Argument 1
status collapsed

\begin_layout Plain Layout
resume
\end_layout

\end_inset

item 3 
\end_layout

\begin_layout Enumerate
item 4 
\end_layout

\begin_layout Standard
and even more.
\end_layout

\end_body
\end_document


mwe.pdf
Description: Adobe PDF document


mwe.tex
Description: TeX document


Re: https://wiki.lyx.org/uploads/Modules/soul.module messages

2019-05-13 Thread Dr Eberhard Lisse
That seems to work,

thank you,

el

On 2019-03-14 12:56 , Dr Eberhard Lisse wrote:
> Jürgen,
> 
> I am in transit overseas, but will revert, eventually.
> 
> Thanks for the effort in advance.
> 
> greetings, el
> 
> On 2019-03-14 17:38 , Jürgen Spitzmüller wrote:
>> Am Do., 14. März 2019 um 09:15 Uhr schrieb Jürgen Spitzmüller
>> mailto:sp...@lyx.org>>:
>>
>> Alternatively, try to fix it (or get somebody to fix it) and upload
>> a new version to the wiki.
>>
>>
>> Try the attached version.
>>
>> Jürgen
>>  
>>
>>
>> Jürgen
>>
> 



Re: tex2lyx 2.3.2 and enumerate-resume

2019-05-14 Thread Dr Eberhard Lisse
In case someone is interested, I got to this issue, while playing with
Dragon Dictate for the Mac (discontinued by the developer 6 weeks after
I purchased the license :-(-O)

It reliably crashes when trying to "activate" LyX, never mind that a few
years ago when I tried this with previous versions I could not dictate
into LyX.

So I went the markdown road and developed this workflow over a Sunday
afternoon

Dictate Markdown into TextMate
Issue regularly "Press Key Command S" and "Cache Document" :-)-O
Bash Function
call pandoc with specific template
do some editing of the LaTeX file with Perl
run tex2lyx
remove ERT with Perl
version the Markdown and LyX file(s)
Review in LyX
Save PDF or print

Now I still need to Train my Dragon to understand my Namlish and the
medical and/or IT terms I use, but it seems with a bit of self
discipline and a cheat sheet I might be onto something.

I will also experiment with Dragon on Windows in Virtual Box, which I
have for my practice software anyway, and from which I can save the
markdown file out onto the mac, so I can continue with the above
workflow.

This might actually be a solution for other people needing to generate
large amounts of text in LyX.

greetings, el

On 2019-05-13 23:46 , Dr Eberhard W Lisse wrote:
> Perfect, I am an early adopter of new versions so I'll go for 2.4
> rather than for 2.3.[34] anyway.
> 
> thanks,
> 
> el
[...]
>> It's basically https://www.lyx.org/trac/ticket/11259
>>
>> It's fixed in 2.4.x. It might get backported to 2.3.4 (but not
>> 2.3.3).
>>
>> Jürgen


Re: insert listing so it can be copy/pasted from pdf

2019-05-21 Thread Dr Eberhard Lisse
Would something like this work?

http://mirror.ufs.ac.za/ctan/macros/latex/contrib/attachfile/attachfile.pdf

el


On 06/05/2019 04:25, Joel Kulesza wrote:
> On Sun, May 5, 2019 at 2:43 PM Bob Alvarez <4...@outlook.com> wrote:
> 
>>
>>  I want to insert text code listings into Lyx  so readers can copy and
>> paste from the pdf document into their plain text editor software.
>>
> 
> Bob,
> 
> This doesn't directly address your need, but to permit readers to obtain
> content from PDFs, the approach I've taken is to use the `navigator` (
> https://ctan.org/pkg/navigator?lang=en) package. What I will typically do
> is include the listing and then also use `navigator` to embed the full
> document as an attachment to the PDF.  I've begun to routinely take this
> approach because of ongoing difficulty providing easily copied text within
> a LaTeX-generated PDF.
> 
> Hope this helps,
> Joel
> 




Re: Lyx file format for tables

2019-05-23 Thread Dr Eberhard Lisse
Yes.

Like Nobody's Business (tm) :-)-O

el


On 22/05/2019 18:09, Rich Shepard wrote:
> On Wed, 22 May 2019, Paul Smith wrote:
> 
>> Regarding your other idea -- using xtable() or ktable -- I guess it is not
>> very practical in my case, as I have too many table (about 50 tables), and
>> therefore I would like to insert all of them in their right place in the
>> LyX document, to avoid the work of copying and pasting 50 times!
> 
> Paul,
> 
> Will writing the document in LyX with the knitr package produce the tables
> as well as desired code and figures?
> 
> Rich
> 
> 




Enumerate in Beamer

2019-05-23 Thread Dr Eberhard Lisse


Hi,

I would like to continue the numbering of an enumerated list onto a
subsequent slide.

Usually I would do that with the enumitem package and module, but since
this interferes with something on Beamer it's disabled.

In LaTeX I would do something like this, which works.

\begin{enumerate}
\item First item
\item Second item
\newcounter{saveenum}
\setcounter{saveenum}{\value{enumi}}
\end{enumerate}
\end{frame}

\begin{frame}{next frame}

\begin{enumerate}
\setcounter{enumi}{\value{saveenum}}
\item Third item
\item Fourth item

I can add 

\setcounter{saveenum}{\value{enumi}}

as ERT, no drama, but if I put 

\setcounter{enumi}{\value{saveenum}}

as ERT into the first item on the LyX document, the 'Third item' comes
up as 1 and the 'Fourth item' as 4.

If I put 

\setcounter{enumi}{\value{saveenum}}

as ERT before the list, it has no effect, ie the 'Third item' comes up
as 1 and the 'Fourth item' as 2.

Is there a way of doing this in Beamer?  With as little ERT as possible
of course

el



Re: Enumerate in Beamer

2019-05-24 Thread Dr Eberhard Lisse
Yes I did.

As I wrote, enumitem does not work in beamer (and the module is not
available in beamer).

Convington does not do it either.

greetings, el

On 23/05/2019 15:35, José Abílio Matos wrote:
> On Thursday, 23 May 2019 12.20.41 WEST Dr Eberhard Lisse wrote:
>> Is there a way of doing this in Beamer?  With as little ERT as possible
>> of course
>>
>> el
> 
> Have you seen
> https://wiki.lyx.org/LyX/Numbering or https://wiki.lyx.org/Tips/Enumitem
> 
> They show how to do what you intend.
> 
> Regards,
> 




Re: Enumerate in Beamer

2019-05-24 Thread Dr Eberhard Lisse
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256


Jürgen,

doesn't show the right numbers on the LyX screen (restarting from 1 on
each Frame) but the PDF is right, which is all I need :-)-O

You're the Man!!


Thanks, el

On 2019-05-24 11:09 , Jürgen Spitzmüller wrote:
> Am Freitag, den 24.05.2019, 11:04 +0200 schrieb Dr Eberhard Lisse:
>> Yes I did.
>>
>> As I wrote, enumitem does not work in beamer (and the module is not
>> available in beamer).
>>
>> Convington does not do it either.
> 
> Did you see the Resumable Enumeration module, which is particularly
> suited to beamer?
> https://wiki.lyx.org/Layouts/Modules#toc12
> 
> Jürgen
> 
-BEGIN PGP SIGNATURE-
Comment: Using GnuPG with Thunderbird - https://www.enigmail.net/

iQIzBAEBCAAdFiEEc5m+C677SuXtuUpUlwUdo3lFP6sFAlzn0o0ACgkQlwUdo3lF
P6udzw//QL18Kdeq7rKCM0UoUmCfQ1L4CpqehwmoEngQo+26L0bqgBnf9e8uZnaA
VY+Nu5KW4shhCUi4xEwfzt+2nZLxFsBLK4el1U3WVAssZqpppanB/UfMzSjv3pfB
mliDIHBAyAk7fm73wtM6vg+dwnUS7+quGv+t4PlLmyFQWWiLqamzst0RpoIjKa9J
Xlsm9GFljFbj7XSWysG2lBtFxCb6qaH1TJ0PU2wc9APWf9jqRYHz9pYvDEf7FkBl
XO60avnUA8T2FU3idf18B1bxdn/SjJSmunJGmdbIv7uqMdLwHbGrfCYQSMY0jCob
qdRfcqiSqjCztH1rMqXB3jsMMWFvpQq+4V8EmfEuw9IaEgKFqUwlTjRb0DypRfKz
ydsYbZ0vVs2O2whLHiwBJdLZr1QolodDIIajDc3tjcwjha9/jUvGMeQn5TkDRS4V
evQ6J8q+DzxzEAQBcfQeRkOqfiUOJPzGTC3hz+L3P3xgdjaaNyA/VrEyrHin7bs3
Nhujs9o+paK+fjkoqy8GPZDRW2PFxlWu7zPP3JRFA5RGUjcw1hJLMqkqVWskZie0
LjMdxEHiNWtvw4SWtDRRwzoLp0urwcQ6iXYJ5mucrkcMbNzK2BnsrAGxFDKwNcJx
PNHKp+5uxaqfS84V7TGUqcL1O1e2hQRt5ygOQJ4613HiieAs+B8=
=GCvm
-END PGP SIGNATURE-



Re: Image paths

2019-06-08 Thread Dr Eberhard Lisse
That's what I do on the Mac.

el

On 2019-06-07 17:16 , Maria Gouskova wrote:
[...]
>> Pending resolution of this, I can suggest a possible workaround. It
>> assumes that the other computers you work on are running some form of
>> Linux and that their owners are cooperative. On each machine, you could
>> create, in the directory containing the LyX file, a separate symlink to
>> each directory used in the document, and then use the names given to
>> those symlinks in the image paths. For example:
>>
>> ln -s ~/place/to/file/ imagePath (in the directory containing the .lyx file)
>>
>> and then give the graphic path to LyX as the relative path
>> "imagePath/image.pdf".
>>
>> It's a bit of a PITA, but on my system it seems to work.
>>
>> Paul
> 
> Yep, this will work on my Linux machines. Just have to check with a
> Mac OS co-author to see if it works on her system, too. Thanks!
> 



Re: "lyxminus" appearing in math mode (windows 10)

2019-06-14 Thread Dr Eberhard Lisse
Not when I run it.

2.3.2 on Mac

el

On 14/06/2019 03:44, Kyle Stevens wrote:
> Hello,
> 
> I tried asking this question on stackexchange and was more or less
> told to ask lyx support.
> 
> My issue is that in math mode symbols that used to be "normal" are now
> appearing weird such as all greek letters are now bold and he "-"
> symbol appears as "lyxminus".  I have found that other people have had
> this problem and fixes have been offered, however these were all for
> linux or some system called mint, whereas I'm using the most recent
> version on windows 10.
> 
> I am of the understanding that this is some kind of font issue,
> however I'm at a loss at how to address it.  I have attached a
> screenshot and a lyx file as an example of my problem.
> 
> Any help at all would be greatly appreciated!
> 
> Cheers,
> Kyle
> 



Re: Does LyX have an xhtml *import*?

2019-06-17 Thread Dr Eberhard Lisse
There are some mentions on google about converting XHTML to Markdown.
That you can get into any form of LyXable TeX with Pandoc.

el


On 17/06/2019 12:54, Pavel Sanda wrote:
> On Sat, Jun 15, 2019 at 02:36:27AM -0400, Steve Litt wrote:
>> Hi all,
>>
>> Does LyX have an xhtml import? If so, does it keep styles as styles, or
>> does it try to apply appearances to those styles on the way in?
> 
> No it does not. The best you could probably get is either to find
> xhtml->tex->lyx conversion route or open xhtml in browser/editor
> and try copy/paste into LyX window.
> 
> Pavel
> 




Re: Does LyX have an xhtml *import*?

2019-06-18 Thread Dr Eberhard Lisse
What I am saying is that there are some mentions on google about
converting XHTML to Markdown.  

Pandoc can convert Markdown into LaTeX.

If you are careful in designing the template Pandoc uses, the LaTeX
converts with minimal fuss to LyX.

Minimal fuss means something like 

perl -i -p -e 's/\\tightlist//g;s/\\\w*{verbatim}//g' f.tex
tex2lyx f.tex

el

On 17/06/2019 23:27, Steve Litt wrote:
> On Mon, 17 Jun 2019 15:14:56 +0200
> Dr Eberhard Lisse  wrote:
> 
>> There are some mentions on google about converting XHTML to Markdown.
>> That you can get into any form of LyXable TeX with Pandoc.
>>
>> el
> 
> Hi el,
> 
> I want to make sure I understand you...
> 
> Are you saying that any XHTML style I create can be represented, as a
> style and not as an appearance, in Markdown? How?
>  
> SteveT
> 
> Steve Litt 
> June 2019 featured book: Thriving in Tough Times
> http://www.troubleshooters.com/thrive
> 




Re: Does LyX have an xhtml *import*?

2019-06-19 Thread Dr Eberhard Lisse
I even have a workflow for taking a Mind Map and making a Beamer 
presentation in LyX :-)-O

I have never tried to convert HTML or XHTML, but this should be possible in a
way not requiring manual editing...

el

On 18/06/2019 17:23, Richard Kimberly Heck wrote:
> On 6/18/19 11:11 AM, Dr Eberhard Lisse wrote:
>> What I am saying is that there are some mentions on google about
>> converting XHTML to Markdown.  
>>
>> Pandoc can convert Markdown into LaTeX.
>>
>> If you are careful in designing the template Pandoc uses, the LaTeX
>> converts with minimal fuss to LyX.
> 
> Pandoc can convert HTML directly to LaTeX, so no need for an
> intermediate step to Markdown. Cleaning up the LaTeX output is probably
> a good idea, though. I had to do this years ago when converting
> WordPerfect to LaTeX.
> 
> Riki
> 
> 
> 




Re: Question

2019-06-24 Thread Dr Eberhard Lisse
Vertical Space Fill above
Paragraph Centered
Vertical Space Fill below

el

On 2019-06-24 03:47 , Paul A. Rubin wrote:
> On 6/23/19 8:46 PM, Carlos Knauer wrote:
>> Hello. How do I write a sentence in the center of a page, for example?
>>
>> Carlos F. Knauer
>>
> By itself (the only thing on the page), with other text above and below
> but not to the sides, or with other text above, below, left and right of
> it?
> 
> Paul
> 
> 



Re: [ANNOUNCE] LyX 2.3.3

2019-06-26 Thread Dr Eberhard Lisse
Idem on MacOs 10.14.5

el

On 2019-06-25 20:18 , Rich Shepard wrote:
> On Tue, 25 Jun 2019, Richard Kimberly Heck wrote:
> 
>> Public release of LyX version 2.3.3
> 
> Thank all of you developers. 2.3.3 builds, loads, and runs on
> Slackware-14.2.
> 
> Regards,
> 
> Rich
> 
> 



Re: lyx crash 2.3.3.

2019-07-24 Thread Dr Eberhard Lisse
Then it wasn't really a crash :-)-O

el


On 23/07/2019 17:38, Wolfgang Engelmann wrote:
[...]
> p.s. I could recover the document from the emergency file
> 
> Wolfgang


Re: lyx crash 2.3.3.

2019-07-24 Thread Dr Eberhard Lisse
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

Just kidding, by pointing out that there are crashes and crashes :-)-O

el

On 2019-07-24 12:00 , Kornel Benko wrote:
> Am Mittwoch, 24. Juli 2019, 11:30:01 CEST schrieb Dr Eberhard
> Lisse:
>> Then it wasn't really a crash :-)-O
>> 
>> el
>> 
>> 
>> On 23/07/2019 17:38, Wolfgang Engelmann wrote: [...]
>>> p.s. I could recover the document from the emergency file
>>> 
>>> Wolfgang
>> 
> 
> It was a real crash, and we definitely are interested in the
> cause. The fact, that lyx was able to create the emergency file
> means that lyx could catch some (probably also unexpected)
> exception.
> 
> Kornel
> 
-BEGIN PGP SIGNATURE-
Comment: Using GnuPG with Thunderbird - https://www.enigmail.net/

iQIzBAEBCAAdFiEEc5m+C677SuXtuUpUlwUdo3lFP6sFAl04gXUACgkQlwUdo3lF
P6tcnRAAi/Aq94N5vduhnPJWBQ23VXXSEcqKJl8owbF8ctmdbi8AK04EVElDFd2w
/Hwl9TU4DNg4IoVXNYmAhn7YgpQ5HVdRNv4DNABwTgZ3PzwD0YGHfhSPT2LD+/4Z
85iuYMUNqLTfSeZpeJ/JyXsOPi37BuBY8XCI3pnbspV+x3rgbb61fpTDBIo4YQPx
yf7x5DM4oLIU9MVoRhbov/UVdwJnJdpfWl+hKhA1zARq6/J9tocC09IIIxd/mE1O
nAStPib8oyP6Pruu6r++gE/IMqAiaFpo3pd5uWqJ9TKe/dt7womkTUgsvnG04jR/
Ia6DIv1W2DjSkPSlDdyRJe+Y8fjwEGu+AhFDNJcbdzhijc8k+U5XFaoEDlZd3dJZ
lDjEywR8snEy4DxJYWd2miwyPYIB9yte/A4y3GAqpLMcZufMsGHcfugy8NZjBn83
qSHv3mETYPEuh/MeF98Vq5a6G/VfaS1YtV9KO8dzLprZcl/88iyyM2W8dP3L+5ap
7XhLNgi28SYnqqTj9AFjA1H285TubMdpPP1B8WmQ9WoGeSELmmrcMEcHLeqU/r2n
cQs/yau4Fybu4wVknWe3h0thSqPjb6RRoAiaiKcXforqbQoIT7bGTiFI2kumt3zC
DGyly3dwDdhY3A0i0Fhnt3jfwBmUzKW5zkvPijsIDqHNCgJ1tek=
=FGud
-END PGP SIGNATURE-



Re: How to set editor for external edit of preamble

2019-08-14 Thread Dr Eberhard Lisse
Me three :-)-O

el

On 14/08/2019 07:15, Daniel wrote:
> Hi,
> 
> I just discovered the new feature to edit the preamble externally.
> However, I couldn't find where to set the editor for this of any
> documentation about it.  On MacOS it opens XCode which asks me to
> install additional application or Quit.  This renders the function
> pretty useless for me.  I have set a different application as default
> for TeX files but LyX seems ignore this.  How can I make LyX open my
> favorite editor?
> 
> Best,
> Daniel
> 
> 



Re: How to set editor for external edit of preamble

2019-08-16 Thread Dr Eberhard Lisse
Paul,

Thank you very much.

This is very cool and works very well.

greetings, el

On 2019-08-14 20:23, Paul A. Rubin wrote:
> On 8/14/19 7:35 AM, Dr Eberhard Lisse wrote:
>> Me three :-)-O
>>
>> el
>>
>> On 14/08/2019 07:15, Daniel wrote:
>>> Hi,
>>>
>>> I just discovered the new feature to edit the preamble externally.
>>> However, I couldn't find where to set the editor for this of any
>>> documentation about it.  On MacOS it opens XCode which asks me to
>>> install additional application or Quit.  This renders the function
>>> pretty useless for me.  I have set a different application as default
>>> for TeX files but LyX seems ignore this.  How can I make LyX open my
>>> favorite editor?
>>>
>>> Best,
>>> Daniel
>>>
>>>
> Tools > Preferences > File Formats > LaTeX (plain) > Editor.
>
> Paul




Re: How to set editor for external edit of preamble

2019-08-16 Thread Dr Eberhard Lisse
I use TextMate (which has a command line tool in /usr/local/bin). 

So I set it to /usr/local/bin/mate and that works very well.

I did not need to use the --wait option or something like $$i, as once 
the file is saved I have to click the "End Edit" Button.

It also works with Alpha's /usr/local/bin/alphaed so if BBEdit has
something like that it should also work.

Great stuff, this...

el

On 16/08/2019 08:59, Daniel wrote:
> On 2019-08-16 07:18, Anders Ekberg wrote:
[...]
>> Tried to get it to work on MacOS (with BBEdit, but didn’t succeed.  I
>> think what I get wrong is what to put in the path (tried bot
>> Application and into the BBEdit package) and what to put in the
>> command.
>>
>> Anders
>>
>>
> 
> Thanks for testing.  This function seems not to be working correctly
> under MacOS. Report filed at
> 
> https://www.lyx.org/trac/ticket/11641
> 
> Daniel
> 
> 



Re: Preview hogging CPU cycles

2019-08-22 Thread Dr Eberhard Lisse
I see this on occasion on the mac as well.

No drama, just kill it and move on :-)-O

el


On 22/08/2019 00:38, Rich Shepard wrote:
> I noticed on gkrellm that CPU usage was very high so I checked top. Found
> that
> 28269 tty1 R    375:58 latex lyxpreviewg26676.tex
> was consuming 100% of CPU cycles and running continuously for more than 6.25
> hours. (Should have done something about it sooner.)
> 
> There was no LyX, dvips, or other file displayed on the monitor so this must
> have been orphaned when I looked at the preview of one of several documents
> this afternoon.
> 
> I killed that process and have no idea why it remained running after LyX was
> exited.
> 
> Just letting you devs know about this situation with lyx-2.3.3 here.
> 
> Rich
> 



Re: KOMA-Script report: old font issue with bibtex

2019-08-23 Thread Dr Eberhard Lisse
Rich,

this is not a MWE, it requires  gensymb.sty and a BST which I didn't have.

This is not a LyX issue

It's a LaTeX one, or rather a BST one and you need to look at the BST what 
it shows there.

Look for something like (from another style):

FUNCTION {emphasize}
{ duplicate$ empty$
{ pop$ "" }
{ "\emph{" swap$ * "}" * }
  if$
}

but search for the old ones, of course, ie \bf, \sc and so on...

el


On 22/08/2019 23:16, Rich Shepard wrote:
> Strange situation here and I do not see where to fix it.
> 
> I use JabRef-4.3.1 for my references. I've created a new KOMA-Script report
> and used the JabRef -> LyX icon to insert a reference and bibliography
> reference. As a test I tried to preview the document only to have lyx tell
> me there are deprecated font types, e.g., \sc, in the bibtex entry.
> 
> Looking at the bibtex entry in JabRef I see expected ASCII text in bibtex
> format. I tried exporting that entry but did not find a format that printed
> in plain ASCII text. Sigh.
> 
> Here's the last few lines from lyx error log:
> 
> ! Class scrreprt Error: undefined old font command `\bf'.
> 
> See the scrreprt class documentation for explanation.
> Type  H   for immediate help.
>  ...
> 
> l.7 ...l of Fisheries and Aquatic Sciencess}, {\bf
>    37},
> 
> The entire log is attached; so is a MWE. If I need to send the actual JabRef
> entry I'll figure out how to provide that in a useful format.
> 
> In LyX the citation type is authordate3.
> 
> Looking at the document's .lyx file I don't see the bibiographic entry at
> all.
> 
> Rich



Re: Missing lyxeditor.cmd?

2019-08-23 Thread Dr Eberhard Lisse
I can not confirm this.

I am a long time LyX user in production (I seem to have switched from
OpenOffice to LyX in 2005 according to what I can find in my operating
reports directory), regularly updating LyX and MacOs, and on an number
of different boxes (from iMini via the trashcan MacPro to a 5k iMac) and
laptops (12 and 13 inch airs).

The only issue I am having sometimes is LuaLaTeX being 3 times slower
than pdfLaTeX but of course it is the future :-)-O and there are many
ways around some of it.

Is there a way of measuring the startup time of a Mac application?

greetings, el

On 22/08/2019 19:08, Chris Menzel wrote:
[...]
> I'm not really a Windows user either, but I got so irked with recent
> Mac laptops that I bought the (quite lovely) Dell in a fit of pique.
> I have to say that, once you get it set up right, LyX under Windows
> (and Linux) works rather better than it does under macOS. It loads
> *much *faster and just seems snappier all around; forward/inverse
> searching in particular is faster and more accurate.  (Both startup
> and forward search on macOS have been glacial under the last few
> iterations, though they're improved in 2.3.3.)
[...]

-- 
Dr. Eberhard W. Lisse  / Obstetrician & Gynaecologist (Saar)
e...@lisse.na/ * |   Telephone: +264 81 124 6733 (cell)
PO Box 8421  /
Bachbrecht, Namibia ;/  


Re: KOMA-Script report: old font issue with bibtex

2019-08-24 Thread Dr Eberhard Lisse
Don't look in the LyX source.

send me the BST file that is being used, the dabatase for the ciation
and the STY file, together with the MWE.

el

On 2019-08-23 14:41 , Rich Shepard wrote:
> On Fri, 23 Aug 2019, Dr Eberhard Lisse wrote:
> 
>> It's a LaTeX one, or rather a BST one and you need to look at the BST
>> what
>> it shows there.
> 
> Eberhard,
> 
> It's either LaTeX or JabRef changing how it presents the bibtex entry to
> lyx.
> 
>> Look for something like (from another style):
>>
>> FUNCTION {emphasize}
>> { duplicate$ empty$
>>    { pop$ "" }
>>    { "\emph{" swap$ * "}" * }
>>  if$
>> }
> 
> It's not the emphasis as nothing in the document is emphasized; the error
> appeared only after I added that one citation and the reference was
> added to
> the bibliography.
> 
>> but search for the old ones, of course, ie \bf, \sc and so on...
> 
> I grep'd the .lyx file for those strings and found none.
> 
> Thanks,
> 
> Rich
> 


Re: KOMA-Script report: old font issue with bibtex

2019-08-24 Thread Dr Eberhard Lisse
I did not write "in that director".

You are using gensymb.sty which is not included. I noticed it comes
from the was package which once can install with tlmgr. Remove this and
run again, just to be sure that this is not the cause, but it's hardly
likely to be.

Then you are using /home/rshepard/documents/jabrefdb as the BIB file,
which is not included.

And finally you are using authordate3 as Bibliography style
(authordate3.bst?) which is not included.

I am quite sure we'll find that in authordate3.bst there are some
occurrences of the old commands.

sudo find / -name 'authordate*'

comes to mind.

el

On 2019-08-24 16:39 , Rich Shepard wrote:
> On Sat, 24 Aug 2019, Dr Eberhard Lisse wrote:
> 
>> Don't look in the LyX source.  send me the BST file that is being
>> used, the dabatase for the ciation and the STY file, together with
>> the MWE.
> 
> el,
> 
> There is no BST file in that directory, only the .lyx file.
> 
> One of the JabRef devs responded to my post on the mail list.  There
> have been many changes in recent versions.  Also, it might be the
> reference format style.
> 
> So, I have the latest development version and will try that as well as
> trying different authordate styles.
> 
> Thanks for the offer,
> 
> Rich
> 


Re: KOMA-Script report: old font issue with bibtex

2019-08-25 Thread Dr Eberhard Lisse
You don't need to change the reference format.

You can modify the BST and put it somewhere where it will survive
upgrades.  Depending on the search order of Texhash you might even be
able to keep the same name :-)-O

Tomorrow is a public holiday here (Heroes Day).

I am cooking Lentil Soup today for all it is worth :-)-O

el

On 2019-08-25 00:49 , Rich Shepard wrote:
> On Sun, 25 Aug 2019, Dr Eberhard W Lisse wrote:
> 
>> shows
>>
>> FUNCTION {emphasize}
>> { duplicate$ empty$
>> { pop$ "" }
>> { "{\em " swap$ * "}" * }
>>   if$
>> }
>>
>> so if you replace that with
>>
>> FUNCTION {emphasize}
>> { duplicate$ empty$
>> { pop$ "" }
>> { "\emph{" swap$ * "}" * }
>>   if$
>> }
>>
>> and similar for \bf and so on you will probably find that your issues
>> go away :-)-O
> 
> el,
> 
> Thank you.  Changing the reference format is my first step ...
> Monday.  Today is roasting coffee, feeding sourdough starters, and
> other cooking.  Tomorrow is yard work.
> 
> Regards,
> 
> Rich
> 


Re: KOMA-Script report: old font issue with bibtex

2019-08-28 Thread Dr Eberhard Lisse
Rich,

two separate issues (if you leave the soup out :-)-O).

Switching style will often solve issues, fixing the BST file will
definitively.

Google is your friend with regards to BibTeX. And perhaps you might take
the plunge and move to BibLaTeX which is said to be the future.

Of course did I put Mettenden into the Lentil Soup!  :-)-O

el

On 25/08/2019 16:50, Rich Shepard wrote:
> On Sun, 25 Aug 2019, Dr Eberhard Lisse wrote:
> 
>> You don't need to change the reference format.
> 
> El,
> 
> Actually, I do; at least the style as used by the LyX bibliography.
> Reading the .bst files I saw that the authordate[1-4] follow the
> Chicago Manual of Style, 13th Ed.  (I have the 15th edition which I
> used for the references in my book.)  So I looked at the chicagoa.bst
> and saw that it, too, has the format I want so I changed the style to
> that and the deprecated font names went away.
> 
> Thanks very much to pushing me to look at the style settings.  Now I
> wonder if there's a pdf or web page that shows how each style looks.
> That would be a handy reference.
> 
> Enjoy your holiday and lentil soup (do you add sausage to it?)
> 
> Best regards,
> 
> Rich
> 



Re: KOMA-Script report: old font issue with bibtex

2019-08-29 Thread Dr Eberhard Lisse
Ok, thanks, 

please don't ask questions then, for which you don't like the answers.

el

On 29/08/2019 14:34, Rich Shepard wrote:
> On Thu, 29 Aug 2019, Dr Eberhard Lisse wrote:
> 
>> you really seem to not be getting it.
> 
> Eberhard,
> 
> We'll agree to disagree. I fully understand what you've written and have
> neither need nor desire to futz any more with reference styles.
> 
> Documents I prepare are for clients, regulatory agencies, or in support of
> litigation. No one who reads them cares about bibliographic format. I
> suspect that no one looks for and reads any of the references.
> 
> Using a format that is in the category of "good enough" is sufficient.
> 
> Thanks for sharing your efforts and results.
> 
> Regards,
> 
> Rich
> 



Re: How to keep versions of a paper in different formats

2019-09-02 Thread Dr Eberhard Lisse
Jerry,

what version control problem?

If you are on a Mac or Linux, and you are not collaborating with other
authors, you (just :-)-O) install RCS, rerun Tool -> Reconfigure check
the sucker in and out.

You then can put something like this in your preamble

\usepackage{rcs-multi}
\rcsid{$Id$}

after installing rcs-multi if you don't have it already installed, and
do all sorts of business inside like version numbers in the footer,
header, watermark or file name.  Checking out a particular older version
is no drama.

And then you can ask your friend Google for LaTeX IEEE which will return
LaTeX templates galore.  I am reasonably certain that you can put a lot
of this into the preamble perhaps by way of an \include statement so
that you don't have to muck around much in the LyX for submission.

Publish or perish :-)-O

el

On 2019-08-30 14:03 , list_em...@icloud.com wrote:
> I have a manuscript which I plan to submit for publication.  In its
> current form, it is in a format different from what the journal
> expects and as such must be converted to the format (IEEE) expected by
> the journal.  (I normally do this by copy-pasting large sections of
> text.)  If the manuscript is rejected by the journal then I will have
> to either revert to the original format or convert to a third format
> for another journal.  I have a version control problem across formats
> if I make further edits to any version in any format.  Besides
> tediously manually editing all versions, making the same changes, is
> there any way to keep a master document and spawn one or more
> alternately-formatted versions with the same content, thus saving the
> headache of manually editing each version?
> 
> I know that LyX has a version control capacity but I have never used
> it and I suspect it is not appropriate for this scenario.
> 
> Jerry
> 
> 


Re: lyx disk: error: LyX could not create the temporary directory '/tmp/lyx_tmpbuf1'

2019-09-04 Thread Dr Eberhard Lisse
Wolfgang,

have you rebooted?

That should run fdisk which may fix what seems to be a file system error.

You have sufficient backups, of course?

el

On 03/09/2019 20:54, Wolfgang Engelmann wrote:
> 
> Quoting John White :
> 
>> After reconfiguring, I would save one of the problem files to a usb
>> stick and see if lyx will open it from there.
>>
>> John
>>
>> On Tuesday, September 3, 2019 7:31:32 AM PDT Wolfgang Engelmann wrote:
>>> I have saved a lyx document under a different name.  I restarted lyx
>>> but get a lyx disk: error: LyX could not create the temporary
>>> directory '/tmp/lyx_tmpbuf1' (Disk is full maybe?)
>>>
>>> Before there were in /tmp 3 tmpbuf (0, 1, 2).  Now there is only
>>> this one: lyx_tmpdir.JvcZAzSC4585
>>>
>>> Whatever lyx file I try to load (file>recent>...  or file>open>...)
>>> I get always this error.
>>>
>>> What should I do to get lyx working again?
>>>
>>> Wolfgang
> 
> Thanks, John, but there seems to be a bigger problem which I am
> facing.  I can't open an usb stick, tells me, that it can't be invoked
> (kann nicht eingebunden werden in German).  Trying to start Jabref it
> tells me 'read only file system', lyx disk: error as before: LyX could
> not create the temporary directory '/tmp/lyx_tmpbuf1' (Disk is full
> maybe?).  df tells me there is enough storage on the disk.  Firefox
> tells me if I want to send a mail: Unable to save your message as a
> draft.  Sending of the message failed.  Fortunately webmail works.
> 
> I am on Linux Mint.  I am afraid I have to try to get help from the
> Tuebingen Linux User Group.
> 
> Wolfgang


Re: How to keep versions of a paper in different formats

2019-09-05 Thread Dr Eberhard Lisse
Pavel,

one never learns enough :-)-O

I didn't use the toolbar up to now and this is rather clever...

greetings, el

On 05/09/2019 02:16, Pavel Sanda wrote:
> On Mon, Sep 02, 2019 at 11:35:36PM +0200, Dr Eberhard Lisse wrote:
>> If you are on a Mac or Linux, and you are not collaborating with other
>> authors, you (just :-)-O) install RCS, rerun Tool -> Reconfigure check
>> the sucker in and out.
>>
>> You then can put something like this in your preamble
>>
>> \usepackage{rcs-multi}
>> \rcsid{$Id$}
> 
> I'll just add that if you only want basic information (like filename/path/
> date/version number) you don't need to mess with these macros and just
> hit "Insert Version Info" button in VCS toolbar and tune via context
> menu what you want to be typeset.
> 
> Pavel
> 



Lyx 2.3.3 doesn't print Glossary

2019-09-24 Thread Dr Eberhard Lisse
Hi,

I enclose a MWE which does not print the Glossary.

If I export to LuaLaTeX and run the PDF shows the Glossary.

If I then run it in LyX the PDF does show the Glossary.

Any ideas what I can do to figure this out?

greetings, el
-- 
If you want to email me, replace nospam with el

#LyX 2.3 created this file. For more info see http://www.lyx.org/
\lyxformat 544
\begin_document
\begin_header
\save_transient_properties true
\origin unavailable
\textclass scrartcl
\options DIV=12,parskip=half, refpage
\use_default_options false
\begin_modules
enumitem
todonotes
soul
\end_modules
\maintain_unincluded_children false
\language english
\language_package none
\inputencoding iso8859-1
\fontencoding T1
\font_roman "default" "default"
\font_sans "default" "default"
\font_typewriter "default" "default"
\font_math "auto" "auto"
\font_default_family default
\use_non_tex_fonts false
\font_sc false
\font_osf false
\font_sf_scale 100 100
\font_tt_scale 100 100
\use_microtype true
\use_dash_ligatures true
\graphics default
\default_output_format pdf5
\output_sync 0
\bibtex_command default
\index_command default
\paperfontsize default
\spacing single
\use_hyperref false
\pdf_bookmarks true
\pdf_bookmarksnumbered false
\pdf_bookmarksopen false
\pdf_bookmarksopenlevel 1
\pdf_breaklinks true
\pdf_pdfborder true
\pdf_colorlinks true
\pdf_backref false
\pdf_pdfusetitle true
\pdf_quoted_options "allcolors=black, urlcolor=blue"
\papersize default
\use_geometry false
\use_package amsmath 1
\use_package amssymb 0
\use_package cancel 0
\use_package esint 1
\use_package mathdots 0
\use_package mathtools 0
\use_package mhchem 0
\use_package stackrel 0
\use_package stmaryrd 0
\use_package undertilde 0
\cite_engine basic
\cite_engine_type default
\biblio_style plaindinen
\use_bibtopic false
\use_indices false
\paperorientation portrait
\suppress_date false
\justification true
\use_refstyle 0
\use_minted 0
\index Index
\shortcut idx
\color #008000
\end_index
\secnumdepth 3
\tocdepth 3
\paragraph_separation indent
\paragraph_indentation default
\is_math_indent 0
\math_numbering_side default
\quotes_style english
\dynamic_quotes 0
\papercolumns 1
\papersides 1
\paperpagestyle default
\tracking_changes false
\output_changes false
\html_math_output 0
\html_css_as_file 0
\html_be_strict false
\end_header

\begin_body

\begin_layout Title
Title
\end_layout

\begin_layout Author
Author
\end_layout

\begin_layout Date
2019-01-28
\end_layout

\begin_layout Section
Section
\end_layout

\begin_layout Standard
A 
\begin_inset CommandInset nomenclature
LatexCommand nomenclature
symbol "A"
description ""
literal "true"

\end_inset

 is not B
\begin_inset CommandInset nomenclature
LatexCommand nomenclature
symbol "B"
description "BB"
literal "true"

\end_inset

.
\end_layout

\begin_layout Standard
\begin_inset CommandInset nomencl_print
LatexCommand printnomenclature
set_width "auto"

\end_inset


\end_layout

\end_body
\end_document


Re: Adding label to all headings automatically

2019-09-24 Thread Dr Eberhard Lisse
LyX also proposes a name if you manually add a label, so there must be
programming logic for the naming.  

If one could find that, and then use it for a script as below (probably
Python :-)-O) it might be really simple to implement :-)-O

Actually LyX notices if a document changes (for example when using RCS)
and then offers a reload :-)-O

el

On 19/09/2019 14:39, Steve Litt wrote:
[...]
> The first thing that I think of when confronted with this question is
> to make an AWK or Python program to go through the LyX file and add an
> intelligently named label to each heading that doesn't yet have a
> label.  Such a program would probably take 1 to 4 seconds to run,
> depending on the size of the LyX file.
> 
> Obviously, you'd need to close the document in LyX before running the
> external program on it.
> 
> SteveT
[...]



Re: Lyx 2.3.3 doesn't print Glossary

2019-09-26 Thread Dr Eberhard Lisse
Thanks.

I have removed the preferences file and then it works.

I have added a few preferences and it still works.

If I change the screen background color to white it fails.  I'd really
like to have someone try this out and if that is the cause figure out
why and what can be done to fix this.

greetings, el


On 24/09/2019 17:09, John White wrote:
> Morning (here) El,
> 
> I get the same thing whether exported to lautex, cntr-D or cntrl-R. 
> 
> John
> 
> On Tuesday, September 24, 2019 1:50:06 AM PDT Dr Eberhard Lisse wrote:
>> Hi,
>>
>> I enclose a MWE which does not print the Glossary.
>>
>> If I export to LuaLaTeX and run the PDF shows the Glossary.
>>
>> If I then run it in LyX the PDF does show the Glossary.
>>
>> Any ideas what I can do to figure this out?
>>
>> greetings, el
> 
> 



Re: LyX not compiling any more for Beamer and modernCV classes (missing beginDocument, missing Glyphs)

2019-11-25 Thread Dr Eberhard Lisse
Try this:

Document -> Settings > Local Layout

paste:

PackageOptions fontspec no-math
Requires fontspec

Validate
Ok

and let us know if it works :-)-O

el

On 2019-11-25 18:43 , Daniel Gómez Martínez wrote:
> Thank you, moving the folder with my .lyx file to a path without ASCII
> characters only solved my issue, now I know I only need to wait until the
> dev team release a new version with this solved. For now I'll just compile
> my LyX files in reduced paths.
> 
> Again, thank you very much!
> 
> *Daniel Gómez Martínez | Profesional en ingeniería eléctrica*
> 
> 
> El lun., 25 nov. 2019 a las 11:40, Jürgen Spitzmüller ()
> escribió:
> 
>> Am Montag, den 25.11.2019, 11:22 -0500 schrieb Daniel Gómez Martínez:
>>> Hello everyone; I'm using Debian and LyX 2.3.3.
>>>
>>> Some time ago I made some presentations with Beamer and my CV with
>>> modercv class in LyX. LyX used to work just fine with those classes
>>> (although I think those were working with LyX 2.3.2), but suddenly,
>>> things stopped working. According to log file, it has something to do
>>> with the fonts, but I've found no information online to help solve my
>>> problem, I don't really know what package/config I'm missing now.
>>>
>>> Any help to solve this issue would be greatly appreciated, hereafter
>>> are the contents of my log file while compiling the Beamer LyX file
>>> found at "Help -> Specific Manuals -> Beamer", so you can see that
>>> not even the default Beamer file is compiling for me (I had to save
>>> that beamer.lyx somewhere else for LyX to actually try to compile it,
>>> as it seems the default beamer.lyx comes pre-compiled).
>>
>> I think this has to do with a recent LaTeX update that changes the
>> handling of path names with non-ASCII characters and spaces. See
>> https://www.lyx.org/trac/ticket/11146
>> https://www.lyx.org/trac/ticket/11699
>>
>> I suppose the documents are in a path that consists of such characters
>> (maybe your surname?). Does the error go away if you move the document
>> to a patch with ASCII characters only?
>>
>> Jürgen
>>
>> PS. We have a fix for this in the development version, but it is not
>> tested thoroughly yet.
>>
> 
> 

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


Re: LyX & compiling conference proceedings from PDF files

2019-12-03 Thread Dr Eberhard Lisse
Perhaps do one and export to LaTeX and compile.

If that works, find how and where this is inserted (in the .tex file)
and add another one manually.

If that compiles, run a tex2lyx on it.  If that works, it should be a
triviality to generate this semiautomagically :-)-O

2a) and 2b) are possible and explained in the pdfpages manual :-)-O

greetings, el


On 30/11/2019 14:41, Bernt Lie wrote:
> I’m attempting to compile conference proceedings using LyX 2.3.3.
> 
> 
> 
> I have successfully inserted one PDF-file into LyX
> (Insert/File/External Material).  Some questions:
> 
> 
> 
> 1.  Do I have to insert the files one by one (some 40 files), or can I
> insert all at the same time?  [I guess I can experiment with this...]
> 
> 2.  The pdf files are without headers/footers, and without page
> numbers.
> 
>a. Is it possible to have the files show up at 100% size (they are
>A4) within my A4 size LyX file, and overlay headers and footes
>defined in the LyX file?
> 
>b. Is it possible to overlay page numbers from LyX, i.e., using a
>global counter in LyX (say, preface with roman page numbering i-iv,
>then papers with arab page numbers, say Paper 1 p.  1-6, Paper 2 p.
>7-11, etc.)?
> 
> 
> 
> Thanks for your suggestions!
> 
> 
> 
> -B
> 
> 


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


Re: Error: ! Package babel Error: You haven't defined the language french yet.

2019-12-08 Thread Dr Eberhard Lisse
Toss it and redo whatever you tried with the KOMA Letter :-)-O

el

On 2019-12-08 19:07 , Patrick Dupre wrote:
> Hello,
> 
> The attached file gives an error.
> Why?
> I use lyx 2.3.3 on fedora30
> 
> Any idea?
> 
> Thank.
> 
> ===
>  Patrick DUPRÉ | | email: pdu...@gmx.com
>  Laboratoire interdisciplinaire Carnot de Bourgogne
>  9 Avenue Alain Savary, BP 47870, 21078 DIJON Cedex FRANCE
>  Tel: +33 (0)380395988
> ===
> 
> 

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


Small Sized Icons

2019-12-12 Thread Dr Eberhard Lisse
œ
Hi,

I have figured out how to put default.ui into 

~/Library/Application Support/LyX-2.3/ui 

and to modify it so that the View/Update and the VCS
toolbar are on by default and on the left side.  Very cool :-)-O

How do I make the Icon Size small as a default, which I usually do with
Right-Click into a Toolbar?

greetings, el

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


Re: Small Sized Icons

2019-12-12 Thread Dr Eberhard Lisse
Thank you,

can a LyX Guru tell us whether a file exists with commands to execute 
on startup? Or how to make this permanent?

greetings, el


On 12/12/2019 18:59, Paul A. Rubin wrote:
> On 12/12/19 7:16 AM, Dr Eberhard Lisse wrote:
>> Hi,
>>
>> I have figured out how to put default.ui into
>>
>> ~/Library/Application Support/LyX-2.3/ui
>>
>> and to modify it so that the View/Update and the VCS
>> toolbar are on by default and on the left side.  Very cool :-)-O
>>
>> How do I make the Icon Size small as a default, which I usually do with
>> Right-Click into a Toolbar?
>>
>> greetings, el
>>
> On my Linux Mint system, the icon size is stored in ~/.config/LyX,
> which is overwritten each time you exit LyX. So you might need to
> start LyX with a custom command that invokes the icon-size LFUN to set
> the icon size you want.
> 
> Paul
> 


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


Command-F / Command-G

2019-12-12 Thread Dr Eberhard Lisse


Hi,

if I enter Command-F (on the mac) it opens the find/replace dialog.

How can I make it so that Command-G will repeat the search?  At the
moment I have to move the mouse to the dialog and click on Find (again),
which is slower and more cumbersome.

greetings, el

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


Re: Command-F / Command-G

2019-12-13 Thread Dr Eberhard Lisse
Command-G is currently bound to word-find-forward.  But, the dialog
doesn't "load" the search term so that a subsequent Command-G can find
it.

el

On 2019-12-13 17:33 , Paul A. Rubin wrote:
> On 12/13/19 2:08 AM, Dr Eberhard Lisse wrote:
>> Hi,
>>
>> if I enter Command-F (on the mac) it opens the find/replace dialog.
>>
>> How can I make it so that Command-G will repeat the search?  At the
>> moment I have to move the mouse to the dialog and click on Find
>> (again), which is slower and more cumbersome.
>>
>> greetings, el
>>
> Try binding Command-G to the "word-find" LFUN.
>
> Paul
>

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


Re: Latex conversion to lyx

2019-12-19 Thread Dr Eberhard Lisse
or latexmk

el

On 2019-12-20 04:24 , Richard Kimberly Heck wrote:
> On 12/19/19 10:13 AM, Paul A. Rubin wrote:
>> On 12/18/19 4:04 PM, Mike Reeks wrote:
[...]
> Of course, he might also need to run BibTeX, etc, all of which is more
> difficult on Windows, is it not? But getting TeXStudio might make it all
> fairly easy.
> 
> Riki

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


Re: Beamer > blue line at left of frame > how to get rid of it

2020-01-12 Thread Dr Eberhard Lisse
Wolfgang,

turn the Track Changes off.

el

On 2020-01-11 16:50 , Wolfgang Engelmann wrote:
> 
> Am 11.01.20 um 15:45 schrieb Jürgen Spitzmüller:
>> Am Samstag, den 11.01.2020, 15:35 +0100 schrieb Wolfgang Engelmann:
>>> Jürgen, I am completely stuck. If I change something in my beamer
>>> document, e.g. to reduce it to a minimal example, I get these blue
>>> markings or crossed out text allover.
>> Do you have Document > Change Tracking > Track Changes checked?
> 
> yes, I did, and the document>settings is still empty. So I guess it
> wouldn't help to send you the document.
> 
> Could you or somebody advice me what I should do to get the
> document>settings working again?
> 
> Wolfgang
> 
>>
>>
>>> Could I send it to you privately
>> If the above does not help, yes.
>>
>> Jürgen
>>
> 
> 

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


Re: ltxcmds.sty

2020-01-14 Thread Dr Eberhard Lisse
The Oberdiek package has been changed, moving a number if packages out,
which now need to be manually installed.

On the Mac and Unix this is easy, just run something like

tlmgr update --all --self

and

tlmgr install ltxcmds

the latter you need to do for each missing package, or if you know
which ones are missing you can put all names on the line

greetings, el

On 2020-01-13 19:21 , Paul A. Rubin wrote:
> On 1/13/20 11:58 AM, F M Salter wrote:
>> Hi,
>>
>>     Suddenly compiling lyx documents for one user produces the bizarre
>> situation that not one will  compile. They all report that ltxcmds.sty
>> is required.  This is true even for a document with only the single
>> word "test" as contents.  Other users are not affected.
>>
>>     Any suggestions?
>>
>> Regards Frank Salter
>>
>>
>>
> Does this include a variety of document classes, or are all the
> non-compiling documents from the same document class (which perhaps
> requires the Oberdiek LaTeX package)?
> 
> Paul
> 

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


Re: lyx 2.3.4-1

2020-02-04 Thread Dr Eberhard Lisse
Jürgen,

I had same issue on Mac 10.15.2 (and 2.3.4 not 2.3.4-1)

I however noticed that the file had US Letter as paper size.

After copying the file I changed that to default and it worked.

I ran

diff cnew.lyx cold.lyx

and this comes back

142c142
< \papersize default
---
> \papersize letterpaper

ie the only difference is the paper size so a

perl -i -p -e 's/\\papersize letterpaper/\\papersize default/' *.lyx

is in order, I think.

I actually ran

find ~ \
-not \( -path ~/Library -prune \) \
-not \( -path ~/.lyx -prune \) \
-name '*.lyx' \
-exec perl -i -p \
-e 's/\\papersize letterpaper/\\papersize default/' {} 
';'

as I would in any case only use A4 and not US letter :-)-O

Synced to the practice and from what I see in the log only presentations
are changed :-)-O. I put it into my handbook as well :-)-O

el

On 2020-02-02 19:11 , Jürgen Spitzmüller wrote:
> Am Sonntag, den 02.02.2020, 17:54 +0100 schrieb Jürgen Spitzmüller:
>> But maybe because I tried with a version that already has the fix for
>> bug 11724. I'll try again with 2.3.4.
>
> As I suspected, it is a variant of bug 11724, and modifying the
> referred workaround slightly fixes the document:
>
> * Go to Document settings and change the class to "Article". DO NOT
> APPLY!
> * Go to page settings and change orientation from landscape to portrait
> * change the class back to beamer. NOW APPLY!
>
> Jürgen
>
>

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


Re: PDF export fails with pdflatex and LuaTeX

2020-02-14 Thread Dr Eberhard Lisse
find /usr/local/texlive -name pdftexconfig.tex -exec ls -sl {} ';'

8 -rw-r--r--@ 1 el  wheel  549 Apr 15  2016 
/usr/local/texlive/2019basic/texmf-dist/tex/generic/tex-ini-files/pdftexconfig.tex
8 -rw-r--r--  1 el  wheel  549 May  2  2019 
/usr/local/texlive/2019basic/texmf-config/tex/generic/config/pdftexconfig.tex

kpsewhich pdftexconfig.tex


/usr/local/texlive/2019basic/texmf-config/tex/generic/config/pdftexconfig.tex

So it may even be possible to edit the distributed one and save it onto 
config :-)-O

el

On 12/02/2020 08:32, Jürgen Spitzmüller wrote:
> Am Mittwoch, den 12.02.2020, 07:28 +0100 schrieb Jürgen Spitzmüller:
>> Am Dienstag, den 11.02.2020, 21:44 +0100 schrieb Martin Weise:
>>> Ok, here's something I (just) noticed: pdflatex, when run without
>>> arguments, produces a .dvi file from HelloWorld.tex.  It is only if
>>> I specify "-output-format=pdf" that it creates a .pdf file.
>>>
>>> From what I understand, this is not what pdflatex should normally
>>> do.
>>
>> Try the following:
>>
>> Find the configuration file pdftexconfig.tex in the terminal via
>>
>> kpsewhich pdftexconfig.tex
> 
> ...  and if no such file is there, you need to create it, as indeed
> (and maybe surprisingly) pdf(la)tex _does_ produce DVI by default; it
> only produces PDF if advised so via \pdfoutput.
> 
> I attach my (default TeXLive) configuration file for convenience.
> 
> Jürgen
> 
> 


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


Re: conversion d' une image png en eps

2020-02-24 Thread Dr Eberhard Lisse
Have you got rsvg-convert installed and done a Tools -> Reconfigure?

This does recognize svgz and converts them on the fly including in the
LyX window.

el

On 2020-02-24 18:35 , John Kane wrote:
> I get the same. My errer message is, "No information for converting svgz
> format files to pdf6. Define a converter in the preferences.
> Error 1 says
> 
> 
> LaTeX Warning: File
> `2_usr_share_lyx_images_dialog-show-new-inset_graphics.pdf'
> 
> not found on input line 264.
> 
> 
> 
> ! Package pdftex.def Error: File
> `2_usr_share_lyx_images_dialog-show-new-inset_
> 
> graphics.pdf' not found: using draft setting.
> 
> 
> and it seems to go on like that. The file seems to compile with some
> missing images.
> 
> 
> 
> On Mon, 24 Feb 2020 at 06:02, Bernard Blondot  > wrote:
> 
> Lorsque je veux consulter le tutoriel concernant les objets insérés  on
> me demande un convertisseur d' un format png à un format eps . Que faut
> il faire car je ne connais pas ce convertisseur . Je n' avais pas ce
> genre de problème avec une version antérieure de lyx , d' autre part on
> me demande de définir une langue germanique alors que dans des versions
> antérieures de lyx  je n' avais pas ce genre  ce genre de propos  . D'
> avance merci pour la réponse éventuelle .
> 
> -- 
> lyx-users mailing list
> lyx-users@lists.lyx.org 
> http://lists.lyx.org/mailman/listinfo/lyx-users
> 
> 
> 
> -- 
> John Kane
> Kingston ON Canada
> 

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


Re: Importing files: Some file types (.tex, .odt) only show up under "All files"

2020-02-25 Thread Dr Eberhard Lisse
I can't reproduce on Mac 10.15.3 LyX 2.3.4.2 

If in doubt Tool -> Reconfigure :-)-O

What happens if you do an Insert -> File ?

greetings, el


On 25/02/2020 10:46, Tobias Hilbricht wrote:
> Thank you for your quick response!
> 
> I have attached the screenshots "LyX_import_LaTeX.png" and
> "LyX_import_all_files.png", which illustrate the problem.
>  
> The mime types .tex and .odt seem to be known by my system, because the
> proper icons show up on the desktop and in the filemanager, and
> clicking them directly opens the appropriate application. For example,
> in TeXstudio when I click "Open", only LaTeX-files are shown. I did
> nothing special on any file related to mime-types that I can think of.
> 
> Is it possible to accidentally do something in LyX which malconfigures
> in the way illustrated by the screenshots?
> 
> Thanks for helpful hints in advance!
> Tobias Hilbricht
> 

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


Re: Endless typesetting with enabled Show changes in output

2020-02-26 Thread Dr Eberhard Lisse
Daniel,

what is often helpful is to export the files to LaTeX and run that
manually perusing the log files.

The tracking feature clashes with a few other packages, for example if I
mark text with yellow background.

I personally find it overrated in any case and try to avoid it. I use
RCS for everything bigger than a short letter and

On 2020-02-26 12:44 , Daniel wrote:
> On 2020-02-26 11:29, Daniel wrote:
>> On 2020-02-26 07:29, Daniel wrote:
>>> On 2020-02-25 21:45, Daniel wrote:
[...]
>> I got it to work after some battle. The endless typeset problem seem
>> to have been caused by tracked changes within a TeX Code inset. I knew
>> that using this combination was risky but I had no clue it could lead
>> to a case where I don't even get an error message.
>>
>> I'll try to create a minimal example. Maybe it's worth knowing how
>> this can happen.
>>
>> Daniel
> 
> Okay, here it is I think. Whether the LaTeX code is typeset within LyX
> or not does not matter, so it seems that the code generated by LyX is
> the problem.
> 
> As I said, I knew that putting tracked changed into a TeX Code inset is
> asking for trouble. However, I just missed this one when copy and
> pasting a whole passage with tracked changed enabled.
> 
> Still it surprises me that there is no error message or anything. Maybe
> a problem with the error handling in the booktabs package?
> 
> Daniel
> 

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


Re: Endless typesetting with enabled Show changes in output

2020-02-26 Thread Dr Eberhard Lisse
Daniel,

what is often helpful is to export the files to LaTeX and run that
manually perusing the log files.

The tracking feature clashes with a few other packages, for example if I
mark text with yellow background.

I personally find it overrated in any case and try to avoid it.  I use
RCS for everything bigger than a short letter and comparing differences
between versions in supported within LyX.

greetings, el

On 2020-02-26 12:44 , Daniel wrote:
> On 2020-02-26 11:29, Daniel wrote:
>> On 2020-02-26 07:29, Daniel wrote:
>>> On 2020-02-25 21:45, Daniel wrote:
[...]
>> I got it to work after some battle.  The endless typeset problem seem
>> to have been caused by tracked changes within a TeX Code inset.  I
>> knew that using this combination was risky but I had no clue it could
>> lead to a case where I don't even get an error message.
>>
>> I'll try to create a minimal example.  Maybe it's worth knowing how
>> this can happen.
>>
>> Daniel
>
> Okay, here it is I think.  Whether the LaTeX code is typeset within
> LyX or not does not matter, so it seems that the code generated by LyX
> is the problem.
>
> As I said, I knew that putting tracked changed into a TeX Code inset
> is asking for trouble.  However, I just missed this one when copy and
> pasting a whole passage with tracked changed enabled.
>
> Still it surprises me that there is no error message or anything.
> Maybe a problem with the error handling in the booktabs package?
>
> Daniel
>

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


Re: Remove the braces in Lyx file converted from latex file

2020-03-03 Thread Dr Eberhard Lisse
RiKi,

I have been through this (curly removal) before.

While Perl can remove braces easily and quick and dirty as in

s/\{//g;
s/\}//g;

this will remove ANY and ALL curlies.

If the LyX document contains other curlies they will also go. So you 
might need to copy the formula from the LyX file into a buffer, remove 
the curies and then paste again.

Writing a Regular Expression to do this intelligently (ie working from
the outside braces to the inside) is extremely difficult.

Never mind how the LyX code actually looks like. (I.e. who are the 
curlies represented there)

Zhao,

can you post a minimal working example LyX file here? A line of text or 
two and one single imported math formula.

greetings, el


On 01/03/2020 02:11, Richard Kimberly Heck wrote:
> On 2/28/20 10:52 AM, zhao_yuns...@cnu.edu.cn wrote:
>> Hello there
>> I have a lyx file converted from a LaTeX file.
>> But in the formula of the lyx file, there are a lot of paired braces,
>> as is shown blow.  Is it possible to delete them quickly.
>> Thanks!
> 
> The easiest way, I think, would be to open the LyX file in a text
> editor and delete them there.  A quick and dirty Perl script might
> work, too.
> 
> Riki


-- 
If you want to email me, replace nospam with el


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


Re: PDF output wrong size

2020-03-03 Thread Dr Eberhard Lisse
Richard (Opheim)

This is not a MWE. 

Remove EVERYTHING (packages, layouts) from the file (and preamble) which
does not cause the error. Or construct a virgin file, without anything 
other than a line or two of text, add the paper format and the image. 
If that works out add one modification, package at the time and 
regenerate the PDF.

That often helps me finding the cause :-)-O

el

On 29/02/2020 06:35, Richard Opheim wrote:
> 
> 
> On Fri, Feb 28, 2020 at 9:16 PM Richard Kimberly Heck
>  wrote:
> 
> On 2/28/20 10:54 PM, Richard Opheim wrote:
>>
>>
>> On Fri, Feb 28, 2020 at 8:35 PM Richard Kimberly Heck
>> mailto:rikih...@lyx.org>> wrote:
>>
>> On 2/28/20 8:07 PM, Richard Opheim wrote:
>> > The attached file's document/settings/page layout/paper
>> > format is set to 8" high, 5" wide.  However, it outputs to
>> > what I assume is a default 8.5x11 size.  If I remove the
>> > figure float at the end of the page, it outputs to the
>> > correct size.  Why should the figure cause this?  The size
>> > of the figure itself is only 2" wide.
>>
>> Can you also attach the figure? Without it, it's hard to say.
>>
>> FYI, my wife is really into Latin percussion. This looks interesting!
>>
>> Riki
>>
>>
>>Oops.  Please find attached.
> 
> No problem, but you should reply to the list.  I'm not an expert
> on this kind of thing.
> 
> That said, I did notice a "Here definitely" default for float
> placement in Document> Settings.  That could mess up the page
> sizes.
> 
> Riki
> 
> 
> Hm. Thought I was replying to the list.
> 
> I fiddled around with the placement settings, but no change.  Removing
> the figure from the figure float does work, though what use is a float
> without anything in it.  Tried making the graphic smaller; didn't make
> any difference.  Figure without float also no go.
> 
> -- 
> Richard Opheim
[...]


-- 
If you want to email me, replace nospam with el


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


Re: End-of-frame separator in lyx/Beamer

2020-03-25 Thread Dr Eberhard Lisse
At the end of the frame, make the "environment" Standard (CMD-P S) and
hit return.

el

On 2020-03-24 21:30 , UD Kap wrote:
> As if the Corona Virus wasn't enough, now it turns out that Lyx has lost
> (removed?) the ability to insert an end-of-frame separator in Beamer
> presentations documents!  What is the world coming to? 
> 
>  It seems that if you hold your mouth just right, you could still
> get a frame separator by some tricks, but why was the convenient way of
> doing it, through the menu, removed?  Don't we have trouble enough in
> the world?
> 
> Ehud Kaplan
> 
> 
> 

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


  1   2   3   4   5   6   >