tex2lyx Feature Request

Dr Eberhard Lisse nospam at lisse.NA
Fri Jun 30 09:07:47 UTC 2023


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'



More information about the lyx-users mailing list