Giter Club home page Giter Club logo

ctanbib's People

Contributors

michal-h21 avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

lukascbossert

ctanbib's Issues

Enntrytype

We always get the entry type @Manual, whereas we get before @ctan when using the -c or -C option.
With a @ctan output it is much more easier to create a special bibliography output as for @Manual,
which is already used in a lot of bib styles in a way which is not really compatible to CTAN documents.

Missing curl under Windows 7/8.1

Hello,

it would be nice, when there is some version of curl included in TexLive 2020. I downloaded the official version from https://curl.haxx.se/windows/ to get your ctanbib working.

What would be nice too: Make the package name optional in the case when there is only a --version or --help or even without any options.
There is always an error on the command line with that.

`C:\Users\Roland>ctanbib
ctanbib - convert ctan package information to bibtex format
Usage:
ctanbib [options]
Available options:
-c,--ctan Use @ctan type instead of @Manual
-h,--help Print this message
-v,--version Print version info

C:\texlive\2019\bin\win32\runscript.tlu:911: command failed with exit code 1:
texlua c:\texlive\2019\texmf-dist\scripts\ctanbib\ctanbib`

C:\Users\Roland>ctanbib -c c:\texlive\2019\texmf-dist\scripts\ctanbib\ctanbib:38: attempt to concatenate a nil value (local 'pkgname') C:\texlive\2019\bin\win32\runscript.tlu:911: command failed with exit code 1: texlua c:\texlive\2019\texmf-dist\scripts\ctanbib\ctanbib -c

C:\Users\Roland>ctanbib -v ctanbib version 0.1d C:\texlive\2019\bin\win32\runscript.tlu:911: command failed with exit code 1: texlua c:\texlive\2019\texmf-dist\scripts\ctanbib\ctanbib -v

`C:\Users\Roland>ctanbib -h
ctanbib - convert ctan package information to bibtex format
Usage:
ctanbib [options]
Available options:
-c,--ctan Use @ctan type instead of @Manual
-h,--help Print this message
-v,--version Print version info

C:\texlive\2019\bin\win32\runscript.tlu:911: command failed with exit code 1:
texlua c:\texlive\2019\texmf-dist\scripts\ctanbib\ctanbib -h`

Regards,
Roland

Output UTF-8 umlauts

The output (at least on Windows 11) seems to use a different encoding than UTF-8:

$ ctanbib coverpage
@manual{coverpage,
title = {The coverpage package},
subtitle = {Automatic cover page creation for scientific papers},
author = {Kopp, Oliver and M├╝hlich, Matthias},
url = {https://ctan.org/pkg/coverpage},
urldate = {2023-10-07},
date = {},
version = {1.01},
}

Moreover, there should be a hint if the date field could not be filled.

curl in addition to wget?

Currently, ctanbib requires wget to work (#6).

What about curl in addition to (or instead of) wget? The former:

  • is easy to install on Linux (if not shipped by default),
  • is easy to install on Mac OS (AFAICS),
  • is shipped on Windows 10.

Author missing

When executing
ctanbib pgf

I get:
@Manual{pgf,
title = {The Pgf package},
subtitle = {Create PostScript and PDF graphics in TeX},
author = { and and },
url = {http://www.ctan.org/pkg/pgf},
urldate = {2019-09-14},
date = {2019-08-03},
version = {3.1.4b}
}

As you see, there are no authors… same with other packages …

CTAN version

On the current pretest version of TeXLive is the old version 0.1a which doesn't have the -c option. You should upload your version to CTAN to be sure that it will be on the upcoming TL2019.

unicode-support for author-names?

Recently I get the error, that if a name contains certain letters (e.g. ó) the scripts aborts suddenly.
This leads to entries like this (receiving information for babel and next dtxtut).

@manual{babel,
title = {The Babel package},
subtitle = {Multilingual support for Plain TeX or LaTeX},
author = {Bezos L@manual{dtxtut,
title = {The Dtxtut package},
subtitle = {Tutorial on writing .dtx and .ins files},
author = {Pakin, Scott},
url = {http://www.ctan.org/pkg/dtxtut},
urldate = {2018-10-27}, 
date = {2015-09-13},
version = {2.1}
}

or

@manual{dirtree,
title = {The Dirtree package},
subtitle = {Display trees in the style of windows explorer},
author = {Charpentier, Jean-C@manual{graphicx,
title = {The Graphicx package},
subtitle = {Enhanced support for graphics},
author = {The LaTeX Team and Carlisle, David},
url = {http://www.ctan.org/pkg/graphicx},
urldate = {2018-10-27}, 
date = {2017-06-01},
version = {1.1a}
}

or

@manual{markdown,
title = {The Markdown package},
subtitle = {A package for converting and rendering markdown documents inside TeX},
author = {Novotn

package name in lowercase

I was wondering if one could also get the package’s name in lowercase?

But local titleformat = string.lower("%s") wouldn’t work?!
Any suggestions, @michal-h21 ?

code in certain fields

consider this package information

@manual{marginnote,
title = {The Marginnote package},
subtitle = {Notes in the margin, even where \marginpar fails},
author = {Kohm, Markus},
url = {https://komascript.de/marginnote},
urldate = {2018-09-09}, 
date = {2018-08-09},
version = {1.4b}
}

It is probably not the default of your code, but is there a possibility to mask such code parts (\marginpar)? It leads to a strange appearance in the bibliography.

I know I could do that manually but I keep getting the updated list from CTAN every time so it would be overwritten then.

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.