Coder Social home page Coder Social logo

Comments (4)

YanMing-lxb avatar YanMing-lxb commented on June 12, 2024

目前测试过,如果style不设置成gb7714-2015的话,url-false 是有效的,所以很大概率是biblatex-gb7714-2015的问题

from biblatex-gb7714-2015.

YanMing-lxb avatar YanMing-lxb commented on June 12, 2024

如果删掉url = {https://kns.cnki.net/KCMS/detail/detail.aspx?dbcode=CMFD&dbname=CMFD202201&filename=1021747500.nh&v=}, 则编译后会显示 In collab. with
image

版本号:
MiKTeX 23.10.12
Biblatex 3.19
biblatex-gb7714-2015 1.1o

from biblatex-gb7714-2015.

hushidong avatar hushidong commented on June 12, 2024
  1. thesis 没有地址又有url会识别为online,所以false会失效,所以补上就好了。
  2. patent 通常不用给出地址和类型,所以去掉就行。
% !Mode:: "TeX:UTF-8"
% 用于测试gb7714-2015样式,对于作者姓名格式的控制和选项
% 测试gbnamefmt选项
% 测试bib文件中的nameformat域
\documentclass[twoside]{article}
\usepackage{ctex}
\usepackage{xcolor}
\usepackage[colorlinks]{hyperref}
\usepackage{lipsum}
\usepackage{geometry}

\usepackage[backend=biber,style=gb7714-2015,gbstrict=true,url=false,doi=false]{biblatex}

\DeclareStyleSourcemap{
    \maps[datatype=bibtex]{%
        \map[overwrite]{%
            \pertype{thesis}
            \step[fieldset=editora,null]%
            \step[fieldset=editoratype,null]%
        }
        \map[overwrite]{%
            \pertype{patent}
            \step[fieldset=holder,null]%
            \step[fieldset=type,null]%
            \step[fieldset=institution,null]%
            \step[fieldset=location, fieldvalue={}]%null有问题
        }
    }
}

\begin{filecontents}[force]{\jobname.bib}

@thesis{LuSiHong_2021,
  type = {硕士},
  title = {均温散热微小通道的结构研究},
  author = {{吕嗣鸿}},
  editora = {{王皓}},
  editoratype = {collaborator},
  date = {2021},
  location={成都},
  institution = {{电子科技大学}},
  url = {https://kns.cnki.net/KCMS/detail/detail.aspx?dbcode=CMFD&dbname=CMFD202201&filename=1021747500.nh&v=},
  language = {zh-CN}
}

@patent{LiChunQuan.ZhengYuanHao.ea_2023,
  type = {patent},
  title = {一种的微通道散热装置},
  author = {李XX and 黄XX},
  holder = {{Guilin University of Electronic Technology}},
  date = {2023-05-09},
  number = {CN143A},
  location = {{CN}},
  urldate = {2023-08-07},
  language = {zh},
}


@article{wu2018da,
  title = {Assessing River Water Quality Using Water Quality Index in {{Lake Taihu Basin}}, {{China}}},
  author = {Wu, Zhaoshi and Wang, Xiaolong and Chen, Yuwei and Cai, Yongjiu and Deng, Jiancai},
  date = {2018-01},
  journaltitle = {Science of The Total Environment},
  shortjournal = {Science of The Total Environment},
  volume = {612},
  pages = {914--922},
  issn = {00489697},
  doi = {10.1016/j.scitotenv.2017.08.293},
  urldate = {2023-07-19},
  url={10.1016/j.scitotenv.2017.08.29310.1016/j.scitotenv.2017.08.29310.1016/j.scitotenv.
  2017.08.29310.1016/j.scitotenv.2017.08.29310.1016/j.scitotenv.2017.08.293},
  langid = {english},
  extradate={1}
}

@article{wu2018d,
  title = {Assessing River Water Quality Using Water Quality Index in {{Lake Taihu Basin}}, {{China}}},
  author = {Wu, Zhaoshi and Wang, Xiaolong and Chen, Yuwei and Cai, Yongjiu and Deng, Jiancai},
  date = {2018-01},
  journaltitle = {Science of The Total Environment},
  shortjournal = {Science of The Total Environment},
  volume = {612},
  pages = {914--922},
  issn = {00489697},
  doi = {10.1016/j.scitotenv.2017.08.293},
  url={10.1016/j.scitotenv.2017.08.293},
  urldate = {2023-07-19},
  langid = {english},
  extradate={1}
}

\end{filecontents}
\addbibresource{\jobname.bib}


\begin{document}


\nocite{*}

\printbibliography




 \end{document} 

图片

from biblatex-gb7714-2015.

YanMing-lxb avatar YanMing-lxb commented on June 12, 2024

万分感谢胡老师这么细致的回复🫡,助我完美解决问题,开心!!!

from biblatex-gb7714-2015.

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.