Re: why no pandoc export options?

2019-06-28 Thread Richard Kimberly Heck
On 6/28/19 9:07 AM, Neal Becker wrote:
> I'm looking here:
>
> https://wiki.lyx.org/Tips/ExportingOpenDocumentLibreofficeOpenofficeAndOfficeOpenXMLMSWordWithPandoc#trouble
>
> I'm using lyx-2.3.2-3.fc30.x86_64 fedora 30 linux.
> I have pandoc
> pandoc -v
> pandoc 2.2.1
> Compiled with pandoc-types 1.17.5.4, texmath 0.11.1.2, skylighting 0.7.5
>
> Under export, I don't see any options to export to MS Word XML, or anything 
> like that.  According to the above link, pandoc should have been detected 
> during reconfig and I shouldn't need to do any further setup.
>
> Any ideas?

If you have made any customizations yourself to your preferences, then
automatic detection may not work for you. We do not over-write
user-specified preferences when we reconfigure. So that is one option.
To test, try using a fresh user directory.

Riki





Re: List of Tables: no chapter numbers [RESOLVED]

2019-06-28 Thread Rich Shepard

On Fri, 28 Jun 2019, Rich Shepard wrote:


The last one is in an appendix, not the main body; I'll look to learn how to
take that out of the List of Tables.


My web search finds many descriptions on how to add LoF and LoT to the ToC,
but none on how to keep figures and tables in appendices out of the Toc. A
pointer to a solution is needed.


This still leaves me curious how to have the tables sequantially number
among all chapters, just like figures are.


A couple of stackexchange threads mentioned that by default (in reports and
books) figures and tables are sequentially numbered. In my document
(KOMA-report class) the figures are sequential and now the tables are
sequential within each chapter.

I'll look at The LaTeX Companion again this weekend.

Regards,

Rich


Re: List of Tables: no chapter numbers [RESOLVED]

2019-06-28 Thread Rich Shepard

On Fri, 28 Jun 2019, Paul A. Rubin wrote:


Try changing \renewcommand{\thetable}{\arabic{table}} in the preamble to
\renewcommand{\thetable}{\arabic{chapter}.\arabic{table}}. (I'm not sure
why you need to specify arabic here, but I'm going with the flow.)


Paul,

I, too, don't know why arabic is specified but your modification works and
now the tables are numbered by chapter:

5.1. Statewide benchmarks for General 1200-A permits. . . . . . . . . . . 28
5.2. Summary of monitoring requirements. . . . . . . . . . . . . . . . .  29

7.1. Spill reporting contacts. . . . . . . . . . . . . . . . . . . . . .  42
7.2. Inspections: what and how often. . . . . . . . . . . . . . . . . .   44

4.1. Statewide benchmarks for 1200-A permit holders. . . . . . . . . . .  62

The last one is in an appendix, not the main body; I'll look to learn how to
take that out of the List of Tables.

This still leaves me curious how to have the tables sequantially number
among all chapters, just like figures are.

Thanks very much,

Rich



Re: List of Tables: no chapter numbers

2019-06-28 Thread Kornel Benko
Am Samstag, 29. Juni 2019, 00:06:46 CEST schrieb Kornel Benko:
> Am Freitag, 28. Juni 2019, 14:46:20 CEST schrieb Rich Shepard:
> > On Fri, 28 Jun 2019, Kornel Benko wrote:
> > 
> > > Your mwe.lyx does _not_ create the provided pdf. With other words, it is
> > > not a mwe for your case.
> > 
> > Kornel,
> > 
> > How interesting. It does so here; I checked before sending the original
> > message. The mwe.pdf is attached.
> > 
> > Rich
> 
> But this pdf shows only 1 table, as it should be according to the lyx file.
> (I did not say that it was not compilable)
> 

OK, I misread your starting mail. Now I see what you meant.

Kornel

signature.asc
Description: This is a digitally signed message part.


Re: List of Tables: no chapter numbers

2019-06-28 Thread Kornel Benko
Am Freitag, 28. Juni 2019, 14:46:20 CEST schrieb Rich Shepard:
> On Fri, 28 Jun 2019, Kornel Benko wrote:
> 
> > Your mwe.lyx does _not_ create the provided pdf. With other words, it is
> > not a mwe for your case.
> 
> Kornel,
> 
> How interesting. It does so here; I checked before sending the original
> message. The mwe.pdf is attached.
> 
> Rich

But this pdf shows only 1 table, as it should be according to the lyx file.
(I did not say that it was not compilable)

Kornel


signature.asc
Description: This is a digitally signed message part.


Re: List of Tables: no chapter numbers

2019-06-28 Thread Paul A. Rubin

On 6/28/19 3:51 PM, Rich Shepard wrote:

MEW attached.

The full document has several tables in several chapters, yet the List of
Tables displays only the table number within each chapter rather than
chapter_number-table_number. The attached page shows this; the mwe 
compiles

with pdflatex to show the table as 1 rather than 1.1.

I've not had this happen in previous docs and would like to learn why it
happens and how to prevent it from occurring again.

TIA,

Rich
You'll note it's not just the list of tables that's at fault; in the 
table float, the captions starts "Table 1:" rather than "Table 1.1:".


Try changing \renewcommand{\thetable}{\arabic{table}} in the preamble to 
\renewcommand{\thetable}{\arabic{table}} to 
\renewcommand{\thetable}{\arabic{chapter}.\arabic{table}}. (I'm not sure 
why you need to specify arabic here, but I'm going with the flow.)


Paul



Re: List of Tables: no chapter numbers

2019-06-28 Thread Rich Shepard

On Fri, 28 Jun 2019, Rich Shepard wrote:


How interesting. It does so here; I checked before sending the original
message. The mwe.pdf is attached.


Perhaps I'm asking the wrong question.

Figures are numbered sequentially in the document, regardless of in which
chapter they are located. So, why aren't tables numbered the same way?

Looking at the list-of-tables.pdf I attached to my initial post we see that
the five tables are in three chapters and numbered within each chapter, not
sequentially as are the figures.

Rich



Re: List of Tables: no chapter numbers

2019-06-28 Thread Rich Shepard

On Fri, 28 Jun 2019, Kornel Benko wrote:


Your mwe.lyx does _not_ create the provided pdf. With other words, it is
not a mwe for your case.


Kornel,

How interesting. It does so here; I checked before sending the original
message. The mwe.pdf is attached.

Rich

mwe.pdf
Description: Adobe PDF document


Re: List of Tables: no chapter numbers

2019-06-28 Thread Kornel Benko
Am Freitag, 28. Juni 2019, 12:52:03 CEST schrieb Rich Shepard:
> On Fri, 28 Jun 2019, Rich Shepard wrote:
> 
> > MEW attached.
> 
> Oops! No cat attached, only an MWE.
> 
> Carpe weekend,
> 
> Rich
> 

Your mwe.lyx does _not_ create the provided pdf.
With other words, it is not a mwe for your case.

Kornel


signature.asc
Description: This is a digitally signed message part.


Re: List of Tables: no chapter numbers

2019-06-28 Thread Rich Shepard

On Fri, 28 Jun 2019, Rich Shepard wrote:


MEW attached.


Oops! No cat attached, only an MWE.

Carpe weekend,

Rich


List of Tables: no chapter numbers

2019-06-28 Thread Rich Shepard

MEW attached.

The full document has several tables in several chapters, yet the List of
Tables displays only the table number within each chapter rather than
chapter_number-table_number. The attached page shows this; the mwe compiles
with pdflatex to show the table as 1 rather than 1.1.

I've not had this happen in previous docs and would like to learn why it
happens and how to prevent it from occurring again.

TIA,

Rich#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 scrreprt
\begin_preamble
\date{}
\usepackage{gensymb,pdflscape,atbegshi}
\@ifundefined{extrarowheight}{\usepackage{array}}{}
\setlength{\extrarowheight}{0.2in}
\renewcommand{\thetable}{\arabic{table}}
\renewcommand{\thefigure}{\arabic{figure}}
\end_preamble
\use_default_options true
\maintain_unincluded_children false
\language english
\language_package default
\inputencoding auto
\fontencoding global
\font_roman "palatino" "default"
\font_sans "cmss" "default"
\font_typewriter "cmtt" "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 pdf2
\output_sync 0
\bibtex_command bibtex
\index_command default
\paperfontsize default
\spacing single
\use_hyperref false
\papersize letterpaper
\use_geometry true
\use_package amsmath 1
\use_package amssymb 1
\use_package cancel 1
\use_package esint 0
\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 natbib
\cite_engine_type authoryear
\biblio_style plain
\use_bibtopic false
\use_indices false
\paperorientation portrait
\suppress_date true
\justification true
\use_refstyle 0
\use_minted 0
\index Index
\shortcut idx
\color #008000
\end_index
\paperwidth 6.5in
\paperheight 9.5in
\leftmargin 2cm
\topmargin 4cm
\bottommargin 2cm
\headsep 1.6cm
\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 2
\paperpagestyle plain
\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 Standard
\begin_inset FloatList table

\end_inset


\end_layout

\begin_layout Chapter
Monitoring
\end_layout

\begin_layout Standard
Monitoring will document compliance with permit conditions.
\end_layout

\begin_layout Section
Storm waters benchmarks
\end_layout

\begin_layout Standard
Benchmarks included in the 1200-A permit assist permit holders in determining
 if the implementation of their SWPCP is reducing pollutant concentrations
 to below levels of concern.
\end_layout

\begin_layout Standard
Statewide benchmarks are summarized in Table 
\begin_inset CommandInset ref
LatexCommand ref
reference "tab: water quality benchmarks"
plural "false"
caps "false"
noprefix "false"

\end_inset

.
 These are general benchmarks for facilities in Oregon not discharging mine
 dewatering.
 
\begin_inset Float table
wide false
sideways false
status collapsed

\begin_layout Plain Layout
\begin_inset Caption Standard

\begin_layout Plain Layout
\begin_inset CommandInset label
LatexCommand label
name "tab: water quality benchmarks"

\end_inset

Statewide benchmarks for General 1200-A permits.
\end_layout

\end_inset


\end_layout

\begin_layout Plain Layout
\align center
\begin_inset Tabular






\begin_inset Text

\begin_layout Plain Layout
Parameter
\end_layout

\end_inset


\begin_inset Text

\begin_layout Plain Layout
Benchmark
\end_layout

\end_inset




\begin_inset Text

\begin_layout Plain Layout
pH
\end_layout

\end_inset


\begin_inset Text

\begin_layout Plain Layout
5.5–9.0 Std Units
\end_layout

\end_inset




\begin_inset Text

\begin_layout Plain Layout
Total suspended solids
\end_layout

\end_inset


\begin_inset Text

\begin_layout Plain Layout
100 mg/L
\end_layout

\end_inset




\begin_inset Text

\begin_layout Plain Layout
Settleable solids
\end_layout

\end_inset


\begin_inset Text

\begin_layout Plain Layout
0.2 mg/L
\end_layout

\end_inset




\begin_inset Text

\begin_layout Plain Layout
Total oil & grease
\end_layout

\end_inset


\begin_inset Text

\begin_layout Plain Layout
10 mg/L
\end_layout

\end_inset




\end_inset


\end_layout

\begin_layout Plain Layout

\end_layout

\end_inset


\end_layout

\begin_layout Section
Something else
\end_layout

\begin_layout Standard
Blah.
 Blah.
 Blah.
\end_layout

\end_body
\end_document


list-of-tables.pdf
Description: Adobe PDF document


why no pandoc export options?

2019-06-28 Thread Neal Becker
I'm looking here:

https://wiki.lyx.org/Tips/ExportingOpenDocumentLibreofficeOpenofficeAndOfficeOpenXMLMSWordWithPandoc#trouble

I'm using lyx-2.3.2-3.fc30.x86_64 fedora 30 linux.
I have pandoc
pandoc -v
pandoc 2.2.1
Compiled with pandoc-types 1.17.5.4, texmath 0.11.1.2, skylighting 0.7.5

Under export, I don't see any options to export to MS Word XML, or anything 
like that.  According to the above link, pandoc should have been detected 
during reconfig and I shouldn't need to do any further setup.

Any ideas?

Thanks,
Neal