Giter Site home page Giter Site logo

Comments (5)

prash3r avatar prash3r commented on May 27, 2024 1

INPUT:
bildschirmfoto 2013-10-26 um 01 46 14

OUTPUT:
bildschirmfoto 2013-10-26 um 01 36 12

Note: Screens, because markdown removes the Tabs

and im using the defaultSettings.yaml apart from these settings where i tell to indent (sub-)sections(*) and the sectionindent set to Tab (unsetting to the default Rule " " doesnt resolve the issue):

indentRules:
myenvironment: "\t\t"
anotherenvironment: "\t\t\t\t"
chapter: "\t"
section: "\t"

indentAfterHeadings:
section:
indent: 1
level: 1
section_:
indent: 1
level: 1
subsection:
indent: 1
level: 2
subsection_:
indent: 1
level: 2
subsubsection:
indent: 1
level: 3
subsubsection*:
indent: 1
level: 3

PS:
(Probably unqualified) (quick and dirty) resolve idea:
\end{document} wont ever appear twice; one could just hardcoded search for "\end{document} after indenting it and remove prefixed whitespace.

from latexindent.pl.

cmhughes avatar cmhughes commented on May 27, 2024

Thanks for letting me know- could you provided a small MWE, perhaps just paste it into the comment area here? I'll add it to my list of things to do.

from latexindent.pl.

cmhughes avatar cmhughes commented on May 27, 2024

Can you provide the .tex file too? As small as possible :)

from latexindent.pl.

prash3r avatar prash3r commented on May 27, 2024

i can offer you this:

\documentclass[a4paper]{article}
\begin{document}
\section{}
\subsection{}
\subsubsection{}
\end{document}

and this:

\documentclass[a4paper]{article}
\begin{document}
\section{}
\subsection{}
\subsubsection{}
\end{document}

if u want me to provide it in any other way (just can put pics in here u know) just tell me which way:

from latexindent.pl.

cmhughes avatar cmhughes commented on May 27, 2024

Thanks for finding this bug! I believe it is fixed in the latest version. Let me know if/when you find any other problems :)

from latexindent.pl.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.