Text Formattingdelete subsection

Information and discussion about LaTeX's general text formatting features (e.g. bold, italic, enumerations, ...)
Post Reply
marcel0138
Posts: 7
Joined: Wed Feb 21, 2018 10:31 pm

delete subsection

Post by marcel0138 »

I use Xelatex because it works better than Lualatex. Now I want to delete a subsection and that only works with Lualatex. Is that right?

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

rais
Posts: 419
Joined: Sun Nov 16, 2014 8:51 pm

delete subsection

Post by rais »

Isn't `deleting part of the source' a function of the text editor you're using?
Or are you after something to `keep in .tex file, but strip from .pdf'? That should be doable by

Code: Select all

\iffalse
  whatever stands here won't show up in output
\fi
which should work for all TeX engines.

KR

Rainer
marcel0138
Posts: 7
Joined: Wed Feb 21, 2018 10:31 pm

delete subsection

Post by marcel0138 »

In texmaker I made a subchapter in chapter 4. I moved this to chapter 5. This was good, but the rule also remained in the content in chapter 4.
marcel0138
Posts: 7
Joined: Wed Feb 21, 2018 10:31 pm

delete subsection

Post by marcel0138 »

Waarschijnlijk opgelost. Lualatex en xelatex kunnen allebei voor mijn boek gebruikt worden. Alleen voor één bladzij met het lettertype comicsans maakt het iets verschil. Het probleem was dat ik een subhoofdstuk verplaatste van hoofdstuk 4 naar 5 en dat lukte wel maar de regel bleef in 4 staan terwijl het verwijderd was. Meerdere keren converteren en steeds op pdf klikken dan gaat het goed.
User avatar
Stefan Kottwitz
Site Admin
Posts: 10335
Joined: Mon Mar 10, 2008 9:44 pm

delete subsection

Post by Stefan Kottwitz »

Hi Marcel,

thanks for letting us know that it's solved! As we are an english language forum, I translate your post for our readers.

Probably solved. Lualatex and xelatex can both be used for my book. Only for one page with the comicsans font does it make a difference. The problem was that I moved a subchapter from chapter 4 to 5 and I succeeded but the line remained in 4 while it was removed. Converting multiple times and always clicking on PDF then everything goes well.

Stefan
LaTeX.org admin
Post Reply