Open
Description
Context
Currently, tabs such as:
.. tab-set::
.. tab-item:: Label1
Content 1
.. tab-item:: Label2
Content 2
are converted for the PDF's LaTeX output into the following .tex
code:
\begin{sphinxuseclass}{sd-tab-set}
\begin{sphinxuseclass}{sd-tab-item}\subsubsection*{Label1}
\begin{sphinxuseclass}{sd-tab-content}
\sphinxAtStartPar
Content 1
\end{sphinxuseclass}
\end{sphinxuseclass}
\begin{sphinxuseclass}{sd-tab-item}\subsubsection*{Label2}
\begin{sphinxuseclass}{sd-tab-content}
\sphinxAtStartPar
Content 2
\end{sphinxuseclass}
\end{sphinxuseclass}
\end{sphinxuseclass}
This solution is sub-optimal because it introduces a level of structure (sub-sub-section) that may not be consistent with the context.
Proposal
Something such as what results from a definition list would be much better:
\begin{description}
\sphinxlineitem{Label1}
\sphinxAtStartPar
Content 1
\sphinxlineitem{Label2}
\sphinxAtStartPar
Content 2
\end{description}
Tasks and updates
No response