Re: Both table and figure sideways

2023-06-30 Thread Daniel

On 2023-06-13 17:55, Daniel wrote:

Hi,

I am trying to create a sideways float page with containing both a table 
with data and a figure illustrating the data. I also would like to see 
the correct number of the table and diagram in their respective captions.


Is this somehow doable in LyX?

The most obvious way seemed to be to create a sideways float and then 
add several captions, but I can only add captions of the same type (only 
Table or only Figure). So, the straight forward way seems not to work.


Thanks!

Daniel


Seems hard to do in LyX. Maybe my requirements were too stringent. 
Anyway, seems to me like something that should be easy to do. And it is 
rather simple in pure LaTeX using captionof.


FWIW, there is a bug report and a patch at 
https://www.lyx.org/trac/ticket/11734. Maybe some day...


Daniel

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


Re: tex2lyx Feature Request

2023-06-30 Thread Dr Eberhard Lisse
Jean-Marc

Let's make it

--list-textclasses -l

that was just an example.

The request concerns tex2lyx.

I am getting the available textclasses out of it.

el

n 30/06/2023 11:30, Jean-Marc Lasgouttes wrote:
> Le 30/06/2023 à 11:07, Dr Eberhard Lisse a écrit :
>> so I wonder if one should not implement a similar switch like
>>
>>  --list-modules
> [--list-layouts, right?]
>>
>> or similar which would do just that and return something like
>>
>>  AEA
>>  IEEEtran-CompSoc
>>  IEEEtran-TransMag
> [...]
> 
> Note that this information is available in /textclasses.lst.
> 
> Does this request concern tex2lyx or LyX itself.
> 
> I am not totally sure what information you got from it, to be honoest.
> 
> JMarc
> 
> 

-- 
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: tex2lyx Feature Request

2023-06-30 Thread Jean-Marc Lasgouttes

Le 30/06/2023 à 11:07, Dr Eberhard Lisse a écrit :

so I wonder if one should not implement a similar switch like

 --list-modules

[--list-layouts, right?]


or similar which would do just that and return something like

 AEA
 IEEEtran-CompSoc
 IEEEtran-TransMag

[...]

Note that this information is available in /textclasses.lst.

Does this request concern tex2lyx or LyX itself.

I am not totally sure what information you got from it, to be honoest.

JMarc


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


tex2lyx Feature Request

2023-06-30 Thread Dr Eberhard Lisse
Hi,

I am doing an exercise of translating OpenOffice formatted files into
Lyx via pandoc and tex2lyx.

The LyX file is readable but when I use scrlettr it wants Koma Letter V1
which is not installed. I had to do

 find /Applications/LyX.app/ -name 'scrl*'

to find

 /Applications/LyX.app//Contents/Resources/layouts/scrlettr.layout
 /Applications/LyX.app//Contents/Resources/layouts/scrlttr2.layout

and I found

 pandoc --list-output-formats


so I wonder if one should not implement a similar switch like

 --list-modules

or similar which would do just that and return something like

 AEA
 IEEEtran-CompSoc
 IEEEtran-TransMag
 IEEEtran
 RJournal
 a0poster
 aa
 aapaper
 aastex
 aastex6
 aastex62
 achemso
 acm-sigs-alt
 acm-sigs
 acmart
 acmsiggraph-0-92
 acmsiggraph
 agu-dtd
 agums
 agutex
 amsart
 amsbook
 apa
 apa6
 apa7
 arab-article
 article-beamer
 article
 beamer
 beamerposter
 book
 broadway
 bxjsarticle
 bxjsbook
 bxjsreport
 bxjsslide
 chess
 cl2emult
 ctex-article
 ctex-book
 ctex-report
 db_sts.inc
 dinbrief
 docbook-book
 docbook-chapter
 docbook-section
 docbook
 doublecol-new
 dtk
 ectaart
 egs
 elsart
 elsarticle
 entcs
 europasscv
 europecv
 extarticle
 extbook
 extletter
 extreport
 foils
 frletter
 g-brief
 g-brief2
 heb-article
 heb-letter
 hollywood
 ijmpc
 ijmpd
 iopart
 isprs
 iucr
 jarticle
 jasatex
 jbook
 jgrga
 jreport
 jsarticle
 jsbook
 jss
 kluwer
 latex8
 letter
 lettre
 llncs
 ltugboat
 maa-monthly
 memoir
 moderncv
 mwart
 mwbk
 mwrep
 paper
 powerdot
 recipebook
 report
 revtex
 revtex4-1
 revtex4-2
 revtex4
 sciposter
 scrartcl
 scrarticle-beamer
 scrbook
 scrlettr
 scrlttr2
 scrreprt
 seminar
 siamltex
 sigplanconf
 simplecv
 singlecol-new
 singlecol
 slides
 spie
 sts.inc
 svglobal
 svglobal3
 svjog
 svmono
 svmult
 svprobth
 tarticle
 tbook
 treport
 tufte-book
 tufte-handout

which was generated by

 find /Applications/LyX.app -name  '*.layout' \
  | awk -F'/' '{print $7}' \
  | sort \
  | sed 's/.layout//g'

and so will miss the .inc and .module there.


Would that make sense?

el

-- 
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: latex vs xetex

2023-06-30 Thread Dr Eberhard Lisse
I use Makefiles for this, so it only does a compile when needed.

el

On 30/06/2023 01:43, Steve Litt wrote:
> Patrick Dupre said on Thu, 29 Jun 2023 14:54:45 +0200
[...]
> I'm going to get a lot of static about this, but in any serious
> documents I place a compile shellscript in the directory and use that
> to compile the LyX document and display it in *my* PDF viewer. So each
> doc has its own compilation method, and when there are problems, LyX is
> almost completely ruled out as a root cause. It's either something I
> did or an unfortunate CTAN change.
> 
> Over time, as things evolve, usually for the better, I can alter my
> compile script to take advantage of the changes. With my compile
> shellscript, I can do a reconfigure every time with configure.py. I
> name my shellscript something like jj so when it's time to recompile my
> book I simply do ./jj  . After all, I'm already in the book's directory.[...]
-- 
To email me replace 'nospam' with 'el'


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