Giter Site home page Giter Site logo

problem with samepage=true about minted HOT 4 CLOSED

gpoore avatar gpoore commented on July 24, 2024
problem with samepage=true

from minted.

Comments (4)

gpoore avatar gpoore commented on July 24, 2024

Internally, minted uses the fancyvrb package to handle many things. The samepage option is actually passed to fancyvrb, and I've replicated the issue using fancyvrb alone, without minted. So fixing this would require a patch for fancyvrb. After a quick look at the fancyvrb source, I suspect that fixing this would require a good deal of work, since it appears that the current samepage is only designed to work with to the block of verbatim text itself, rather than the title. Unfortunately, I don't have the background to patch this part of fancyvrb.

Here are some related links. You might try asking a question about fancyvrb and titles on TeX.SE.

from minted.

gpoore avatar gpoore commented on July 24, 2024

I'm closing this, since it's due to fancyvrb rather than minted. If a new version of fancyvrb is ever created, this should be added to the list of requested upgrades.

from minted.

lucbouge avatar lucbouge commented on July 24, 2024

Dear colleagues,

Did this issue make any progress since 2014? I encountered the same issue a few days ago. I use

\setminted{
fontfamily=sf,
autogobble=true,
frame=lines,
framesep=2mm,
bgcolor=very-light-gray,
samepage=true
}

and the bottom frame separator was rejected on the next page.

Regards,

Luc.

from minted.

gpoore avatar gpoore commented on July 24, 2024

@lucbouge Unfortunately, I am not aware of any progress. fancyvrb is still essentially the same, and I'm not aware of any patches for it that would fix this issue.

from minted.

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.